aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-subtesthack/APKBUILD
blob: 7dc97919bc447c503a64bfb47b6c361ed04e7b0e (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.2
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="2d57b30de711692da90318d07c8d0ed1fc3cb9638780ff4499c49fbbc2c7e4bf79dd5355b34114cdf7332730c23820b18e68c50dcdda0eff061e5965d2fc7755  pytest-subtesthack-0.1.2.tar.gz"