17 lines
576 B
Plaintext
17 lines
576 B
Plaintext
# Description: A small library that versions your Python projects.
|
|
# URL: https://pypi.python.org/pypi/incremental
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-build python3-wheel python3-installer
|
|
|
|
name=python3-incremental
|
|
version=24.7.2
|
|
release=1
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name#*-}-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|