Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
httpbin


Commits:
6fdcdaee by Chih-Hsuan Yen at 2025-06-08T10:40:54+08:00
upgpkg: 0.10.2-5; cherry-pick a PR to get rid of dependency on six

See: https://archlinux.org/todo/reduce-dependencies-on-python-six/

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = httpbin
        pkgdesc = HTTP Request and Response Service
        pkgver = 0.10.2
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/psf/httpbin
        arch = any
        license = MIT
@@ -14,12 +14,13 @@ pkgbase = httpbin
        depends = python
        depends = python-flask
        depends = python-decorator
-       depends = python-six
        depends = python-brotlicffi
        depends = python-werkzeug
        depends = python-flasgger
        depends = python-greenlet
        source = 
httpbin-0.10.2.tar.gz::https://github.com/psf/httpbin/archive/release-v0.10.2.tar.gz
+       source = 
httpbin-no-six.patch::https://github.com/psf/httpbin/pull/40.patch
        sha512sums = 
f271d4d93c7d19392955233a48b7e31f17b76d3364e88cccc081abd2da3763b7b8997778f24e4b756a8219e653809f34b77431723d403348a781f98197376277
+       sha512sums = 
61e128cc367bdf323957b313391619edcaeb229cbc08d7591d8bad1904bacfac6c09d9fa63e6c2c13b1325c3b4934c2bdc29480acdcf5fd44b050fbc5ff34460
 
 pkgname = httpbin


=====================================
PKGBUILD
=====================================
@@ -3,19 +3,26 @@
 
 pkgname=httpbin
 pkgver=0.10.2
-pkgrel=4
+pkgrel=5
 pkgdesc="HTTP Request and Response Service"
 arch=('any')
 url="https://github.com/psf/httpbin";
 license=('MIT' 'custom:ISC')
-depends=('python' 'python-flask' 'python-decorator' 'python-six'
+depends=('python' 'python-flask' 'python-decorator'
          'python-brotlicffi' 'python-werkzeug' 'python-flasgger'
          # Not directly used. TODO: ask upstream if it's really needed
          'python-greenlet')
 makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/psf/httpbin/archive/release-v$pkgver.tar.gz";)
-sha512sums=('f271d4d93c7d19392955233a48b7e31f17b76d3364e88cccc081abd2da3763b7b8997778f24e4b756a8219e653809f34b77431723d403348a781f98197376277')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/psf/httpbin/archive/release-v$pkgver.tar.gz";
+        "$pkgname-no-six.patch::https://github.com/psf/httpbin/pull/40.patch";)
+sha512sums=('f271d4d93c7d19392955233a48b7e31f17b76d3364e88cccc081abd2da3763b7b8997778f24e4b756a8219e653809f34b77431723d403348a781f98197376277'
+            
'61e128cc367bdf323957b313391619edcaeb229cbc08d7591d8bad1904bacfac6c09d9fa63e6c2c13b1325c3b4934c2bdc29480acdcf5fd44b050fbc5ff34460')
+
+prepare() {
+  cd httpbin-release-v$pkgver
+  patch -Np1 -i ../$pkgname-no-six.patch
+}
 
 build() {
   cd httpbin-release-v$pkgver



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/httpbin/-/commit/6fdcdaee1557142f7abdcf7d54b46ad682c3fe42

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/httpbin/-/commit/6fdcdaee1557142f7abdcf7d54b46ad682c3fe42
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to