~dricottone/huttese-apk

ref: d98b3b34688f9a6457427c93aac496f60c0a05e1 huttese-apk/sr.ht/py3-nose/APKBUILD -rw-r--r-- 713 bytes
d98b3b34 — Drew DeVault Move into subdir for abuild reasons 7 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=1
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"