~dricottone/huttese-apk

ref: b5aa00e02462928f274d4a795a22374e29a5d0f3 huttese-apk/sr.ht/py3-atpublic/APKBUILD -rw-r--r-- 851 bytes
b5aa00e0 — Drew DeVault py3-amqp: update to 5.0.4 3 years ago
                                                                                
cb4c58b7 Drew DeVault
3cfccab4 Drew DeVault
cb4c58b7 Drew DeVault
3cfccab4 Drew DeVault
cb4c58b7 Drew DeVault
3cfccab4 Drew DeVault
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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-atpublic
_pyname=atpublic
pkgver=2.1.2
pkgrel=0
pkgdesc="@public for populating __all__"
url="https://gitlab.com/warsaw/public"
arch="noarch"
license="Apache-2.0"
makedepends="python3-dev py3-setuptools py3-pytest"
checkdepends="py3-sybil py3-pytest-cov"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-atpublic"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cfde028756f56c7ca83b91e7d8653cee4575fb581669ee02c56a08c92ae2a6c1e51db76b6def1959354d3e931418a4dd09b78236268170d8c79620477836fe08  atpublic-2.1.2.tar.gz"