[arch-commits] Commit in python-httplib2/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sat May 3 17:16:24 UTC 2014
Date: Saturday, May 3, 2014 @ 19:16:24
Author: arodseth
Revision: 110552
upgpkg: python-httplib2 0.9-2
Modified:
python-httplib2/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-03 10:16:18 UTC (rev 110551)
+++ PKGBUILD 2014-05-03 17:16:24 UTC (rev 110552)
@@ -9,7 +9,7 @@
pkgbase=python-httplib2
pkgname=(python-httplib2 python2-httplib2)
pkgver=0.9
-pkgrel=1
+pkgrel=2
pkgdesc='Comprehensive HTTP client library, supporting many features'
url='http://code.google.com/p/httplib2/'
license=('MIT')
@@ -18,7 +18,8 @@
depends=('ca-certificates')
provides=('httplib2')
replaces=('httplib2')
-source=("git://github.com/jcgregorio/httplib2.git#tag=v$pkgver"
+#source=("git://github.com/jcgregorio/httplib2.git#tag=v$pkgver"
+source=("git://github.com/jcgregorio/httplib2.git#commit=7d1b88a3cf"
'ssl_hostname.patch'
'cert.patch')
sha256sums=('SKIP'
@@ -27,10 +28,13 @@
prepare() {
pushd "${pkgbase/python-}"
+
# Patch, ref FS#36839
patch -p1 -i "$srcdir/ssl_hostname.patch"
+
# Patch, ref FS#40179
patch -p1 -i "$srcdir/cert.patch"
+
popd
# Prepare one build directory for each package
@@ -43,10 +47,7 @@
cd "$pkgname"
python setup.py install --root="$pkgdir"
-
- # The MIT license file is missing. Opened an issue at
- # https://github.com/jcgregorio/httplib2/issues/268
- #install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_python2-httplib2() {
@@ -54,10 +55,7 @@
cd "$pkgname"
python2 setup.py install --root="$pkgdir"
-
- # The MIT license file is missing. Opened an issue at
- # https://github.com/jcgregorio/httplib2/issues/268
- #install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list