contrib/python-incremental/Pkgfile

16 lines
497 B
Plaintext
Raw Normal View History

2017-11-05 12:10:24 +01:00
# Description: A small library that versions your Python projects.
# URL: https://pypi.python.org/pypi/incremental
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python-setuptools
name=python-incremental
version=17.5.0
release=1
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python setup.py build
/usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1
}