diff --git a/sign-dist.sh b/sign-dist.sh new file mode 100755 index 0000000..2d05017 --- /dev/null +++ b/sign-dist.sh @@ -0,0 +1,4 @@ +#!/bin/bash +for f in dist/*.mpf; do + gpg --yes --detach-sign $f +done diff --git a/src/brotli/pkg.sh b/src/brotli/pkg.sh index efec083..9387538 100644 --- a/src/brotli/pkg.sh +++ b/src/brotli/pkg.sh @@ -11,7 +11,7 @@ HASHES=("3a6a3dba82a3604792d3cb0bd41bca60") DEPENDS=("glibc" "python3") BUILD=( "cmake" "pypa-build" "pypa-installer" - "pypa-setuptools" "pypa-wheel" + "pypa-wheel" ) PACKAGE(){ diff --git a/src/build-essential/pkg.sh b/src/build-essential/pkg.sh index 2da8b5d..de8c772 100644 --- a/src/build-essential/pkg.sh +++ b/src/build-essential/pkg.sh @@ -11,7 +11,7 @@ HASHES=() DEPENDS=( "glibc" "gcc" "make" "python3" "perl" "cmake" "pypa-wheel" "pypa-installer" - "pypa-build" "pypa-setuptools" + "pypa-build" "pypa-packaging" "pypi-flit-core" ) BUILD=() diff --git a/src/pypa-build/.gitignore b/src/pypa-build/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pypa-build/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pypa-build/changes.md b/src/pypa-build/changes.md new file mode 100644 index 0000000..95d3fa2 --- /dev/null +++ b/src/pypa-build/changes.md @@ -0,0 +1,2 @@ +# 1.2.1 +First version diff --git a/src/pypa-build/pkg.sh b/src/pypa-build/pkg.sh new file mode 100644 index 0000000..0980b4b --- /dev/null +++ b/src/pypa-build/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="pypa-build" +DESC="Simple and correct python build frontend" +VERSION="1.2.1" + +# required files +FILES=("https://github.com/pypa/build/archive/refs/tags/${VERSION}.tar.gz") +HASHES=("571fbbcd187eed0e7af47dd49e8f25ab22fb9cfbde5ed1daea67c5187dad9df6") + +# install and build depends +DEPENDS=("python3" "pypa-packaging") +BUILD=() + +PACKAGE(){ + tar xf "${VERSION}.tar.gz" + cd "build-${VERSION}" + + python3 -m build --wheel --skip-dependency-check --no-isolation + PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + + cd .. && rm -r "build-${VERSION}" +} diff --git a/src/pypa-installer/.gitignore b/src/pypa-installer/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pypa-installer/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pypa-installer/changes.md b/src/pypa-installer/changes.md new file mode 100644 index 0000000..1b1431d --- /dev/null +++ b/src/pypa-installer/changes.md @@ -0,0 +1,2 @@ +# 0.7.0 +First version diff --git a/src/pypa-installer/pkg.sh b/src/pypa-installer/pkg.sh new file mode 100644 index 0000000..3c63912 --- /dev/null +++ b/src/pypa-installer/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="pypa-installer" +DESC="Low-level library for installing from a python wheel distribution" +VERSION="0.7.0" + +# required files +FILES=("https://github.com/pypa/installer/archive/refs/tags/${VERSION}.tar.gz") +HASHES=("e1589201863a6b6f570ce2f9994febe54a8d9196e0cc54fd331cd7ffd728fb86") + +# install and build depends +DEPENDS=("python3") +BUILD=() + +PACKAGE(){ + tar xf "${VERSION}.tar.gz" + cd "installer-${VERSION}" + + python3 -m build --wheel --skip-dependency-check --no-isolation + PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + rm "${ROOTDIR}/usr/lib/python"*/site-packages/installer/_scripts/*.exe + + cd .. && rm -r "installer-${VERSION}" +} diff --git a/src/pypa-packaging/.gitignore b/src/pypa-packaging/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pypa-packaging/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pypa-packaging/changes.md b/src/pypa-packaging/changes.md new file mode 100644 index 0000000..983f41f --- /dev/null +++ b/src/pypa-packaging/changes.md @@ -0,0 +1,2 @@ +# 24.1 +First version diff --git a/src/pypa-packaging/pkg.sh b/src/pypa-packaging/pkg.sh new file mode 100644 index 0000000..3c1c272 --- /dev/null +++ b/src/pypa-packaging/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="pypa-packaging" +DESC="Core utilities for Python packages" +VERSION="24.1" + +# required files +FILES=("https://github.com/pypa/packaging/archive/refs/tags/${VERSION}.tar.gz") +HASHES=("45836ea0e7531c485a7d5e568f9740c7f075ff1b72a0d60422c5b76c031866428ff2137d9bd153790a9fcfff6bd4a7555bc40555409ad46debae7f1c9c1fe129") + +# install and build depends +DEPENDS=("python3") +BUILD=("pypi-flit-core") + +PACKAGE(){ + tar xf "${VERSION}.tar.gz" + cd "packaging-${VERSION}" + + python3 -m build --wheel --skip-dependency-check --no-isolation + PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + + cd .. && rm -r "packaging-${VERSION}" +}