~dricottone/huttese-apk

ref: 4bbaacb863e59dee26ad09e129e623209fd7fe93 huttese-apk/sr.ht/py3-case/APKBUILD -rw-r--r-- 749 bytes
4bbaacb8 — Simon Ser soju: upgrade 2 years ago
                                                                                
1702be43 Drew DeVault
413df156 Drew DeVault
1702be43 Drew DeVault
9cdf2ad0 Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
1702be43 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-case
_pyname=case
pkgver=1.5.3
pkgrel=0
pkgdesc="Ptyhon unit testing utilities"
url="https://github.com/celery/case"
arch="noarch"
license="BSD"
depends="python3 py3-six"
checkdepends="py3-nose"
makedepends="py3-setuptools"
_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() {
	nosetests
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="ae98a571c282f80c685c42ab1dc578847fe88cf8cd07faff505a8df8e3282a602908a8780ab88b36851e3ee6f3c178405e5c50776fd0f49fcc990087575f2958  case-1.5.3.tar.gz"