contrib/python3-incremental/Pkgfile

17 lines
505 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
2023-08-13 09:17:07 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2017-11-05 12:11:46 +01:00
# 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() {
2023-08-13 09:17:07 +02:00
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
2017-11-05 12:11:46 +01:00
}