fix: python package renaming
This commit is contained in:
3
src/pypi-pycairo/.gitignore
vendored
Normal file
3
src/pypi-pycairo/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/pypi-pycairo/changes.md
Normal file
2
src/pypi-pycairo/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.18.2
|
||||
First version
|
18
src/pypi-pycairo/pkg.sh
Normal file
18
src/pypi-pycairo/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user