diff options
author | mschubert | 2023-03-12 10:30:10 +0100 |
---|---|---|
committer | mschubert | 2023-03-12 10:30:10 +0100 |
commit | aeaf064f8a7c1427139fb2fb220122e0e336d90d (patch) | |
tree | 89317d19e9e08a9b77314be64d2ef2c3b5e7cbc7 /PKGBUILD | |
parent | 3c287ada22a7c2405e0d26014c516c6cf3f25901 (diff) | |
download | aur-python-bioservices.tar.gz |
version bump 1.11.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,24 +1,25 @@ # Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs pkgname=python-bioservices -_pkgname=${pkgname#python-} -pkgver=1.11.1 +_name=${pkgname#python-} +pkgver=1.11.2 pkgrel=1 pkgdesc="Access Bioinformatices Web Services and framework for WSDL/SOAP and REST wrappers" arch=('any') license=('GPL') url="https://github.com/cokelaer/bioservices" +makedepends=(python-build python-installer python-wheel) depends=('python-easydev>=0.9.36' 'python-beautifulsoup4' 'python-pandas' 'python-colorlog' 'python-grequests' 'python-requests-cache' 'python-xmltodict' 'python-suds') -source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz) -sha256sums=('d3d20891644a14e5f5148e1395fe873e7d7b31d9e10e7f5d56cb2e8cb4bacd23') +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('31baaab4ab813b93f79995ba8cad431a16cbee99e1b0c6f9e419dd4be0c73a9e') build() { - cd "$srcdir/$_pkgname-$pkgver" - python setup.py build + cd "$_name-$pkgver" + python -m build --wheel --no-isolation } package() { - cd "$srcdir/$_pkgname-$pkgver" - python setup.py install --skip-build --root="$pkgdir" --optimize=1 + cd "$_name-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl } |