ayaports/testing/py3-ipware/APKBUILD

37 lines
937 B
Text
Raw Normal View History

2023-06-14 02:13:21 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-ipware
_pyname="python-ipware"
2023-11-26 15:28:14 +00:00
pkgver=2.0.0
2023-06-14 02:13:21 +00:00
pkgrel=0
2023-08-11 19:49:05 +00:00
arch="noarch"
2023-06-14 02:13:21 +00:00
pkgdesc="A python package for server applications to retrieve client's IP address"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
2023-08-30 17:55:19 +00:00
makedepends="
py3-setuptools
py3-gpep517
py3-installer
py3-wheel
"
2023-06-14 02:13:21 +00:00
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
2023-08-30 17:55:19 +00:00
subpackages="$pkgname-pyc"
2023-06-14 02:13:21 +00:00
build() {
2023-08-30 17:55:19 +00:00
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2023-06-14 02:13:21 +00:00
}
package() {
2023-08-30 17:55:19 +00:00
python3 -m installer -d "$pkgdir" \
dist/*.whl
2023-06-14 02:13:21 +00:00
}
2023-08-30 17:55:19 +00:00
2023-06-14 02:13:21 +00:00
sha512sums="
2023-11-26 15:28:14 +00:00
43ef8aed5600f50090c691501a279bb7ef11e3592312b34acd59e8145717a8c86d6daab2e2f68860b31abb0fc5e6c0fc6dfc3923496884ef8ae961e79455562f py3-ipware-2.0.0.tar.gz
2023-06-14 02:13:21 +00:00
"