From 1a9038b24071546a11a5db104e43ce15de766831 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 12 May 2023 16:35:58 +0200 Subject: some cleanup --- .../disabled/python-pip-bootstrap/PKGBUILD | 18 ++++++++++++ .../disabled/python-pip-bootstrap/install.sh | 4 +++ .../disabled/python-pip-bootstrap/install2.sh | 4 +++ build-support/python-build-bootstrap/PKGBUILD | 33 ---------------------- build-support/python-pip-bootstrap/PKGBUILD | 18 ------------ build-support/python-pip-bootstrap/install.sh | 4 --- build-support/python-pip-bootstrap/install2.sh | 4 --- 7 files changed, 26 insertions(+), 59 deletions(-) create mode 100644 build-support/disabled/python-pip-bootstrap/PKGBUILD create mode 100644 build-support/disabled/python-pip-bootstrap/install.sh create mode 100644 build-support/disabled/python-pip-bootstrap/install2.sh delete mode 100644 build-support/python-build-bootstrap/PKGBUILD delete mode 100644 build-support/python-pip-bootstrap/PKGBUILD delete mode 100644 build-support/python-pip-bootstrap/install.sh delete mode 100644 build-support/python-pip-bootstrap/install2.sh (limited to 'build-support') diff --git a/build-support/disabled/python-pip-bootstrap/PKGBUILD b/build-support/disabled/python-pip-bootstrap/PKGBUILD new file mode 100644 index 00000000..4afb97a8 --- /dev/null +++ b/build-support/disabled/python-pip-bootstrap/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Andreas Baumann + +pkgname=('python-pip-bootstrap') +pkgver=0.0.1 +pkgrel=2 +pkgdesc="bootstap pip and setuptools for bootstrapping python" +arch=(i486 'i686' 'pentium4' 'x86_64' 'armv6h' 'armv7h') +url="https://bootstrap.pypa.io/" +source=("https://bootstrap.pypa.io/get-pip.py") +sha512sums=('ba6c35de136e769bc67cbd41417c62ed2d7eebf893473ae3a98c50fd130b53fc02d7d9de266323197e30a4895c826c301a205595e129fb9e90d294d8f0e53afd') + +package_python-pip-bootstrap() { + depends=('python') + install=install.sh + + mkdir -p "${pkgdir}/usr/bin" + cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/." +} diff --git a/build-support/disabled/python-pip-bootstrap/install.sh b/build-support/disabled/python-pip-bootstrap/install.sh new file mode 100644 index 00000000..e81432e6 --- /dev/null +++ b/build-support/disabled/python-pip-bootstrap/install.sh @@ -0,0 +1,4 @@ +post_install() { + echo "Bootstrapping python pip, setuptools and wheel.." + python /usr/bin/get-pip.py +} diff --git a/build-support/disabled/python-pip-bootstrap/install2.sh b/build-support/disabled/python-pip-bootstrap/install2.sh new file mode 100644 index 00000000..b6aa16fa --- /dev/null +++ b/build-support/disabled/python-pip-bootstrap/install2.sh @@ -0,0 +1,4 @@ +post_install() { + echo "Bootstrapping python2 pip, setuptools and wheel.." + python2 /usr/bin/get-pip2.py +} diff --git a/build-support/python-build-bootstrap/PKGBUILD b/build-support/python-build-bootstrap/PKGBUILD deleted file mode 100644 index ec3630c4..00000000 --- a/build-support/python-build-bootstrap/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) -# Maintainer: Daniel M. Capella - -_pkgname=build -pkgname=python-$_pkgname-bootstrap -pkgver=0.10.0 -pkgrel=4 -pkgdesc='A simple, correct PEP 517 build frontend' -arch=('any') -url='https://github.com/pypa/build' -license=('MIT') -makedepends=('git' 'python-pip-bootstrap') -checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-rerunfailures' 'python-filelock' 'python-setuptools' 'python-toml' 'python-wheel') -source=("git+$url#tag=$pkgver?signed") -validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) -sha512sums=('SKIP') - -build() { - cd $_pkgname - - # we install build, installer with pip to break the cycle - pip install build - pip install installer - pip install flit_core - - python -m build --wheel --skip-dependency-check --no-isolation -} - -package() { - cd $_pkgname - - python -m installer --destdir="$pkgdir" dist/*.whl -} diff --git a/build-support/python-pip-bootstrap/PKGBUILD b/build-support/python-pip-bootstrap/PKGBUILD deleted file mode 100644 index 4afb97a8..00000000 --- a/build-support/python-pip-bootstrap/PKGBUILD +++ /dev/null @@ -1,18 +0,0 @@ -# Maintainer: Andreas Baumann - -pkgname=('python-pip-bootstrap') -pkgver=0.0.1 -pkgrel=2 -pkgdesc="bootstap pip and setuptools for bootstrapping python" -arch=(i486 'i686' 'pentium4' 'x86_64' 'armv6h' 'armv7h') -url="https://bootstrap.pypa.io/" -source=("https://bootstrap.pypa.io/get-pip.py") -sha512sums=('ba6c35de136e769bc67cbd41417c62ed2d7eebf893473ae3a98c50fd130b53fc02d7d9de266323197e30a4895c826c301a205595e129fb9e90d294d8f0e53afd') - -package_python-pip-bootstrap() { - depends=('python') - install=install.sh - - mkdir -p "${pkgdir}/usr/bin" - cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/." -} diff --git a/build-support/python-pip-bootstrap/install.sh b/build-support/python-pip-bootstrap/install.sh deleted file mode 100644 index e81432e6..00000000 --- a/build-support/python-pip-bootstrap/install.sh +++ /dev/null @@ -1,4 +0,0 @@ -post_install() { - echo "Bootstrapping python pip, setuptools and wheel.." - python /usr/bin/get-pip.py -} diff --git a/build-support/python-pip-bootstrap/install2.sh b/build-support/python-pip-bootstrap/install2.sh deleted file mode 100644 index b6aa16fa..00000000 --- a/build-support/python-pip-bootstrap/install2.sh +++ /dev/null @@ -1,4 +0,0 @@ -post_install() { - echo "Bootstrapping python2 pip, setuptools and wheel.." - python2 /usr/bin/get-pip2.py -} -- cgit v1.2.3-54-g00ecf