Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
python-httpretty
Commits:
a3af7c34 by Carl Smedstad at 2024-12-30T19:16:51+01:00
upgpkg: 1.1.4-13: Fix compatibility with python-urllib3-2.3.0
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-httpretty
pkgdesc = HTTP client mock for Python
pkgver = 1.1.4
- pkgrel = 12
+ pkgrel = 13
url = https://github.com/gabrielfalcao/httpretty
arch = any
license = MIT
@@ -31,9 +31,11 @@ pkgbase = python-httpretty
source =
python-httpretty-drop-mock.patch::https://github.com/gabrielfalcao/httpretty/commit/9fd8e0bdd9e45041d15be1d8ee7983005d9f3199.patch
source =
python-httpretty-functional-tests-pytest-compatibility.patch::https://github.com/gabrielfalcao/httpretty/commit/299d50c9cb0ba73343d1a88c202e17f6599fde54.patch
source =
python-httpretty-fix-failing-requests-tests.patch::https://github.com/gabrielfalcao/httpretty/commit/929cc89c2afced0c42bd08e3b9440ab1f4ec22a8.patch
+ source =
python-httpretty-urllib3-2.3-compatibility.patch::https://github.com/gabrielfalcao/httpretty/commit/8e96b1e312d473429fbd08bc867376e9932ad42a.patch
sha512sums =
58c733ba4719f97e06e2313bb6b94f1c6609d3facb2e0262ac37be97f1c3430eac661611ba9b3712c9c1809846e177b61f3fc2945f3770d475f70b81bea2aced
sha512sums =
5520594ddb2e73d75c6eb8476dc1984464306614d915627c0c9e69815a5671d65e286e90f3ee926daa040f9f24a81835eb5c7993e620a5b67aaaefa06571dcb2
sha512sums =
c9f1668be03210ef5efc7fe6f4783af31549aa812ebb32154a27034b88866e7e81df59648a3bb68f8f6c08c2734abc4b012c9e8b90d19d8570940c20391294e9
sha512sums =
0b890bfd1dad70cf27aef5720e3158225697a4ccbe735fd7dd7e2b0887b60cc158750b9724d3e192311a6f32400480ce6ded4b01f01ed885085753ef13fc939e
+ sha512sums =
483cb20c64872b68dbef35a3325fc7f93d5e550c3e4cb266425a0d0ecac172b97674de8f837b2b48d63145ff0a24d3a89af1871cb84bfec9eeb70b1bea803a34
pkgname = python-httpretty
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=python-httpretty
pkgver=1.1.4
-pkgrel=12
+pkgrel=13
pkgdesc="HTTP client mock for Python"
arch=('any')
url="https://github.com/gabrielfalcao/httpretty"
@@ -35,17 +35,21 @@ source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz"
# https://github.com/gabrielfalcao/HTTPretty/pull/453
"$pkgname-functional-tests-pytest-compatibility.patch::$url/commit/299d50c9cb0ba73343d1a88c202e17f6599fde54.patch"
# https://github.com/gabrielfalcao/HTTPretty/pull/479
-
"$pkgname-fix-failing-requests-tests.patch::$url/commit/929cc89c2afced0c42bd08e3b9440ab1f4ec22a8.patch")
+
"$pkgname-fix-failing-requests-tests.patch::$url/commit/929cc89c2afced0c42bd08e3b9440ab1f4ec22a8.patch"
+ # https://github.com/gabrielfalcao/HTTPretty/pull/485
+
"$pkgname-urllib3-2.3-compatibility.patch::$url/commit/8e96b1e312d473429fbd08bc867376e9932ad42a.patch")
sha512sums=('58c733ba4719f97e06e2313bb6b94f1c6609d3facb2e0262ac37be97f1c3430eac661611ba9b3712c9c1809846e177b61f3fc2945f3770d475f70b81bea2aced'
'5520594ddb2e73d75c6eb8476dc1984464306614d915627c0c9e69815a5671d65e286e90f3ee926daa040f9f24a81835eb5c7993e620a5b67aaaefa06571dcb2'
'c9f1668be03210ef5efc7fe6f4783af31549aa812ebb32154a27034b88866e7e81df59648a3bb68f8f6c08c2734abc4b012c9e8b90d19d8570940c20391294e9'
-
'0b890bfd1dad70cf27aef5720e3158225697a4ccbe735fd7dd7e2b0887b60cc158750b9724d3e192311a6f32400480ce6ded4b01f01ed885085753ef13fc939e')
+
'0b890bfd1dad70cf27aef5720e3158225697a4ccbe735fd7dd7e2b0887b60cc158750b9724d3e192311a6f32400480ce6ded4b01f01ed885085753ef13fc939e'
+
'483cb20c64872b68dbef35a3325fc7f93d5e550c3e4cb266425a0d0ecac172b97674de8f837b2b48d63145ff0a24d3a89af1871cb84bfec9eeb70b1bea803a34')
prepare() {
cd HTTPretty-$pkgver
patch -p1 -i ../$pkgname-drop-mock.patch
patch -p1 -i ../$pkgname-functional-tests-pytest-compatibility.patch
patch -p1 -i ../$pkgname-fix-failing-requests-tests.patch
+ patch -p1 -i ../$pkgname-urllib3-2.3-compatibility.patch
sed -i -e '/rednose/d' -e '/cover/d' setup.cfg
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-httpretty/-/commit/a3af7c343a063431f73ea2652fd5a9e2ce326c30
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-httpretty/-/commit/a3af7c343a063431f73ea2652fd5a9e2ce326c30
You're receiving this email because of your account on gitlab.archlinux.org.