blob: 985a46b6e6a04457912d29bfa0592c26af737a52 (
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
28
29
30
31
32
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=python-pytest-filedata
pkgver=0.4.0
pkgrel=1
pkgdesc="Easily load test data from files"
arch=('any')
url="https://github.com/20c/pytest-filedata"
license=('Apache')
depends=('python-decorator' 'python-future' 'python-requests-mock')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
optdepends=()
changelog=CHANGELOG.md
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('7c3cc9280df9f2015d9671d517884781ba75871c4775ae77863da8d8937fd127')
validpgpkeys=()
build() {
cd "pytest-filedata-$pkgver"
python setup.py build
}
check() {
cd "pytest-filedata-$pkgver"
}
package() {
export PYTHONHASHSEED=0
cd "pytest-filedata-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|