[arch-commits] Commit in python-httpretty/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Fri Jun 20 01:20:07 UTC 2014


    Date: Friday, June 20, 2014 @ 03:20:07
  Author: fyan
Revision: 113371

upgpkg: python-httpretty 0.8.3-1

Modified:
  python-httpretty/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-19 22:16:51 UTC (rev 113370)
+++ PKGBUILD	2014-06-20 01:20:07 UTC (rev 113371)
@@ -3,18 +3,18 @@
 
 pkgbase=python-httpretty
 pkgname=("python-httpretty" "python2-httpretty")
-pkgver=0.8.1
+pkgver=0.8.3
 pkgrel=1
 pkgdesc="HTTP client mock for Python"
 arch=('any')
 url="http://github.com/gabrielfalcao/httpretty"
 license=('MIT')
-makedepends=('python-urllib3' 'python2-urllib3' 'python-requests' 'python2-requests')
+makedepends=('python-urllib3' 'python2-urllib3')
 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=('8f4d4339711551ff8b3d94bf4389754c')
+md5sums=('50b02560a49fe928c90c53a49791f621')
 
 prepare() {
   cp -r "httpretty-$pkgver"{,-py2}
@@ -21,7 +21,6 @@
 
   # Fix the encoding issue
   sed -i "78s/f)).read()/f), encoding='utf8').read()/" httpretty-$pkgver/setup.py
-  sed -i "88s/readme.rst/README.rst/" httpretty-$pkgver{,-py2}/setup.py
 }
 
 check() {
@@ -34,7 +33,7 @@
 }
 
 package_python-httpretty() {
-  depends=('python-urllib3' 'python-requests')
+  depends=('python-urllib3')
 
   cd httpretty-$pkgver
   python3 setup.py install --root="${pkgdir}" --optimize=1
@@ -42,7 +41,7 @@
 }
 
 package_python2-httpretty() {
-  depends=('python2-urllib3' 'python2-requests')
+  depends=('python2-urllib3')
 
   cd httpretty-$pkgver-py2
   python2 setup.py install --root="${pkgdir}" --optimize=1




More information about the arch-commits mailing list