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" 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" 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") HASHES=("ecac3af818f7a65596efc6e243b520a0")
DEPENDS=()
DEPENDS=("python3" "docbook-xsl" "libxslt")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "${NAME}-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
python3 setup.py build python3 -m build --wheel --no-isolation
python3 setup.py install --optimize=1 --root=$ROOTDIR python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -rf $NAME-$VERSION cd .. && rm -rf "${NAME}-${VERSION}"
} }

View File

@ -1,16 +0,0 @@
NAME="charset-normalizer"
DESC="Helps reading text from an unknown character encoding"
VERSION="3.0.1"
FILES=("https://files.pythonhosted.org/packages/source/c/charset-normalizer/charset-normalizer-$VERSION.tar.gz")
HASHES=("12ee1c8bedbfba84e99db46d5d94f411")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,20 +0,0 @@
NAME="docutils"
DESC="Set of Python modules and programs for processing plaintext docs into formats such as HTML, XML, or LaTeX"
VERSION="0.20.1"
FILES=("https://files.pythonhosted.org/packages/source/d/docutils/docutils-$VERSION.tar.gz")
HASHES=("93bcfe0065cf1d0b6a0bcabeca7a2335")
DEPENDS=()
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 setup.py build
python3 setup.py install --optimize=1 --root=$ROOTDIR
for f in "$ROOTDIR/usr/bin/rst"*.py; do
ln -svf "$(basename $f)" "$ROOTDIR/usr/bin/$(basename $f .py)"
done
cd .. && rm -rf $NAME-$VERSION
}

View File

