aports/community/py3-habanero/APKBUILD
2023-04-19 14:25:43 +00:00

30 lines
945 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-habanero
_pkgorig=habanero
pkgver=1.2.3
pkgrel=1
pkgdesc="A low level client for working with Crossrefs search API"
url="https://github.com/sckott/habanero"
arch="noarch"
license="MIT"
options="!check" # disable due to the network tests
depends="python3 py3-requests py3-tqdm"
makedepends="py3-setuptools_scm"
checkdepends="py3-pytest py3-pytest-cov"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/h/habanero/habanero-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
ec6e4073fe811d4b4f59642906372ae32872b254f295935f60a0a98d35b4e2511b49a64a2c2b21b384bc99a5671d1a67fb8baf10b0e6755cea14af54b6f2f881 py3-habanero-1.2.3.tar.gz
"