ayaports/testing/py3-goodreads/APKBUILD

41 lines
951 B
Text
Raw Normal View History

2023-01-10 19:16:39 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
pkgname=py3-goodreads
2023-01-10 19:16:39 +00:00
_pkgname=goodreads
2021-11-30 21:44:44 +00:00
pkgver=0.3.2
pkgrel=1
pkgdesc="Python wrapper for Goodreads API"
2021-11-30 21:44:44 +00:00
url="https://pypi.python.org/pypi/Goodreads"
2023-08-30 17:55:12 +00:00
license="MIT"
arch="noarch"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
python3-dev
py3-xmltodict
py3-requests
py3-rauth
"
2023-01-10 19:16:39 +00:00
source="$_pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/$_pkgname-$pkgver
2023-08-30 17:55:12 +00:00
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
build() {
2023-08-30 17:55:12 +00:00
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2021-11-30 21:44:44 +00:00
}
package() {
2023-08-30 17:55:12 +00:00
python3 -m installer -d "$pkgdir" \
dist/*.whl
2021-11-30 21:44:44 +00:00
}
2023-08-30 17:55:12 +00:00
2023-01-10 19:16:39 +00:00
sha512sums="
2c1f7be226bbbac3d60247a5dddc06c48ad1d72790e4ce61c8c369100358965926422958563f153661b91b561414e4b573b95098808cc25ac5c7e6edfc46e344 goodreads-0.3.2.tar.gz
"