@ -1,13 +1,15 @@
NAME="gdb" NAME="gdb"
DESC="GNU Project debugger" DESC="GNU Project debugger"
VERSION="13.2" VERSION="13.2"
FILES=("https://ftp.gnu.org/gnu/gdb/gdb-$VERSION.tar.xz")
FILES=("https://ftp.gnu.org/gnu/gdb/gdb-${VERSION}.tar.xz")
HASHES=("fbd3cdae16c581e8a742cb766ba35076") HASHES=("fbd3cdae16c581e8a742cb766ba35076")
DEPENDS=("guile" "gcc-libs" "six" "python3")
DEPENDS=("guile" "gcc-libs" "pypi-six" "python3")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
@ -17,12 +19,12 @@ PACKAGE() {
--with-python=/usr/bin/python3 --with-python=/usr/bin/python3
make && make -C gdb/doc doxy make && make -C gdb/doc doxy
make -C gdb DESTDIR="$ROOTDIR" install make -C gdb DESTDIR="${ROOTDIR}" install
make -C gdbserver DESTDIR="$ROOTDIR" install make -C gdbserver DESTDIR="${ROOTDIR}" install
install -d "$ROOTDIR/usr/share/doc/gdb-$VERSION" install -d "${ROOTDIR}/usr/share/doc/gdb-${VERSION}"
rm -rf gdb/doc/doxy/xml rm -rf gdb/doc/doxy/xml
cp -Rv gdb/doc/doxy "$ROOTDIR/usr/share/doc/gdb-$VERSION" cp -Rv gdb/doc/doxy "${ROOTDIR}/usr/share/doc/gdb-${VERSION}"
cd ../.. && rm -r $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,20 +1,22 @@
NAME="gtk-doc" NAME="gtk-doc"
DESC="Code documenter" DESC="Code documenter"
VERSION="1.33.2" VERSION="1.33.2"
FILES=("https://download.gnome.org/sources/gtk-doc/${VERSION%.*}/gtk-doc-$VERSION.tar.xz")
FILES=("https://download.gnome.org/sources/gtk-doc/${VERSION%.*}/gtk-doc-${VERSION}.tar.xz")
HASHES=("ea6563421abe964d02135ca0d5b8dd8e") HASHES=("ea6563421abe964d02135ca0d5b8dd8e")
DEPENDS=( DEPENDS=(
"docbook-xml" "docbook-xsl-nons" "itstool" "docbook-xml" "docbook-xsl-nons" "itstool"
"libxslt" "pygments" "libxslt" "pypi-pygments"
) )
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
autoreconf -fiv autoreconf -fiv
./configure --prefix=/usr ./configure --prefix=/usr
make && make DESTDIR="$ROOTDIR" install make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,19 +0,0 @@
NAME="hatchling"
DESC="Extensible, standards compliant build backend for python modules"
VERSION="1.12.2"
FILES=("https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-$VERSION.tar.gz")
HASHES=("5a6e2fd0c877feea7e71b9d72bbdbed9")
DEPENDS=(
"editables" "packaging" "pathspec"
"pluggy" "python3"
)
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,16 +0,0 @@
NAME="idna"
DESC="Provides support for the Internationalized Domain Names in Applications (IDNA) protocol as specified in RFC 5891"
VERSION="3.4"
FILES=("https://files.pythonhosted.org/packages/source/i/idna/idna-$VERSION.tar.gz")
HASHES=("13ea24e076212b6baae1135a116d1e0e")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

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

View File

@ -1,16 +0,0 @@
NAME="mako"
DESC="Hyperfast and lightweight templating for the Python platform"
VERSION="1.2.4"
FILES=("https://files.pythonhosted.org/packages/source/M/Mako/Mako-$VERSION.tar.gz")
HASHES=("651f365616611fcd4f2702a9002e2195")
DEPENDS=("python3")
PACKAGE() {
tar xf Mako-$VERSION.tar.gz
cd Mako-$VERSION
python3 setup.py build
python3 setup.py install --optimize=1 --root=$ROOTDIR
cd .. && rm -rf Mako-$VERSION
}

View File

@ -1,16 +1,18 @@
NAME="openbox" NAME="openbox"
DESC="Highly configurable desktop window manager with extensive standards support" DESC="Highly configurable desktop window manager with extensive standards support"
VERSION="3.6.1" VERSION="3.6.1"
FILES=("http://openbox.org/dist/openbox/openbox-$VERSION.tar.gz")
FILES=("http://openbox.org/dist/openbox/openbox-${VERSION}.tar.gz")
HASHES=("b72794996c6a3ad94634727b95f9d204") HASHES=("b72794996c6a3ad94634727b95f9d204")
DEPENDS=( DEPENDS=(
"pango" "dbus" "imlib2" "librsvg" "pango" "dbus" "imlib2" "librsvg"
"imagemagick" "pyxdg" "startup-notification" "imagemagick" "pypi-pyxdg" "startup-notification"
) )
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "${NAME}-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
2to3-3.11 -w data/autostart/openbox-xdg-autostart 2to3-3.11 -w data/autostart/openbox-xdg-autostart
sed 's/python/python3/' -i data/autostart/openbox-xdg-autostart sed 's/python/python3/' -i data/autostart/openbox-xdg-autostart
@ -18,9 +20,9 @@ PACKAGE() {
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--disable-static \ --disable-static \
--docdir=/usr/share/doc/openbox-$VERSION --docdir="/usr/share/doc/openbox-${VERSION}"
make && make DESTDIR="$ROOTDIR" install make && make DESTDIR="${ROOTDIR}" install
rm -v "$ROOTDIR/usr/share/xsessions/openbox-"{gnome,kde}.desktop rm -v "${ROOTDIR}/usr/share/xsessions/openbox-"{gnome,kde}.desktop
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "${NAME}-${VERSION}"
} }

View File

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

View File

@ -1,16 +0,0 @@
NAME="packaging"
DESC="Utilities that implement the interoperability specifications"
VERSION="23.1"
FILES=("https://files.pythonhosted.org/packages/source/p/packaging/packaging-$VERSION.tar.gz")
HASHES=("f7d5c39c6f92cc2dfa1293ba8f6c097c")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

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

View File

@ -1,16 +0,0 @@
NAME="pluggy"
DESC="Gives users the ability to extend or modify the behaviour of a host program by installing a plugin for that program"
VERSION="1.0.0"
FILES=("https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-$VERSION.tar.gz")
HASHES=("daa6fddfb6cd364f3c82e52098911e4b")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,16 +0,0 @@
NAME="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 setup.py build
python3 setup.py install --optimize=1 --root=$ROOTDIR
cd .. && rm -rf $NAME-$VERSION
}

View File

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

View File

@ -1,16 +0,0 @@
NAME="pygments"
DESC="General syntax highlighter written in Python, for more than 300 languages"
VERSION="2.16.1"
FILES=("https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-$VERSION.tar.gz")
HASHES=("20cb967029c23389253326cf515dec8a")
DEPENDS=("python3")
PACKAGE() {
tar xf Pygments-$VERSION.tar.gz
cd Pygments-$VERSION
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r Pygments-$VERSION
}

