17 lines
499 B
Plaintext
17 lines
499 B
Plaintext
# Description: Implementation of functools.singledispatch from Python 3.4.
|
|
# URL: https://bitbucket.org/ambv/singledispatch
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
# Depends on: setuptools
|
|
|
|
name=singledispatch
|
|
version=3.4.0.3
|
|
release=1
|
|
source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
/usr/bin/python setup.py build
|
|
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
|
}
|