[arch-commits] Commit in nikola/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Sep 21 19:23:28 UTC 2021
Date: Tuesday, September 21, 2021 @ 19:23:27
Author: dvzrv
Revision: 1020762
upgpkg: nikola 8.1.3-2: Rebuild to apply python package guidelines.
Add note about python-setuptools being required due to the use of pkg_resources.
Simplify installation in package() to adhere to python packaging guidelines.
Modified:
nikola/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-21 19:23:04 UTC (rev 1020761)
+++ PKGBUILD 2021-09-21 19:23:27 UTC (rev 1020762)
@@ -3,11 +3,12 @@
_name=Nikola
pkgname=nikola
pkgver=8.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="A static site and blog generator"
arch=('any')
url="https://getnikola.com/"
license=('MIT')
+# still requires python-setuptools due to the use of pkg_resources
depends=('python-babel' 'python-blinker' 'python-doit' 'python-dateutil'
'python-docutils' 'python-logbook' 'python-lxml' 'python-mako'
'python-markdown' 'python-natsort' 'python-piexif' 'python-pillow'
@@ -74,9 +75,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.txt \
-t "${pkgdir}/usr/share/licenses/${pkgname}"
install -vDm 644 {AUTHORS,CHANGES}.txt {CONTRIBUTING,README}.rst \
More information about the arch-commits
mailing list