View File

@ -1,20 +1,23 @@
NAME="pygobject" NAME="pygobject"
DESC="Python bindings to the GObject class from GLib" DESC="Python bindings to the GObject class from GLib"
VERSION="3.44.1" VERSION="3.44.1"
FILES=("https://download.gnome.org/sources/pygobject/3.44/pygobject-$VERSION.tar.xz")
FILES=("https://download.gnome.org/sources/pygobject/3.44/pygobject-${VERSION}.tar.xz")
HASHES=("def9418983594c6a3330717bb640ca4d") HASHES=("def9418983594c6a3330717bb640ca4d")
DEPENDS=("gobject-introspection" "pycairo")
DEPENDS=("gobject-introspection" "pypi-pycairo")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mv -v tests/test_gdbus.py{,.nouse} mv -v tests/test_gdbus.py{,.nouse}
mkdir build mkdir build
cd build cd build
meson setup --prefix=/usr --buildtype=release .. meson setup --prefix=/usr --buildtype=release ..
ninja && DESTDIR="$ROOTDIR" ninja install ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,16 +1,19 @@
NAME="alabaster" NAME="pypi-alabaster"
DESC="Theme for the sphinx documentation system" DESC="Theme for the sphinx documentation system"
VERSION="0.7.13" VERSION="0.7.13"
FILES=("https://files.pythonhosted.org/packages/source/a/alabaster/alabaster-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/a/alabaster/alabaster-${VERSION}.tar.gz")
HASHES=("2e05a5f4fe5a8b95e5e576cbf4a5d503") HASHES=("2e05a5f4fe5a8b95e5e576cbf4a5d503")
DEPENDS=("python3") DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "alabaster-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "alabaster-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "alabaster-${VERSION}"
} }

View File

@ -1,16 +1,19 @@
NAME="babel" NAME="pypi-babel"
DESC="Integrated collection of utilities that assist in internationalizing and localizing Python applications" DESC="Integrated collection of utilities that assist in internationalizing and localizing Python applications"
VERSION="2.11.0" VERSION="2.11.0"
FILES=("https://files.pythonhosted.org/packages/source/B/Babel/Babel-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/B/Babel/Babel-${VERSION}.tar.gz")
HASHES=("9ee7784fd452d456206ecd3a12694010") HASHES=("9ee7784fd452d456206ecd3a12694010")
DEPENDS=("python3" "pytz")
DEPENDS=("python3" "pypi-pytz")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf Babel-$VERSION.tar.gz tar xf "Babel-${VERSION}.tar.gz"
cd Babel-$VERSION cd "Babel-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r Babel-$VERSION cd .. && rm -r "Babel-${VERSION}"
} }

View File

@ -0,0 +1,18 @@
NAME="pypi-charset-normalizer"
DESC="Helps reading text from an unknown character encoding"
VERSION="3.0.1"
FILES=("https://files.pythonhosted.org/packages/source/c/charset-normalizer/charset-normalizer-${VERSION}.tar.gz")
HASHES=("12ee1c8bedbfba84e99db46d5d94f411")
DEPENDS=("python3")
PACKAGE() {
tar xf "charset-normalizer-${VERSION}.tar.gz"
cd "charset-normalizer-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "charset-normalizer-${VERSION}"
}

22
src/pypi-docutils/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
NAME="pypi-docutils"
DESC="Set of Python modules and programs for processing plaintext docs into formats such as HTML, XML, or LaTeX"
VERSION="0.20.1"
FILES=("https://files.pythonhosted.org/packages/source/d/docutils/docutils-${VERSION}.tar.gz")
HASHES=("93bcfe0065cf1d0b6a0bcabeca7a2335")
DEPENDS=("python3")
PACKAGE() {
tar xf "docutils-${VERSION}.tar.gz"
cd "docutils-${VERSION}"
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
for f in "${ROOTDIR}/usr/bin/rst"*.py; do
ln -svf "$(basename $f)" "${ROOTDIR}/usr/bin/$(basename $f .py)"
done
cd .. && rm -rf "docutils-${VERSION}"
}

View File

