~dricottone/huttese-apk

ref: 57b6e8063a41a88f9d6f89ce8a14c8ba10471bc1 huttese-apk/py3-nose/APKBUILD -rw-r--r-- 713 bytes
57b6e806 — Drew DeVault Fix up builds.sr.ht package 6 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"