contrib/python3-incremental/Pkgfile

16 lines
502 B
Plaintext
Raw Normal View History

2017-11-05 12:11:46 +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: python3-setuptools
name=python3-incremental
2022-10-15 14:04:51 +02:00
version=22.10.0
2017-11-05 12:11:46 +01:00
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}