fix: python package renaming
This commit is contained in:
@ -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}"
|
||||
}
|
||||
|
Reference in New Issue
Block a user