Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-urllib3


Commits:
37762083 by Carl Smedstad at 2025-10-18T22:42:33+02:00
upgpkg: 2.5.0-2: Skip dependency check to fix build

python-setuptools-scm is currently on 9.2.1, which caused:

    ERROR Missing dependencies:
        setuptools-scm<9,>=8

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-urllib3
        pkgdesc = HTTP library with thread-safe connection pooling and file 
post support
        pkgver = 2.5.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/urllib3/urllib3
        arch = any
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -4,10 +4,9 @@
 # Contributor: Chris Brannon <[email protected]>
 # Contributor: BorgHunter <borghunter at gmail dot com>
 
-_name=urllib3
 pkgname=python-urllib3
 pkgver=2.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/urllib3/urllib3";
@@ -54,13 +53,13 @@ 
sha512sums=('492ebb3e0481ee5433f45bef184ddb01714dedcbe2eb61665c781f3dcd0d9a22620
             
'62d6787d88a2e716f0ac04fc49f6cdc586e473a660ee754ff66961922ae78bcc75d1f78b091e78557dd60f006e8e480114738c7b4ff71beac804e4fc9603240b')
 
 build() {
-  cd $_name-$pkgver
+  cd ${pkgname#python-}-$pkgver
   export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-  python -m build --wheel --no-isolation
+  python -m build --wheel --no-isolation --skip-dependency-check
 }
 
 check() {
-  cd $_name-$pkgver
+  cd ${pkgname#python-}-$pkgver
   python -m venv --system-site-packages test-env
   test-env/bin/python -m installer dist/*.whl
 
@@ -85,7 +84,7 @@ check() {
 }
 
 package() {
-  cd $_name-$pkgver
+  cd ${pkgname#python-}-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-urllib3/-/commit/37762083302f0d24068f6d68179fcbb3b033ce6b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-urllib3/-/commit/37762083302f0d24068f6d68179fcbb3b033ce6b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to