fix: python package renaming

This commit is contained in:
ngn
2024-08-19 14:24:01 +03:00
parent 5254876ac8
commit 6b826d41c6
104 changed files with 465 additions and 404 deletions

3
src/pypi-pycairo/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 1.18.2
First version

18
src/pypi-pycairo/pkg.sh Normal file
View File

@ -0,0 +1,18 @@
NAME="pypi-pycairo"
DESC="PyCairo provides bindings to Cairo"
VERSION="1.18.2"
FILES=("https://github.com/pygobject/pycairo/releases/download/v${VERSION}/pycairo-${VERSION}.tar.gz")
HASHES=("be2ba51f234270dec340f28f1695a95e")
DEPENDS=("python3" "cairo")
PACKAGE() {
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -rf "${NAME}-${VERSION}"
}