George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-httplib2
Commits:
3bbcda4f by loqs at 2026-06-29T21:02:49+00:00
Remove from checkdepends flake8
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + python-httplib2-0.31.2-remove-flake8.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -5,7 +5,6 @@ pkgbase = python-httplib2
url = https://github.com/httplib2/httplib2
arch = any
license = MIT
- checkdepends = flake8
checkdepends = python-pytest-forked
checkdepends = python-pytest-timeout
checkdepends = python-pytest-xdist
@@ -24,11 +23,14 @@ pkgbase = python-httplib2
source =
python-httplib2::git+https://github.com/httplib2/httplib2#tag=v0.32.0
source = use-system-certificates.patch
source = remove-cov.patch
+ source = python-httplib2-0.31.2-remove-flake8.patch
sha512sums =
b9e1a6b66e274b0eb6bca851d3d83f86ae50b9a8f4c290707bee33cee22c5e5e8a455466357ccc3548f8dbdf14cf8b3a395eb318fd47ac8da1b216234045a6e2
sha512sums =
99b4d3ad273f531a0ddf429015a59263e7e79754cd404580427cd7a0d8ad6455096ff49a3fbf60009448d066925b9a10255d0d4b3e75d2a9b6c88cbd6da5bb34
sha512sums =
19dbeba0a1c86a6ec63780a5d302a68c972cbf9cdbabbfb7ced0a534bcea10bfebfbdd35aad49d9786d695246e3cc6261df7986abf5cddb4d861fbbb1a1e1d3e
+ sha512sums =
955278a01413faa2b48058a08dc6d82fc77d2a660423b402a7fef7c1eaa46997834722d2e551d0aa59ea771056f35c1f0db5dca78dd9dce32f626895f9919118
b2sums =
faaa47766f1a74481a6b5e93e89a12cfbb31dca90db831bc9fdd6948c97ecc7180f053634c46941e9ac6e077a27f6faa9ea23ef4216a144f8adb51136592c17f
b2sums =
532f8208a57a2903d804ecda0e7f5076d300a3e1029c4effc29c6bb93683aaa283ae2f658c4be455d001e94afdcfbf331e06f19ac3a4c96db14210d185f5e904
b2sums =
0886d5bc2d150b391333a4555f7a90b33a55f101c8f2568eedda61872f81a5c02748fd19184c05f2f6dc60889b5c84222a7f79b90b9ab14fb68de3eb8ce3cd49
+ b2sums =
b52579b294c56043c20ac9a9aaefa3a23e3997a5e58a753350788b033e028ba9b7813ecd0e72f119f58233c2bb44283311eaafb115a72d0e6b1ed7da8856bf72
pkgname = python-httplib2
=====================================
PKGBUILD
=====================================
@@ -27,7 +27,6 @@ makedepends=(
python-setuptools
)
checkdepends=(
- flake8
python-pytest-forked
python-pytest-timeout
python-pytest-xdist
@@ -42,13 +41,16 @@ source=(
"$pkgname::git+$url#tag=v$pkgver"
use-system-certificates.patch
remove-cov.patch
+ python-httplib2-0.31.2-remove-flake8.patch
)
sha512sums=('b9e1a6b66e274b0eb6bca851d3d83f86ae50b9a8f4c290707bee33cee22c5e5e8a455466357ccc3548f8dbdf14cf8b3a395eb318fd47ac8da1b216234045a6e2'
'99b4d3ad273f531a0ddf429015a59263e7e79754cd404580427cd7a0d8ad6455096ff49a3fbf60009448d066925b9a10255d0d4b3e75d2a9b6c88cbd6da5bb34'
-
'19dbeba0a1c86a6ec63780a5d302a68c972cbf9cdbabbfb7ced0a534bcea10bfebfbdd35aad49d9786d695246e3cc6261df7986abf5cddb4d861fbbb1a1e1d3e')
+
'19dbeba0a1c86a6ec63780a5d302a68c972cbf9cdbabbfb7ced0a534bcea10bfebfbdd35aad49d9786d695246e3cc6261df7986abf5cddb4d861fbbb1a1e1d3e'
+
'955278a01413faa2b48058a08dc6d82fc77d2a660423b402a7fef7c1eaa46997834722d2e551d0aa59ea771056f35c1f0db5dca78dd9dce32f626895f9919118')
b2sums=('faaa47766f1a74481a6b5e93e89a12cfbb31dca90db831bc9fdd6948c97ecc7180f053634c46941e9ac6e077a27f6faa9ea23ef4216a144f8adb51136592c17f'
'532f8208a57a2903d804ecda0e7f5076d300a3e1029c4effc29c6bb93683aaa283ae2f658c4be455d001e94afdcfbf331e06f19ac3a4c96db14210d185f5e904'
-
'0886d5bc2d150b391333a4555f7a90b33a55f101c8f2568eedda61872f81a5c02748fd19184c05f2f6dc60889b5c84222a7f79b90b9ab14fb68de3eb8ce3cd49')
+
'0886d5bc2d150b391333a4555f7a90b33a55f101c8f2568eedda61872f81a5c02748fd19184c05f2f6dc60889b5c84222a7f79b90b9ab14fb68de3eb8ce3cd49'
+
'b52579b294c56043c20ac9a9aaefa3a23e3997a5e58a753350788b033e028ba9b7813ecd0e72f119f58233c2bb44283311eaafb115a72d0e6b1ed7da8856bf72')
prepare() {
cd "$pkgname"
@@ -60,6 +62,9 @@ prepare() {
# do not use python-pytest-cov
patch -p1 -i "$srcdir/remove-cov.patch"
+ # do not use python-flake8
+ patch -p1 -i ../python-httplib2-0.31.2-remove-flake8.patch
+
# patch requirements to allow newer versions of checkdepends
sed -e 's/==/>=/' -i requirements-test.txt
}
=====================================
python-httplib2-0.31.2-remove-flake8.patch
=====================================
@@ -0,0 +1,11 @@
+diff --git a/requirements-test.txt b/requirements-test.txt
+index 57311b1..51aabc6 100644
+--- a/requirements-test.txt
++++ b/requirements-test.txt
+@@ -1,6 +1,4 @@
+ cryptography>=45,<46
+-flake8==3.9.2;python_version<"3.9"
+-flake8==7.3.0;python_version>="3.9"
+ pysocks==1.7.1
+ pytest-cov==4.1.0
+ pytest-forked==1.6.0
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-httplib2/-/commit/3bbcda4fa42c1d3dfe3f91207717fdb6d07d5eaa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-httplib2/-/commit/3bbcda4fa42c1d3dfe3f91207717fdb6d07d5eaa
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help