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

View File

@ -1,16 +1,18 @@
NAME="asciidoc"
DESC="Text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs"
DESC="Text based document generation"
VERSION="10.2.0"
FILES=("https://files.pythonhosted.org/packages/source/a/asciidoc/asciidoc-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/a/asciidoc/asciidoc-${VERSION}.tar.gz")
HASHES=("ecac3af818f7a65596efc6e243b520a0")
DEPENDS=()
DEPENDS=("python3" "docbook-xsl" "libxslt")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
python3 setup.py build
python3 setup.py install --optimize=1 --root=$ROOTDIR
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -rf $NAME-$VERSION
cd .. && rm -rf "${NAME}-${VERSION}"
}