@ -1,16 +1,19 @@
NAME="editables" NAME="pypi-editables"
DESC="Python library for creating \"editable wheels\"" DESC="Python library for creating \"editable wheels\""
VERSION="0.3" VERSION="0.3"
FILES=("https://files.pythonhosted.org/packages/source/e/editables/editables-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/e/editables/editables-${VERSION}.tar.gz")
HASHES=("e91709fbb0ef586cb7b785042068ab67") HASHES=("e91709fbb0ef586cb7b785042068ab67")
DEPENDS=("python3") DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "editables-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "editables-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "editables-${VERSION}"
} }

21
src/pypi-hatchling/pkg.sh Normal file
View File

@ -0,0 +1,21 @@
NAME="pypi-hatchling"
DESC="Extensible, standards compliant build backend for python modules"
VERSION="1.12.2"
FILES=("https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-${VERSION}.tar.gz")
HASHES=("5a6e2fd0c877feea7e71b9d72bbdbed9")
DEPENDS=(
"pypi-editables" "pypa-packaging" "pypi-pathspec"
"pypi-pluggy" "python3"
)
PACKAGE() {
tar xf "hatchling-${VERSION}.tar.gz"
cd "hatchling-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "hatchling-${VERSION}"
}

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

@ -0,0 +1,18 @@
NAME="pypi-idna"
DESC="Internationalized Domain Names for Python (IDNA 2008 and UTS #46)"
VERSION="3.4"
FILES=("https://files.pythonhosted.org/packages/source/i/idna/idna-${VERSION}.tar.gz")
HASHES=("13ea24e076212b6baae1135a116d1e0e")
DEPENDS=("python3")
PACKAGE() {
tar xf "idna-${VERSION}.tar.gz"
cd "idna-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "idna-${VERSION}"
}

View File

@ -1,16 +1,19 @@
NAME="imagesize" NAME="pypi-imagesize"
DESC="Analyzes image file headers and returns the image size and DPI" DESC="Analyzes image file headers and returns the image size and DPI"
VERSION="1.4.1" VERSION="1.4.1"
FILES=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-${VERSION}.tar.gz")
HASHES=("5a40586a25c07e1a8f16f6267252c321") HASHES=("5a40586a25c07e1a8f16f6267252c321")
DEPENDS=("python3") DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "imagesize-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "imagesize-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "imagesize-${VERSION}"
} }

5
src/pypi-mako/changes.md Normal file
View File

@ -0,0 +1,5 @@
# 1.3.2
Updated to a newer upstream release
# 1.2.4
First version

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

@ -0,0 +1,18 @@
NAME="pypi-mako"
DESC="Hyperfast and lightweight templating for the Python platform"
VERSION="1.3.2"
FILES=("https://files.pythonhosted.org/packages/source/M/Mako/Mako-${VERSION}.tar.gz")
HASHES=("0500a3df18f02c9e53fe3a9314c1a1ae")
DEPENDS=("python3")
PACKAGE() {
tar xf "Mako-${VERSION}.tar.gz"
cd "Mako-${VERSION}"
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -rf "Mako-${VERSION}"
}

View File

@ -1,16 +1,19 @@
NAME="pathspec" NAME="pypi-pathspec"
DESC="Utility library for pattern matching of file paths" DESC="Utility library for pattern matching of file paths"
VERSION="0.10.3" VERSION="0.10.3"
FILES=("https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-${VERSION}.tar.gz")
HASHES=("d89408b52aff020ac768a14c0ef1c7de") HASHES=("d89408b52aff020ac768a14c0ef1c7de")
DEPENDS=("python3") DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "pathspec-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "pathspec-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "pathspec-${VERSION}"
} }

View File

@ -0,0 +1,5 @@
# 1.4.0
Updated to a newer upstream release
# 1.0.0
First version

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

@ -0,0 +1,18 @@
NAME="pypi-pluggy"
DESC="A minimalist production ready plugin system "
VERSION="1.4.0"
FILES=("https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-${VERSION}.tar.gz")
HASHES=("ffb69741271eaeefab3f2ef2435e2d5f")
DEPENDS=("python3")
PACKAGE() {
tar xf "pluggy-${VERSION}.tar.gz"
cd "pluggy-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "pluggy-${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}"
}

View File

@ -0,0 +1,5 @@
# 2.18.0
Update to new upstream release
# 2.16.1
First version

