blob: 4099e39411cfc930339916343c739944eeccad1e (
plain)
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
27
|
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-subtesthack
_pyname=pytest-subtesthack
pkgver=0.2.0
pkgrel=1
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="
aac3c1f946cf7b0f91985d88b0706477b23938d30d088df2de80e6089a3503ec8171c54098fd7a271cf3b1956d21876927774896d4c95cdae4efccf5975c1d59 pytest-subtesthack-0.2.0.tar.gz
"
|