~dricottone/huttese-apk

ref: aafb5dd24e70fd10818f1f25dfc0cc07ecea9191 huttese-apk/sr.ht/py3-nose/APKBUILD -rw-r--r-- 713 bytes
aafb5dd2 — Drew DeVault Add py-cairosvg 5 years ago
                                                                                
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=nose
pkgname=py3-nose
pkgver=1.3.7
pkgrel=0
pkgdesc="A discovery-based unittest extension"
url="http://readthedocs.org/docs/nose"
arch="noarch"
license="LGPL"
depends="python3"
makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/n/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
options="$options !check"

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62  nose-1.3.7.tar.gz"