19
src/pypi-pygments/pkg.sh Normal file
View File

@ -0,0 +1,19 @@
NAME="pypi-pygments"
DESC="General syntax highlighter written in Python, for more than 300 languages"
VERSION="2.18.0"
FILES=("https://pypi.org/packages/source/p/pygments/pygments-${VERSION}.tar.gz")
HASHES=("786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199")
DEPENDS=("python3")
BUILD=("sphinx")
PACKAGE() {
tar xf "Pygments-${VERSION}.tar.gz"
cd "Pygments-${VERSION}"
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "Pygments-${VERSION}"
}

19
src/pypi-pytz/pkg.sh Normal file
View File

@ -0,0 +1,19 @@
NAME="pypi-pytz"
DESC="Brings the IANA tz database into Python"
VERSION="2024.1"
FILES=("https://files.pythonhosted.org/packages/source/p/pytz/pytz-${VERSION}.tar.gz")
HASHES=("b26bb090d1fe96064019bf7068eeb801")
DEPENDS=("python3")
BUILD=()
PACKAGE() {
tar xf "pytz-${VERSION}.tar.gz"
cd "pytz-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "pytz-${VERSION}"
}

View File

@ -1,16 +1,19 @@
NAME="pyxdg" NAME="pypi-pyxdg"
DESC="Python library to access freedesktop.org standards" DESC="Python library to access freedesktop.org standards"
VERSION="0.28" VERSION="0.28"
FILES=("https://files.pythonhosted.org/packages/b0/25/7998cd2dec731acbd438fbf91bc619603fc5188de0a9a17699a781840452/pyxdg-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/b0/25/7998cd2dec731acbd438fbf91bc619603fc5188de0a9a17699a781840452/pyxdg-${VERSION}.tar.gz")
HASHES=("d9a1d04fe60c956f5e3b9de3b4ef4722") HASHES=("d9a1d04fe60c956f5e3b9de3b4ef4722")
DEPENDS=("python3") DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "pyxdg-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "pyxdg-${VERSION}"
python3 -m build --wheel --no-isolation python3 -m build --wheel --no-isolation
python3 -m installer --destdir="$ROOTDIR" dist/*.whl python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "pyxdg-${VERSION}"
} }

29
src/pypi-requests/pkg.sh Normal file
View File

@ -0,0 +1,29 @@
NAME="pypi-requests"
DESC="Elegant and simple HTTP library for Python"
VERSION="2.31.0"
FILES=(
"https://files.pythonhosted.org/packages/source/r/requests/requests-${VERSION}.tar.gz"
"requests-${VERSION}-use_system_certs-1.patch"
)
HASHES=(
"941e175c276cd7d39d098092c56679a4"
"ec8a2cc4f3f7a0df4ed5f576367017010276c59d57260ac7b0060238b2324904"
)
DEPENDS=(
"pypi-urllib3" "pypi-idna" "pypi-charset-normalizer"
"python3" "make-ca" "p11-kit"
)
BUILD=()
PACKAGE() {
tar xf "requests-${VERSION}.tar.gz"
cd "requests-${VERSION}"
patch -Np1 -i "../requests-${VERSION}-use_system_certs-1.patch"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "requests-${VERSION}"
}

View File

@ -1,16 +1,19 @@
NAME="six" NAME="pypi-six"
DESC="Python 2 to 3 compatibility library" DESC="Python 2 to 3 compatibility library"
VERSION="1.16.0" VERSION="1.16.0"
FILES=("https://files.pythonhosted.org/packages/source/s/six/six-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/s/six/six-${VERSION}.tar.gz")
HASHES=("a7c927740e4964dd29b72cebfc1429bb") HASHES=("a7c927740e4964dd29b72cebfc1429bb")
DEPENDS=()
DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "six-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "six-${VERSION}"
python3 -m build --wheel --no-isolation python3 -m build --wheel --no-isolation
python3 -m installer --destdir="$ROOTDIR" dist/*.whl python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "six-${VERSION}"
} }

View File

@ -1,16 +1,19 @@
NAME="snowballstemmer" NAME="pypi-snowballstemmer"
DESC="Small string processing language for creating stemming algorithms for use in Information Retrieval" DESC="Small string processing language for creating stemming algorithms for use in Information Retrieval"
VERSION="2.2.0" VERSION="2.2.0"
FILES=("https://files.pythonhosted.org/packages/source/s/snowballstemmer/snowballstemmer-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/s/snowballstemmer/snowballstemmer-${VERSION}.tar.gz")
HASHES=("4332ddc7bbee0f344a03915b2ad59a54") HASHES=("4332ddc7bbee0f344a03915b2ad59a54")
DEPENDS=("python3") DEPENDS=("python3")
BUILD=()
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "snowballstemmer-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "snowballstemmer-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "snowballstemmer-${VERSION}"
} }

View File

@ -0,0 +1,18 @@
NAME="pypi-sphinxcontrib-applehelp"
DESC="Sphinx extension which outputs Apple help books"
VERSION="1.0.4"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib-applehelp-${VERSION}.tar.gz")
HASHES=("8d52173d3d5c7bd9c0e3da26cd217916")
DEPENDS=("python3")
PACKAGE() {
tar xf "sphinxcontrib-applehelp-${VERSION}.tar.gz"
cd "sphinxcontrib-applehelp-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "sphinxcontrib-applehelp-${VERSION}"
}

View File

@ -0,0 +1,18 @@
NAME="pypi-sphinxcontrib-devhelp"
DESC="Sphinx extension which outputs Devhelp documents"
VERSION="1.0.2"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib-devhelp-${VERSION}.tar.gz")
HASHES=("94069c5cdb5079c445f5477fa6107016")
DEPENDS=("python3")
PACKAGE() {
tar xf "sphinxcontrib-devhelp-${VERSION}.tar.gz"
cd "sphinxcontrib-devhelp-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "sphinxcontrib-devhelp-${VERSION}"
}

View File

@ -0,0 +1,18 @@
NAME="pypi-sphinxcontrib-htmlhelp"
DESC="Sphinx extension which renders HTML help files"
VERSION="2.0.1"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-${VERSION}.tar.gz")
HASHES=("e85e6970dc25fbf5fd0f4fa66b897fab")
DEPENDS=("python3")
PACKAGE() {
tar xf "sphinxcontrib-htmlhelp-${VERSION}.tar.gz"
cd "sphinxcontrib-htmlhelp-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "sphinxcontrib-htmlhelp-${VERSION}"
}

View File

@ -0,0 +1,18 @@
NAME="pypi-sphinxcontrib-jsmath"
DESC="Sphinx extension which renders display math in HTML via JavaScript"
VERSION="1.0.1"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-jsmath/sphinxcontrib-jsmath-${VERSION}.tar.gz")
HASHES=("e45179f0a3608b6766862e0f34c23b62")
DEPENDS=("python3")
PACKAGE() {
tar xf "sphinxcontrib-jsmath-${VERSION}.tar.gz"
cd "sphinxcontrib-jsmath-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "sphinxcontrib-jsmath-${VERSION}"
}

View File

@ -0,0 +1,18 @@
NAME="pypi-sphinxcontrib-qthelp"
DESC="Sphinx extension which outputs QtHelp documents"
VERSION="1.0.3"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib-qthelp-${VERSION}.tar.gz")
HASHES=("93216721f3e154cce12d1e9c3307b415")
DEPENDS=("python3")
PACKAGE() {
tar xf "sphinxcontrib-qthelp-${VERSION}.tar.gz"
cd "sphinxcontrib-qthelp-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "sphinxcontrib-qthelp-${VERSION}"
}

View File

@ -0,0 +1,18 @@
NAME="pypi-sphinxcontrib-serializinghtml"
DESC="Sphinx extension which outputs \"serialized\" HTML files (json and pickle)"
VERSION="1.1.9"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-${VERSION}.tar.gz")
HASHES=("84957dfa6d85d2e509181281082c11ee")
DEPENDS=("python3")
PACKAGE() {
tar xf "sphinxcontrib-serializinghtml-${VERSION}.tar.gz"
cd "sphinxcontrib-serializinghtml-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "sphinxcontrib-serializinghtml-${VERSION}"
}

View File

@ -1,16 +1,18 @@
NAME="urllib3" NAME="pypi-urllib3"
DESC="Powerful, user-friendly HTTP client for Python" DESC="Powerful, user-friendly HTTP client for Python"
VERSION="2.0.2" VERSION="2.0.2"
FILES=("https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-$VERSION.tar.gz")
FILES=("https://files.pythonhosted.org/packages/source/u/urllib3/urllib3-${VERSION}.tar.gz")
HASHES=("92d23af401c19da3daec9934f60c8575") HASHES=("92d23af401c19da3daec9934f60c8575")
DEPENDS=("hatchling")
DEPENDS=("python3" "pypi-hatchling")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "urllib3-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "urllib3-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "urllib3-${VERSION}"
} }

View File

@ -1,16 +0,0 @@
NAME="pytz"
DESC="Brings the IANA tz database into Python"
VERSION="2022.7.1"
FILES=("https://files.pythonhosted.org/packages/source/p/pytz/pytz-$VERSION.tar.gz")
HASHES=("5acd981a81dcdc6aadddf4d7e5116b98")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,26 +0,0 @@
NAME="requests"
DESC="Elegant and simple HTTP library for Python"
VERSION="2.31.0"
FILES=(
"https://files.pythonhosted.org/packages/source/r/requests/requests-$VERSION.tar.gz"
"requests-$VERSION-use_system_certs-1.patch"
)
HASHES=(
"941e175c276cd7d39d098092c56679a4"
"ec8a2cc4f3f7a0df4ed5f576367017010276c59d57260ac7b0060238b2324904"
)
DEPENDS=(
"make-ca" "p11-kit" "urllib3"
"idna" "charset-normalizer" "python3"
)
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
patch -Np1 -i ../requests-$VERSION-use_system_certs-1.patch
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,22 +1,23 @@
NAME="sphinx" NAME="sphinx"
DESC="Set of tools for translating some structured text formats into pretty documentation in various formats" DESC="Set of tools for translating some structured text formats into pretty documentation in various formats"
VERSION="7.1.2" VERSION="7.1.2"
FILES=("https://github.com/sphinx-doc/sphinx/archive/v$VERSION/sphinx-$VERSION.tar.gz") FILES=("https://github.com/sphinx-doc/sphinx/archive/v${VERSION}/sphinx-${VERSION}.tar.gz")
HASHES=("ae8427a2035ebd4359c3df8f5436c4b9") HASHES=("ae8427a2035ebd4359c3df8f5436c4b9")
DEPENDS=( DEPENDS=(
"alabaster" "babel" "docutils" "pypi-alabaster" "pypi-babel" "pypi-docutils"
"imagesize" "packaging" "pygments" "pypi-imagesize" "pypa-packaging" "pypi-pygments"
"requests" "snowballstemmer" "sphinxcontrib-applehelp" "pypi-requests" "pypi-snowballstemmer"
"sphinxcontrib-devhelp" "sphinxcontrib-htmlhelp" "sphinxcontrib-jsmath"
"sphinxcontrib-qthelp" "sphinxcontrib-serializinghtml" "pypi-sphinxcontrib-applehelp" "pypi-sphinxcontrib-devhelp" "pypi-sphinxcontrib-htmlhelp"
"pypi-sphinxcontrib-jsmath" "pypi-sphinxcontrib-qthelp" "pypi-sphinxcontrib-serializinghtml"
) )
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "${NAME}-${VERSION}.tar.gz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r $NAME-$VERSION cd .. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,16 +0,0 @@
NAME="sphinxcontrib-applehelp"
DESC="Sphinx extension which outputs Apple help books"
VERSION="1.0.4"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib-applehelp-$VERSION.tar.gz")
HASHES=("8d52173d3d5c7bd9c0e3da26cd217916")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,16 +0,0 @@
NAME="sphinxcontrib-devhelp"
DESC="Sphinx extension which outputs Devhelp documents"
VERSION="1.0.2"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib-devhelp-$VERSION.tar.gz")
HASHES=("94069c5cdb5079c445f5477fa6107016")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

View File

@ -1,16 +0,0 @@
NAME="sphinxcontrib-htmlhelp"
DESC="Sphinx extension which renders HTML help files"
VERSION="2.0.1"
FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-$VERSION.tar.gz")
HASHES=("e85e6970dc25fbf5fd0f4fa66b897fab")
DEPENDS=("python3")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="$ROOTDIR" dist/*.whl
cd .. && rm -r $NAME-$VERSION
}

Some files were not shown because too many files have changed in this diff Show More