blob: 82664eb9580bee5fb0a748e87d0eeadbe07d80e2 (
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
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Erich Eckner <deep42thought at archlinux32 dot org>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
# Contributer: Allan McRae <allan@archlinux.org>
# heavily borrowed from python-six's PKGBUILD
pkgbase=python-six-nocheck
pkgname=('python2-six-nocheck' 'python-six-nocheck')
pkgver=1.15.0
pkgrel=3
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="https://pypi.python.org/pypi/six/"
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
sha512sums=('eb840ac17f433f1fc4af56de75cfbfe0b54e6a737bb23c453bf09a4a13d768d153e46064880dc763f4c5cc2785b78ea6d3d3b4a41fed181cb9064837e3f699a9')
build() {
cp -a six-$pkgver{,-py2}
}
package_python-six-nocheck() {
depends=('python')
provides=("python-six=$pkgver")
conflicts=('python-six')
cd six-$pkgver
python setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-six-nocheck() {
depends=('python2')
provides=("python-six=$pkgver")
conflicts=('python-six')
cd six-$pkgver-py2
python2 setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|