From 146347a0e1dfcacec686b5888d86e9b0ef9c08ab Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 14 Aug 2024 02:22:56 +0300 Subject: [PATCH] new: pypa-setuptools --- src/build-essential/pkg.sh | 4 ++-- src/pypa-setuptools/.gitignore | 3 +++ src/pypa-setuptools/changes.md | 2 ++ src/pypa-setuptools/pkg.sh | 22 ++++++++++++++++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 src/pypa-setuptools/.gitignore create mode 100644 src/pypa-setuptools/changes.md create mode 100644 src/pypa-setuptools/pkg.sh diff --git a/src/build-essential/pkg.sh b/src/build-essential/pkg.sh index de8c772..fa030a0 100644 --- a/src/build-essential/pkg.sh +++ b/src/build-essential/pkg.sh @@ -10,8 +10,8 @@ HASHES=() # install and build depends DEPENDS=( "glibc" "gcc" "make" "python3" "perl" - "cmake" "pypa-wheel" "pypa-installer" - "pypa-build" "pypa-packaging" "pypi-flit-core" + "pypa-wheel" "pypa-installer" "pypa-build" + "pypa-packaging" "pypi-flit-core" ) BUILD=() diff --git a/src/pypa-setuptools/.gitignore b/src/pypa-setuptools/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pypa-setuptools/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pypa-setuptools/changes.md b/src/pypa-setuptools/changes.md new file mode 100644 index 0000000..78555d1 --- /dev/null +++ b/src/pypa-setuptools/changes.md @@ -0,0 +1,2 @@ +# 69.5.1 +First version diff --git a/src/pypa-setuptools/pkg.sh b/src/pypa-setuptools/pkg.sh new file mode 100644 index 0000000..f1e26c9 --- /dev/null +++ b/src/pypa-setuptools/pkg.sh @@ -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}" +}