aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-python-ipware/APKBUILD
blob: 852c48f5115a377efadc23612f29b35f54d1f418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-python-ipware
_pyname="python-ipware"
pkgver=2.0.3
pkgrel=0
arch="noarch"
pkgdesc="A python package for server applications to retrieve client's IP address"
url="https://pypi.python.org/project/python-ipware"
license="MIT"
makedepends="
	py3-setuptools
	py3-gpep517
	py3-wheel
	"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/p/python-ipware/python-ipware-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
7ecf87af3eb266c6b07dd4c55487bf06507f79788f26d100b71b46017746f810370bfe8200e9bb15618f4b37d63a29e93c311e360b4ea00df020427819b3a42c  py3-python-ipware-2.0.3.tar.gz
"