[arch-commits] Commit in python-lazr.delegates/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Sep 22 17:02:15 UTC 2021
Date: Wednesday, September 22, 2021 @ 17:02:14
Author: dvzrv
Revision: 1021643
upgpkg: python-lazr.delegates 2.0.4-6: Rebuild to apply python package guidelines.
Add note about why python-setuptools is needed as dependency.
Simplify installation in package() to adhere to python packaging guidelines.
Modified:
python-lazr.delegates/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-22 16:58:56 UTC (rev 1021642)
+++ PKGBUILD 2021-09-22 17:02:14 UTC (rev 1021643)
@@ -3,11 +3,12 @@
_name=lazr.delegates
pkgname=python-lazr.delegates
pkgver=2.0.4
-pkgrel=5
+pkgrel=6
pkgdesc="Easily write objects that delegate behavior"
arch=('any')
url="https://launchpad.net/lazr.delegates"
license=('GPL')
+# pkg_resources is used to declare namespaces
depends=('python-nose' 'python-setuptools' 'python-zope-interface')
checkdepends=('python-pytest')
provides=('python-lazr-delegates')
@@ -34,9 +35,6 @@
package() {
cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
+ python setup.py install --optimize=1 --root="${pkgdir}"
install -vDm 644 {HACKING,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list