diff options
author | Carlos Aznarán Laos | 2021-09-30 15:03:47 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2021-09-30 15:03:47 -0500 |
commit | cb8e53a6b79ad1a9b12a6db7e809cdb79fc604e5 (patch) | |
tree | e5fe3befbf581e91d048bd6028a14050079421c0 | |
parent | 79e758baac25cfa5f89ba9304edae5d005314a23 (diff) | |
download | aur-cb8e53a6b79ad1a9b12a6db7e809cdb79fc604e5.tar.gz |
Version bump to 0.0.20
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 12 insertions, 10 deletions
@@ -1,14 +1,14 @@ pkgbase = python-npx pkgdesc = Some useful extensions for NumPy - pkgver = 0.0.19 + pkgver = 0.0.20 pkgrel = 1 url = https://github.com/nschloe/npx arch = x86_64 - license = custom + license = custom:BSD-3-clause checkdepends = python-pytest-codeblocks makedepends = python-setuptools depends = python-numpy - source = https://github.com/nschloe/npx/archive/0.0.19.tar.gz - sha512sums = f663cff8b5e0ef614ee7bd9721182b7508ad285de4f3bba3ba2c1d22663d0cca93f44f265668738a71123f4f7a48fdb0d9a1d2e9ff8c858ae6e7d25a05808241 + source = https://github.com/nschloe/npx/archive/v0.0.20.tar.gz + sha512sums = 03e991d0539bef815ad144cbfe3582df0648f5a963e72a15332c84673ba26a180990a27c5d43a7a8744b4896fd8ced44e6e225dc6b5ece41a669fc434c122b9c pkgname = python-npx @@ -1,19 +1,18 @@ # Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Maintainer: PumpkinCheshire <me at pumpkincheshire dot top> _base=npx pkgname=python-${_base} pkgdesc="Some useful extensions for NumPy" -pkgver=0.0.19 +pkgver=0.0.20 pkgrel=1 arch=('x86_64') url="https://github.com/nschloe/${_base}" -license=('custom') +license=('custom:BSD-3-clause') depends=(python-numpy) makedepends=(python-setuptools) checkdepends=(python-pytest-codeblocks) -source=(${url}/archive/${pkgver}.tar.gz) -sha512sums=('f663cff8b5e0ef614ee7bd9721182b7508ad285de4f3bba3ba2c1d22663d0cca93f44f265668738a71123f4f7a48fdb0d9a1d2e9ff8c858ae6e7d25a05808241') - -export PYTHONPYCACHEPREFIX="${BUILDDIR}/${pkgname}/.cache/cpython/" +source=(${url}/archive/v${pkgver}.tar.gz) +sha512sums=('03e991d0539bef815ad144cbfe3582df0648f5a963e72a15332c84673ba26a180990a27c5d43a7a8744b4896fd8ced44e6e225dc6b5ece41a669fc434c122b9c') build() { cd "${_base}-${pkgver}" @@ -30,5 +29,8 @@ package() { cd "${_base}-${pkgver}" export PYTHONHASHSEED=0 python -c "from setuptools import setup; setup();" install --root="${pkgdir}" --optimize=1 --skip-build + cd "${pkgdir}/$(python -c "import site; print(site.getsitepackages()[0])")/${_base}" + rm -r "__pycache__" + cd "${srcdir}/${_base}-${pkgver}" install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |