[arch-commits] Commit in python-ndg-httpsclient/repos/community-any (2 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Sat May 5 09:59:25 UTC 2018
Date: Saturday, May 5, 2018 @ 09:59:23
Author: mtorromeo
Revision: 318976
archrelease: copy trunk to community-any
Added:
python-ndg-httpsclient/repos/community-any/PKGBUILD
(from rev 318975, python-ndg-httpsclient/trunk/PKGBUILD)
Deleted:
python-ndg-httpsclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-05 09:59:09 UTC (rev 318975)
+++ PKGBUILD 2018-05-05 09:59:23 UTC (rev 318976)
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 134777 2015-06-04 13:33:01Z mtorromeo $
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Hugo Osvaldo Barrera <hugo at osvaldobarrera.com.ar>
-
-pkgbase=python-ndg-httpsclient
-pkgname=(python-ndg-httpsclient python2-ndg-httpsclient)
-_pkgname=ndg_httpsclient
-pkgver=0.4.4
-pkgrel=1
-pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
-arch=(any)
-url="https://pypi.python.org/pypi/ndg-httpsclient"
-license=('BSD')
-makedepends=(python2-setuptools python2-pyopenssl python2-pyasn1
- python-setuptools python-pyopenssl python-pyasn1)
-options=(!emptydirs)
-source=(https://files.pythonhosted.org/packages/source/n/ndg-httpsclient/$_pkgname-$pkgver.tar.gz)
-sha256sums=('fba4d4798dcac2965874f24afb6631b4326baa4bd02505744d34f690c354856a')
-
-build() {
- cd "$srcdir"/$_pkgname-$pkgver
-
- rm -rf ../buildpy3; mkdir ../buildpy3
- python setup.py build -b ../buildpy3
-
- rm -rf ../buildpy2; mkdir ../buildpy2
- python2 setup.py build -b ../buildpy2
-}
-
-package_python-ndg-httpsclient() {
- depends=(python-pyopenssl python-pyasn1)
- _site_packages=$(python -sSc 'import site; print(site.getsitepackages()[0])')
-
- cd "$srcdir"/$_pkgname-$pkgver
- rm -rf build; ln -s ../buildpy3 build
- python setup.py install --skip-build -O1 --root="$pkgdir"
- install -Dm0644 "$pkgdir$_site_packages"/ndg/httpsclient/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-ndg-httpsclient() {
- depends=(python2-pyopenssl python2-pyasn1)
- _site_packages=$(python2 -sSc 'import site; print(site.getsitepackages()[0])')
-
- cd "$srcdir"/$_pkgname-$pkgver
- rm -rf build; ln -s ../buildpy2 build
- python2 setup.py install --skip-build -O1 --root="$pkgdir"
- install -Dm0644 "$pkgdir$_site_packages"/ndg/httpsclient/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- mv "$pkgdir"/usr/bin/ndg_httpclient{,2}
-}
Copied: python-ndg-httpsclient/repos/community-any/PKGBUILD (from rev 318975, python-ndg-httpsclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-05 09:59:23 UTC (rev 318976)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 134777 2015-06-04 13:33:01Z mtorromeo $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Hugo Osvaldo Barrera <hugo at osvaldobarrera.com.ar>
+
+pkgbase=python-ndg-httpsclient
+pkgname=(python-ndg-httpsclient python2-ndg-httpsclient)
+_pkgname=ndg_httpsclient
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
+arch=(any)
+url="https://pypi.python.org/pypi/ndg-httpsclient"
+license=('BSD')
+makedepends=(python2-setuptools python2-pyopenssl python2-pyasn1
+ python-setuptools python-pyopenssl python-pyasn1)
+options=(!emptydirs)
+source=(https://files.pythonhosted.org/packages/source/n/ndg-httpsclient/$_pkgname-$pkgver.tar.gz)
+sha256sums=('c009f5430790936b3a97eaf9f968516664d97e146ab2bda991f0caadb7cc088b')
+
+build() {
+ cd "$srcdir"/$_pkgname-$pkgver
+
+ rm -rf ../buildpy3; mkdir ../buildpy3
+ python setup.py build -b ../buildpy3
+
+ rm -rf ../buildpy2; mkdir ../buildpy2
+ python2 setup.py build -b ../buildpy2
+}
+
+package_python-ndg-httpsclient() {
+ depends=(python-pyopenssl python-pyasn1)
+ _site_packages=$(python -sSc 'import site; print(site.getsitepackages()[0])')
+
+ cd "$srcdir"/$_pkgname-$pkgver
+ rm -rf build; ln -s ../buildpy3 build
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -Dm0644 "$pkgdir$_site_packages"/ndg/httpsclient/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-ndg-httpsclient() {
+ depends=(python2-pyopenssl python2-pyasn1)
+ _site_packages=$(python2 -sSc 'import site; print(site.getsitepackages()[0])')
+
+ cd "$srcdir"/$_pkgname-$pkgver
+ rm -rf build; ln -s ../buildpy2 build
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+ install -Dm0644 "$pkgdir$_site_packages"/ndg/httpsclient/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ mv "$pkgdir"/usr/bin/ndg_httpclient{,2}
+}
More information about the arch-commits
mailing list