18 lines
431 B
Plaintext
18 lines
431 B
Plaintext
|
# Description: Python 3.4 Enum backported
|
||
|
# URL: https://pypi.python.org/pypi/enum34
|
||
|
# Packager: milisarge
|
||
|
# Depends on: python-setuptools
|
||
|
|
||
|
name=python-enum34
|
||
|
_name=enum34
|
||
|
version=1.1.2
|
||
|
release=1
|
||
|
source=(http://pypi.python.org/packages/source/e/$_name/$_name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $_name-$version
|
||
|
/usr/bin/python2 setup.py install --root=$PKG --optimize=1
|
||
|
|
||
|
rm $PKG/usr/lib/python*/site-packages/enum/{LICENSE,README}
|
||
|
}
|