blob: a477ae6bb2119cd97e00fbb07504145c334e4d37 (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-six
_pkgname=six
pkgver=1.6.1
pkgrel=0
pkgdesc="Python 2 and 3 compatibility library"
url="http://pypi.python.org/pypi/six"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="07d606ac08595d795bf926cc9985674f six-1.6.1.tar.gz"
sha256sums="d4392a7c8d91b005c002568a85faf617c67241c8cd8399cc395e8f1005aff80d six-1.6.1.tar.gz"
sha512sums="bd925295964696dc8632eb0b9d6632f25d4b461fefceb470d2bb537e98b0db9dddf9c2abb363657451b950572e91f1ab5973d12739781823f9b845abe5061057 six-1.6.1.tar.gz"
|