new: pypa packages
This commit is contained in:
parent
1a08fbc0a7
commit
c012ecb7bd
4
sign-dist.sh
Executable file
4
sign-dist.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
for f in dist/*.mpf; do
|
||||||
|
gpg --yes --detach-sign $f
|
||||||
|
done
|
@ -11,7 +11,7 @@ HASHES=("3a6a3dba82a3604792d3cb0bd41bca60")
|
|||||||
DEPENDS=("glibc" "python3")
|
DEPENDS=("glibc" "python3")
|
||||||
BUILD=(
|
BUILD=(
|
||||||
"cmake" "pypa-build" "pypa-installer"
|
"cmake" "pypa-build" "pypa-installer"
|
||||||
"pypa-setuptools" "pypa-wheel"
|
"pypa-wheel"
|
||||||
)
|
)
|
||||||
|
|
||||||
PACKAGE(){
|
PACKAGE(){
|
||||||
|
@ -11,7 +11,7 @@ HASHES=()
|
|||||||
DEPENDS=(
|
DEPENDS=(
|
||||||
"glibc" "gcc" "make" "python3" "perl"
|
"glibc" "gcc" "make" "python3" "perl"
|
||||||
"cmake" "pypa-wheel" "pypa-installer"
|
"cmake" "pypa-wheel" "pypa-installer"
|
||||||
"pypa-build" "pypa-setuptools"
|
"pypa-build" "pypa-packaging" "pypi-flit-core"
|
||||||
)
|
)
|
||||||
BUILD=()
|
BUILD=()
|
||||||
|
|
||||||
|
3
src/pypa-build/.gitignore
vendored
Normal file
3
src/pypa-build/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/pypa-build/changes.md
Normal file
2
src/pypa-build/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 1.2.1
|
||||||
|
First version
|
22
src/pypa-build/pkg.sh
Normal file
22
src/pypa-build/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/pypa-installer/.gitignore
vendored
Normal file
3
src/pypa-installer/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/pypa-installer/changes.md
Normal file
2
src/pypa-installer/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 0.7.0
|
||||||
|
First version
|
23
src/pypa-installer/pkg.sh
Normal file
23
src/pypa-installer/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
3
src/pypa-packaging/.gitignore
vendored
Normal file
3
src/pypa-packaging/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/pypa-packaging/changes.md
Normal file
2
src/pypa-packaging/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 24.1
|
||||||
|
First version
|
22
src/pypa-packaging/pkg.sh
Normal file
22
src/pypa-packaging/pkg.sh
Normal file
@ -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}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user