blob: 33c2bf1aa66694a59903ddde5dda3f22c5506f76 (
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
|
# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=py3-freezegun
_pyname=freezegun
pkgver=0.3.13
pkgrel=0
pkgdesc="Let your Python tests travel through time"
url="https://pypi.org/project/freezegun/"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-dateutil py3-six"
makedepends="py3-setuptools"
checkdepends="py3-mock py3-pytest py3-nose"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
rm -f tests/test_uuid.py
pytest-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="682f689c475ee574e7a466bfa102b96545cd8b7f095c4b5bdfda496ef667c712248db414d66c9f17fdb1a492c0deeb87a07d8b2a4128d7fdd771f89d5ea8277f freezegun-0.3.13.tar.gz"
|