[arch-commits] Commit in python-wheezy-template/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Nov 10 21:18:31 UTC 2021
Date: Wednesday, November 10, 2021 @ 21:18:31
Author: arojas
Revision: 1040409
Rebuild
Modified:
python-wheezy-template/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-10 21:17:48 UTC (rev 1040408)
+++ PKGBUILD 2021-11-10 21:18:31 UTC (rev 1040409)
@@ -3,7 +3,7 @@
_pkgname=wheezy.template
pkgname=python-wheezy-template
pkgver=3.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="lightweight template library"
arch=('x86_64')
url="https://github.com/akornatskyy/${_pkgname}"
@@ -17,19 +17,19 @@
b2sums=('6cbaa6e5656a0b3bf417ed500770c97f2207f97822ccdf624c87cb0f3c0d2fa3b1a2269641325c6d6138568aeff3bcc417e6e4896186e2fe7c1b31a15e2d7365')
build() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py build
}
check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
PYTHONPATH="$PWD/src" pytest --import-mode=importlib
}
package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
More information about the arch-commits
mailing list