diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pytest-flakes pkgdesc = pytest plugin to check source code with pyflakes pkgver = 4.0.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/asmeurer/pytest-flakes arch = any license = MIT @@ -3,7 +3,7 @@ _base=pytest-flakes pkgname=python-${_base} pkgver=4.0.3 -pkgrel=2 +pkgrel=3 pkgdesc="pytest plugin to check source code with pyflakes" arch=('any') url="https://github.com/asmeurer/${_base}" @@ -14,8 +14,6 @@ checkdepends=(python-coverage python-pytest-pep8) source=(https://pypi.org/packages/source/${_base::1}/${_base}/${_base}-${pkgver}.tar.gz) sha512sums=('ca63d68063cf48789d86dee3707b3ea7c5076fc1f636e17f408ad6f444303fb3a701af8d1e464d49af745e350272bffe8596853a52c01baa0bdb0b6b0c0bb303') -export PYTHONPYCACHEPREFIX="${BUILDDIR}/${pkgname}/.cache/cpython/" - build() { cd "${_base}-${pkgver}" python setup.py build @@ -31,6 +29,6 @@ check() { package() { cd "${_base}-${pkgver}" export PYTHONHASHSEED=0 - python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 --skip-build + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 --skip-build install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |