blob: 3f9d42f1af8708c2d53920ebf2cf33bf47be34fd (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-enum34
pkgver=1.0
pkgrel=0
pkgdesc="Python 3.4 Enum backported"
url="http://pypi.python.org/pypi/enum34"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/e/enum34/enum34-$pkgver.tar.gz"
_builddir="$srcdir"/enum34-$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="9d57f5454c70c11707998ea26c1b0a7c enum34-1.0.tar.gz"
sha256sums="384b593703b057e0b19d90ff62844b1c8796da2e6bd9957d6ce9119bdeade635 enum34-1.0.tar.gz"
sha512sums="8eefcb42449927e419c87016d534b1fb335a85daa49c7ae3cc4549bc92dbb6d1a02158542a8cba1fbff4bbad2c4830c6f465b13e8d5ec6d2aae5752efecdf1d3 enum34-1.0.tar.gz"
|