aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-subtesthack/APKBUILD
blob: eff80d2956e6e59d329e383885dd58bd0211e631 (plain) (blame)
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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-subtesthack
_pyname=pytest-subtesthack
pkgver=0.1.1
pkgrel=0
pkgdesc="Explicitly set up and tear down fixtures"
url="https://github.com/untitaker/pytest-subtesthack"
arch="noarch"
license="Unlicense"
options="!check"  # no tests
depends="python3 py3-pytest"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="950bbcbec45581902e3f5c192b2b65216aef8e2a487269722857036e7ee13428cb0cdc0be111e234bcf23db7e5f8a7b18da28a39e726c043b6813eb021f91a96  pytest-subtesthack-0.1.1.tar.gz"