[arch-commits] Commit in python-bcj-cffi/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Nov 10 20:46:28 UTC 2021
Date: Wednesday, November 10, 2021 @ 20:46:28
Author: arojas
Revision: 1040317
Rebuild
Modified:
python-bcj-cffi/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-10 20:45:41 UTC (rev 1040316)
+++ PKGBUILD 2021-11-10 20:46:28 UTC (rev 1040317)
@@ -3,7 +3,7 @@
_pkgname=bcj-cffi
pkgname=python-bcj-cffi
pkgver=0.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="BCJ(Branch-Call-Jump) filter for python"
arch=('x86_64')
url="https://github.com/miurahr/${_pkgname}"
@@ -16,7 +16,7 @@
b2sums=('f31161555597c477b052ad42ac42642b97788c3eb6a22cc48872429456a8665c9b810910a2a1f84c99a40135c17f7bbe0829115643f7d495d2d52cfc6c7a50b5')
prepare() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
# thou shalt not force coverage reports on innocent unittest users
sed -i '/^addopts/d' tox.ini
@@ -23,13 +23,13 @@
}
build(){
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py build
}
check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
pythonpaths=("$PWD/build/lib.linux-$CARCH"-3*)
PYTHONPATH="${pythonpaths[0]}" pytest -rsx
@@ -36,7 +36,7 @@
}
package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list