new: pypa-setuptools

This commit is contained in:
ngn 2024-08-14 02:22:56 +03:00
parent 519fa98486
commit 146347a0e1
4 changed files with 29 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

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

View 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}"
}