~dricottone/huttese-apk

ref: 4eedc671bd69fbfd09b830e327188ebe28f85de2 huttese-apk/sr.ht/py3-deprecated/APKBUILD -rw-r--r-- 815 bytes
4eedc671 — Drew DeVault py3-cssselect2: upgrade to 0.3.0 4 years ago
                                                                                
f9216d16 Drew DeVault
24ee36c4 Drew DeVault
f9216d16 Drew DeVault
bce3c53b Drew DeVault
f9216d16 Drew DeVault
24ee36c4 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-deprecated
_pyname=Deprecated
pkgver=1.2.7
pkgrel=0
pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
url="https://github.com/tantale/deprecated"
arch="noarch"
license="MIT"
depends="python3 py3-wrapt"
checkdepends="py3-pytest"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="c76d4197f96537bb456edc4d47b6ad795317c6535058586e659688a7cb8226c3926b9de3b64545cdf805cd90d6fa620885845629c0d83182b49de08c97f68bc3  Deprecated-1.2.7.tar.gz"