summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-18 09:15:25 +0100
committerErich Eckner <git@eckner.net>2019-11-18 09:15:25 +0100
commit1e947ad2a61c9f9fa2d3e8ce98d3499681bc761f (patch)
tree5335df9418e618da34fd37616d5da9b263f25d30
parent0340fdf35f30ae541406cb10742477e76c073a08 (diff)
downloadpackages-1e947ad2a61c9f9fa2d3e8ce98d3499681bc761f.tar.xz
community/python-pip-bootstrap should be *only* in build-support (disabled, currently)
-rw-r--r--build-support/disabled/python-pip-bootstrap/PKGBUILD16
-rw-r--r--community/python-pip-bootstrap/PKGBUILD28
-rw-r--r--community/python-pip-bootstrap/install.sh4
-rw-r--r--community/python-pip-bootstrap/install2.sh4
4 files changed, 9 insertions, 43 deletions
diff --git a/build-support/disabled/python-pip-bootstrap/PKGBUILD b/build-support/disabled/python-pip-bootstrap/PKGBUILD
index 93c5d86e..f278e657 100644
--- a/build-support/disabled/python-pip-bootstrap/PKGBUILD
+++ b/build-support/disabled/python-pip-bootstrap/PKGBUILD
@@ -1,26 +1,28 @@
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
pkgname=('python-pip-bootstrap' 'python2-pip-bootstrap')
-pkgver=0.0.1
-pkgrel=1
+pkgver='19.3.1'
+pkgrel='1'
pkgdesc="bootstap pip and setuptools for bootstrapping python"
-arch=(i486 'i686' 'x86_64' 'armv6h' 'armv7h')
+arch=('x86_64' 'armv6h' 'armv7h')
url="https://bootstrap.pypa.io/"
-source=("https://bootstrap.pypa.io/get-pip.py")
-sha512sums=('29971130c5d1d1baf2b51ef689b40c91fcd0d1e62de6f99d6abef6879684a59843be539cd112dfddc3637cc3d1a91c79f775d80f6aa2fe920252710d48d2934d')
+source=("get-pip-${pkgver}.py::https://bootstrap.pypa.io/get-pip.py")
+sha512sums=('d8744fcfa4dce749675632be0691a5e9bdac95e34d5b787bca6e635e2d6a25badbeb0b5f5ff6af1beb879604bdf060829805622a835a4b579967d806d3a642b5')
package_python-pip-bootstrap() {
+ provides=("python-pip=${pkgver}")
depends=('python')
install=install.sh
mkdir -p "${pkgdir}/usr/bin"
- cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/."
+ cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/."
}
package_python2-pip-bootstrap() {
+ provides=("python2-pip=${pkgver}")
depends=('python2')
install=install2.sh
mkdir -p "${pkgdir}/usr/bin"
- cp "${srcdir}/get-pip.py" "${pkgdir}/usr/bin/get-pip2.py"
+ cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/get-pip2.py"
}
diff --git a/community/python-pip-bootstrap/PKGBUILD b/community/python-pip-bootstrap/PKGBUILD
deleted file mode 100644
index f278e657..00000000
--- a/community/python-pip-bootstrap/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
-
-pkgname=('python-pip-bootstrap' 'python2-pip-bootstrap')
-pkgver='19.3.1'
-pkgrel='1'
-pkgdesc="bootstap pip and setuptools for bootstrapping python"
-arch=('x86_64' 'armv6h' 'armv7h')
-url="https://bootstrap.pypa.io/"
-source=("get-pip-${pkgver}.py::https://bootstrap.pypa.io/get-pip.py")
-sha512sums=('d8744fcfa4dce749675632be0691a5e9bdac95e34d5b787bca6e635e2d6a25badbeb0b5f5ff6af1beb879604bdf060829805622a835a4b579967d806d3a642b5')
-
-package_python-pip-bootstrap() {
- provides=("python-pip=${pkgver}")
- depends=('python')
- install=install.sh
-
- mkdir -p "${pkgdir}/usr/bin"
- cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/."
-}
-
-package_python2-pip-bootstrap() {
- provides=("python2-pip=${pkgver}")
- depends=('python2')
- install=install2.sh
-
- mkdir -p "${pkgdir}/usr/bin"
- cp "${srcdir}/get-pip-${pkgver}.py" "${pkgdir}/usr/bin/get-pip2.py"
-}
diff --git a/community/python-pip-bootstrap/install.sh b/community/python-pip-bootstrap/install.sh
deleted file mode 100644
index e81432e6..00000000
--- a/community/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/community/python-pip-bootstrap/install2.sh b/community/python-pip-bootstrap/install2.sh
deleted file mode 100644
index b6aa16fa..00000000
--- a/community/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
-}