blob: 2ed8720ca122e0ccbb347e596b730ac1173e3aeb (
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: Drew DeVault <sir@cmpwn.com>
pkgname=py3-six
_pkgname=six
pkgver=1.16.0
pkgrel=4
pkgdesc="Python 2 and 3 compatibility library"
url="https://pypi.python.org/pypi/six"
arch="noarch"
license="MIT"
depends="python3"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-six" # Backwards compatibility
provides="py-six=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 -m pytest -rfsxX
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
630179b9994e10573225dcfa4ff7a40449a58bbe57ccff06434fa40ded10c6e3e1d72a230860a8e6c839c7c17357aca9e1f38aede9566782339331eef65fed3a py3-six-1.16.0.tar.gz
"
|