~dricottone/huttese-apk

ref: 810a2724a8a0be6f06e96c23c42cb95e2626dc3c huttese-apk/sr.ht/py3-nose/APKBUILD -rw-r--r-- 713 bytes
810a2724 — Drew DeVault Update submit-builds 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"