[arch-commits] Commit in python-httpretty/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:50:47 UTC 2019
Date: Monday, November 4, 2019 @ 09:50:47
Author: felixonmars
Revision: 523963
archrelease: copy trunk to community-staging-any
Added:
python-httpretty/repos/community-staging-any/PKGBUILD
(from rev 523962, python-httpretty/trunk/PKGBUILD)
Deleted:
python-httpretty/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-04 09:50:30 UTC (rev 523962)
+++ PKGBUILD 2019-11-04 09:50:47 UTC (rev 523963)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-httpretty
-pkgname=("python-httpretty" "python2-httpretty")
-pkgver=0.9.6
-pkgrel=2
-pkgdesc="HTTP client mock for Python"
-arch=('any')
-url="https://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'
- 'python-nose-randomly' 'python2-nose-randomly' 'python-rednose' 'python2-rednose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver.tar.gz")
-sha512sums=('6d4274961d4ff2475c4035e0174694a851640dcd383727de5508f342827f77143b09a7a2c644978d1ca5932945fec75a85187ca6979dbfd2e109e3540467abf0')
-
-prepare() {
- cp -a HTTPretty-$pkgver{,-py2}
-}
-
-check() {
- cd HTTPretty-$pkgver
- nosetests3 -s tests || warning "Tests failed"
-
- cd ../HTTPretty-$pkgver-py2
- nosetests2 -s tests
-}
-
-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-staging-any/PKGBUILD (from rev 523962, python-httpretty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-04 09:50:47 UTC (rev 523963)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-httpretty
+pkgname=("python-httpretty" "python2-httpretty")
+pkgver=0.9.6
+pkgrel=3
+pkgdesc="HTTP client mock for Python"
+arch=('any')
+url="https://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'
+ 'python-nose-randomly' 'python2-nose-randomly' 'python-rednose' 'python2-rednose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver.tar.gz")
+sha512sums=('6d4274961d4ff2475c4035e0174694a851640dcd383727de5508f342827f77143b09a7a2c644978d1ca5932945fec75a85187ca6979dbfd2e109e3540467abf0')
+
+prepare() {
+ cp -a HTTPretty-$pkgver{,-py2}
+}
+
+check() {
+ cd HTTPretty-$pkgver
+ nosetests3 -s tests || warning "Tests failed"
+
+ cd ../HTTPretty-$pkgver-py2
+ nosetests2 -s tests
+}
+
+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