diff options
author | Erich Eckner <git@eckner.net> | 2021-07-12 06:04:25 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-07-12 06:04:25 +0200 |
commit | 52356bc535b6b7d4ab366c08c68fde6e5c5bae1a (patch) | |
tree | 22b453019c14d22b7e594dc3f35188aa78df3dbd /python-asteval | |
parent | 652bcbd65fd2ee2ef5e0bb63ec8168e06190d07a (diff) | |
download | archlinuxewe-52356bc535b6b7d4ab366c08c68fde6e5c5bae1a.tar.xz |
python-asteval: 0.9.23-1 -> 0.9.25-1
Diffstat (limited to 'python-asteval')
-rw-r--r-- | python-asteval/PKGBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/python-asteval/PKGBUILD b/python-asteval/PKGBUILD index e6d33b93b..6c123ef02 100644 --- a/python-asteval/PKGBUILD +++ b/python-asteval/PKGBUILD @@ -3,14 +3,13 @@ pkgname='python-asteval' _pkgname="${pkgname#*-}" -pkgver=0.9.23 +pkgver=0.9.25 pkgrel=1 pkgdesc='Minimal Python AST Evaluator' arch=('any') url='https://newville.github.io/asteval/' license=('MIT') depends=( - 'python<3.10' 'python>=3.9') checkdepends=( @@ -19,20 +18,20 @@ checkdepends=( makedepends=( 'python-setuptools') source=( - "${_pkgname}-${pkgver}.tar.gz::https://github.com/newville/${_pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('972ae475b7c2225953efef7dcacc441a887d5311d8482ee43b49aa7906a241f3f186f4f49a272623e04c42b6a5adfc6335036f4157a1947510973912cd255ee4') + "git+https://github.com/newville/${_pkgname}?commit=${pkgver}") +sha512sums=('SKIP') build() { - cd "$srcdir/${_pkgname}-$pkgver" + cd "$srcdir/${_pkgname}" python setup.py build } check() { - cd "$srcdir/${_pkgname}-$pkgver" + cd "$srcdir/${_pkgname}" nosetests3 tests } package(){ - cd "$srcdir/${_pkgname}-$pkgver" + cd "$srcdir/${_pkgname}" python setup.py install --root="$pkgdir/" --optimize=1 } |