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

Felix Yan felixonmars at archlinux.org
Fri May 21 19:07:21 UTC 2021


    Date: Friday, May 21, 2021 @ 19:07:20
  Author: felixonmars
Revision: 940920

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 27 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-21 19:07:07 UTC (rev 940919)
+++ PKGBUILD	2021-05-21 19:07:20 UTC (rev 940920)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-httpretty
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="HTTP client mock for Python"
-arch=('any')
-url="https://github.com/gabrielfalcao/httpretty"
-license=('MIT')
-depends=('python-urllib3')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-coverage' 'python-eventlet' 'python-freezegun' 'python-httplib2'
-              'python-redis' 'python-rednose' 'python-requests' 'python-sure' 'python-tornado'
-              'python-httpx' 'python-boto3')
-source=("https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        $pkgname-issue417-test-fix.patch::https://github.com/gabrielfalcao/HTTPretty/commit/5878dde4211c97392d89db221bf3ff59b6c18274.patch)
-sha512sums=('526ef3de30a7227924ccef68cbe0c679d640bf31852b10e518798dbc7eb7c8390b112962f4f51c5a3157184dce3b145120e7a1750fe22f719247e3c86fc27f58'
-            'c57e4c796b99784627587b196e1e4cf07f7bda5f050d75ed469b806417b13fbe6106fc604e3d3d94ad836a0afea2af5e337cee9f6bd84ae9b190718c8e57de39')
-
-prepare() {
-  # https://github.com/gabrielfalcao/HTTPretty/pull/427
-  patch -d HTTPretty-$pkgver -p1 < $pkgname-issue417-test-fix.patch
-}
-
-check() {
-  cd HTTPretty-$pkgver
-  nosetests3 -s tests
-}
-
-package_python-httpretty() {
-  cd HTTPretty-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: python-httpretty/repos/community-any/PKGBUILD (from rev 940919, python-httpretty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-21 19:07:20 UTC (rev 940920)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-httpretty
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="HTTP client mock for Python"
+arch=('any')
+url="https://github.com/gabrielfalcao/httpretty"
+license=('MIT')
+depends=('python-urllib3')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-coverage' 'python-eventlet' 'python-freezegun' 'python-httplib2'
+              'python-redis' 'python-rednose' 'python-requests' 'python-sure' 'python-tornado'
+              'python-httpx' 'python-boto3')
+source=("https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('5816d7533a211348a9aeb61bb6ab97c01aac02d9f4fe679764fa906ba5ba7b573e737a6ae6b5118b82fce18aa17bcf286b895e30d516c6d35e76926f4739b124')
+
+check() {
+  cd HTTPretty-$pkgver
+  nosetests3 -s tests
+}
+
+package_python-httpretty() {
+  cd HTTPretty-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list