forked from ports/contrib
17 lines
551 B
Plaintext
17 lines
551 B
Plaintext
# Description: Versioning It with your Version In Git
|
|
# URL: https://github.com/jwodder/versioningit
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python3-build python3-installer
|
|
|
|
name=python3-versioningit
|
|
version=2.1.0
|
|
release=1
|
|
source=(https://github.com/jwodder/versioningit/releases/download/v$version/versioningit-$version.tar.gz)
|
|
|
|
build() {
|
|
cd versioningit-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|