new: pypa-setuptools
This commit is contained in:
parent
519fa98486
commit
146347a0e1
@ -10,8 +10,8 @@ HASHES=()
|
|||||||
# install and build depends
|
# install and build depends
|
||||||
DEPENDS=(
|
DEPENDS=(
|
||||||
"glibc" "gcc" "make" "python3" "perl"
|
"glibc" "gcc" "make" "python3" "perl"
|
||||||
"cmake" "pypa-wheel" "pypa-installer"
|
"pypa-wheel" "pypa-installer" "pypa-build"
|
||||||
"pypa-build" "pypa-packaging" "pypi-flit-core"
|
"pypa-packaging" "pypi-flit-core"
|
||||||
)
|
)
|
||||||
BUILD=()
|
BUILD=()
|
||||||
|
|
||||||
|
3
src/pypa-setuptools/.gitignore
vendored
Normal file
3
src/pypa-setuptools/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.cache/
|
||||||
|
dist/
|
||||||
|
root/
|
2
src/pypa-setuptools/changes.md
Normal file
2
src/pypa-setuptools/changes.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# 69.5.1
|
||||||
|
First version
|
22
src/pypa-setuptools/pkg.sh
Normal file
22
src/pypa-setuptools/pkg.sh
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# general info
|
||||||
|
NAME="pypa-setuptools"
|
||||||
|
DESC="Official project repository for the Setuptools build system"
|
||||||
|
VERSION="72.2.0"
|
||||||
|
|
||||||
|
# required files
|
||||||
|
FILES=("https://github.com/pypa/setuptools/archive/refs/tags/v${VERSION}.tar.gz")
|
||||||
|
HASHES=("3b52e15cc1de60437f0819c73a817e1bed283961c81e9b8e5c6d41cc4999a6ba")
|
||||||
|
|
||||||
|
# install and build depends
|
||||||
|
DEPENDS=("pypa-packaging" "pypi-flit-core" "python3")
|
||||||
|
BUILD=()
|
||||||
|
|
||||||
|
PACKAGE(){
|
||||||
|
tar xf "v${VERSION}.tar.gz"
|
||||||
|
cd "setuptools-${VERSION}"
|
||||||
|
|
||||||
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
|
||||||
|
|
||||||
|
cd .. && rm -r "setuptools-${VERSION}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user