[arch-commits] Commit in python-httpretty/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Feb 20 05:12:32 UTC 2015


    Date: Friday, February 20, 2015 @ 06:12:32
  Author: fyan
Revision: 128009

archrelease: copy trunk to community-any

Added:
  python-httpretty/repos/community-any/PKGBUILD
    (from rev 128008, python-httpretty/trunk/PKGBUILD)
Deleted:
  python-httpretty/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-20 05:12:15 UTC (rev 128008)
+++ PKGBUILD	2015-02-20 05:12:32 UTC (rev 128009)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-httpretty
-pkgname=("python-httpretty" "python2-httpretty")
-pkgver=0.8.4
-pkgrel=1
-pkgdesc="HTTP client mock for Python"
-arch=('any')
-url="http://github.com/gabrielfalcao/httpretty"
-license=('MIT')
-makedepends=('python-urllib3' 'python2-urllib3' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-coverage' 'python2-coverage' 'python-mock' 'python2-mock'
-              'python-sure' 'python2-sure' 'python-tornado' 'python2-tornado' 'python-requests' 'python2-requests'
-              'python-httplib2' 'python2-httplib2')
-source=("https://pypi.python.org/packages/source/h/httpretty/httpretty-$pkgver.tar.gz")
-md5sums=('8bd2bfce2ff4c464ef25951e1b500469')
-
-prepare() {
-  cp -r "httpretty-$pkgver"{,-py2}
-
-  # Fix the encoding issue
-  sed -i "78s/f)).read()/f), encoding='utf8').read()/" httpretty-$pkgver/setup.py
-}
-
-check() {
-  cd httpretty-$pkgver
-  # Disabled due to hanging
-  #nosetests3 -s tests
-
-  cd ../httpretty-$pkgver-py2
-  nosetests2 -s tests || warning "Tests failed"
-}
-
-package_python-httpretty() {
-  depends=('python-urllib3')
-
-  cd httpretty-$pkgver
-  python3 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/python-httpretty/COPYING"
-}
-
-package_python2-httpretty() {
-  depends=('python2-urllib3')
-
-  cd httpretty-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/python2-httpretty/COPYING"
-}
-

Copied: python-httpretty/repos/community-any/PKGBUILD (from rev 128008, python-httpretty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-20 05:12:32 UTC (rev 128009)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-httpretty
+pkgname=("python-httpretty" "python2-httpretty")
+pkgver=0.8.5
+pkgrel=1
+pkgdesc="HTTP client mock for Python"
+arch=('any')
+url="http://github.com/gabrielfalcao/httpretty"
+license=('MIT')
+makedepends=('python-urllib3' 'python2-urllib3' 'python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python-coverage' 'python2-coverage' 'python-mock' 'python2-mock'
+              'python-sure' 'python2-sure' 'python-tornado' 'python2-tornado' 'python-requests' 'python2-requests'
+              'python-httplib2' 'python2-httplib2')
+source=("https://pypi.python.org/packages/source/h/httpretty/httpretty-$pkgver.tar.gz")
+md5sums=('561e870731c387c2856195bf844eafb2')
+
+prepare() {
+  cp -r "httpretty-$pkgver"{,-py2}
+
+  # Fix the encoding issue
+  sed -i "78s/f)).read()/f), encoding='utf8').read()/" httpretty-$pkgver/setup.py
+}
+
+check() {
+  cd httpretty-$pkgver
+  # Disabled due to hanging
+  #nosetests3 -s tests
+
+  cd ../httpretty-$pkgver-py2
+  nosetests2 -s tests || warning "Tests failed"
+}
+
+package_python-httpretty() {
+  depends=('python-urllib3')
+
+  cd httpretty-$pkgver
+  python3 setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/python-httpretty/COPYING"
+}
+
+package_python2-httpretty() {
+  depends=('python2-urllib3')
+
+  cd httpretty-$pkgver-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/python2-httpretty/COPYING"
+}
+



More information about the arch-commits mailing list