blob: 38544f1b29d2e541f85ee96a48184fb649c393f4 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-venusian
_pkgname=venusian
pkgver=1.2.0
pkgrel=3
pkgdesc="A Python library for deferring decorator actions"
url="https://pypi.python.org/pypi/venusian"
arch="noarch"
license="BSD-4-Clause"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-venusian" # Backwards compatibility
provides="py-venusian=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b305850e3a32a2591413386d01af63927d9ae2be1db579d3c12396d4e367ae61cd4b1c8697459646e84ca9affded00f62553156193e9eecfdc39a3c8a5ec0cca venusian-1.2.0.tar.gz"
|