blob: 0e8986b7ae5811a7eac472401d64946cd250fe0c (
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
|
# Contributer: Allan McRae <allan@archlinux.org>
# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
pkgbase=python-six
pkgname=('python2-six')
pkgver=1.6.1
pkgrel=2
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="http://pypi.python.org/pypi/six/"
license=('MIT')
makedepends=('python2')
source=(http://pypi.python.org/packages/source/s/six/six-$pkgver.tar.gz)
md5sums=('07d606ac08595d795bf926cc9985674f')
build() {
cd $srcdir
cp -r six-$pkgver six2-$pkgver
}
check() {
# cd $srcdir/six-$pkgver
# python3 setup.py check
cd $srcdir/six2-$pkgver
python2 setup.py check
}
#package_python-six() {
# depends=('python')
# cd $srcdir/six-$pkgver
# python3 setup.py install --root "${pkgdir}" --optimize=1
# install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
#}
package_python2-six() {
depends=('python2')
cd $srcdir/six2-$pkgver
python2 setup.py install --root "${pkgdir}" --optimize=1
install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|