[arch-commits] Commit in python-doit/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Sep 22 08:27:39 UTC 2021
Date: Wednesday, September 22, 2021 @ 08:27:39
Author: dvzrv
Revision: 1021371
upgpkg: python-doit 0.33.1-4: Rebuild to apply python package guidelines.
Add note about why python-setuptools is required during runtime.
Simplify installation in package() to adhere to python packaging guidelines.
Modified:
python-doit/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-22 08:20:27 UTC (rev 1021370)
+++ PKGBUILD 2021-09-22 08:27:39 UTC (rev 1021371)
@@ -3,11 +3,12 @@
_name=doit
pkgname=python-doit
pkgver=0.33.1
-pkgrel=3
+pkgrel=4
pkgdesc="A task management and automation tool"
arch=('any')
url="https://pydoit.org/"
license=('MIT')
+# python-setuptools (pkg_resources) is used for plugin package discovery
depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
checkdepends=('python-doit-py' 'python-pyflakes' 'python-pytest')
optdepends=('bash-completion: autocomplete for bash'
@@ -33,9 +34,7 @@
package() {
cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
+ python setup.py install --optimize=1 --root="${pkgdir}"
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -vDm 644 {AUTHORS,CHANGES,CONTRIBUTING.md,README.rst} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
More information about the arch-commits
mailing list