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


Commits:
6b35e6b9 by Carl Smedstad at 2024-11-18T06:45:07+01:00
upgpkg: 2.1.3-6: Python 3.13 rebuild

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + fix-tests.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-furl
        pkgdesc = A small Python library that makes parsing and manipulating 
URLs easy
        pkgver = 2.1.3
-       pkgrel = 5
+       pkgrel = 6
        url = https://github.com/gruns/furl
        arch = any
        license = Unlicense
@@ -10,10 +10,14 @@ pkgbase = python-furl
        makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-wheel
+       depends = python
        depends = python-orderedmultidict
        depends = python-six
        source = 
https://files.pythonhosted.org/packages/source/f/furl/furl-2.1.3.tar.gz
+       source = fix-tests.patch
        sha512sums = 
ce7455bd1a352243efd9715e80e9f9979631cc058927edcd8c52ccb85d27fd8f32079611bb29c487d2add2d1d941d56e4db75520339dc371b1539811ccefda02
+       sha512sums = 
13d0f817d0fa80f32cdda719d800ff6a8911f6d5b9efdd6a92e9c398b1d3e04a36458236e5c55e87c52c6007b04ced12d9ece3826eded58de428e10ce5ca1bf7
        b2sums = 
128d43464f75032f726d6408ee7d0c715b617846798ff80c43c91bac025c943492b0ca4f7271b6989d1a73db8948a313aab2930a8f6ed81d62e7b03e984e6f3d
+       b2sums = 
4b984fa3c51f21034ccea22e12ac839028b4e2d8e80469867e1a1a40925978dcd2d91dd8d53a8764091dc2dc5d8500a1f7a37e227527a3a9015798c9a722dc92
 
 pkgname = python-furl


=====================================
PKGBUILD
=====================================
@@ -4,17 +4,27 @@
 _name=furl
 pkgname=python-furl
 pkgver=2.1.3
-pkgrel=5
+pkgrel=6
 pkgdesc="A small Python library that makes parsing and manipulating URLs easy"
 arch=('any')
 url="https://github.com/gruns/furl";
 license=('Unlicense')
-depends=('python-orderedmultidict' 'python-six')
+depends=('python' 'python-orderedmultidict' 'python-six')
 makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha512sums=('ce7455bd1a352243efd9715e80e9f9979631cc058927edcd8c52ccb85d27fd8f32079611bb29c487d2add2d1d941d56e4db75520339dc371b1539811ccefda02')
-b2sums=('128d43464f75032f726d6408ee7d0c715b617846798ff80c43c91bac025c943492b0ca4f7271b6989d1a73db8948a313aab2930a8f6ed81d62e7b03e984e6f3d')
+source=(
+  
"https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";
+  "fix-tests.patch"
+)
+sha512sums=('ce7455bd1a352243efd9715e80e9f9979631cc058927edcd8c52ccb85d27fd8f32079611bb29c487d2add2d1d941d56e4db75520339dc371b1539811ccefda02'
+            
'13d0f817d0fa80f32cdda719d800ff6a8911f6d5b9efdd6a92e9c398b1d3e04a36458236e5c55e87c52c6007b04ced12d9ece3826eded58de428e10ce5ca1bf7')
+b2sums=('128d43464f75032f726d6408ee7d0c715b617846798ff80c43c91bac025c943492b0ca4f7271b6989d1a73db8948a313aab2930a8f6ed81d62e7b03e984e6f3d'
+        
'4b984fa3c51f21034ccea22e12ac839028b4e2d8e80469867e1a1a40925978dcd2d91dd8d53a8764091dc2dc5d8500a1f7a37e227527a3a9015798c9a722dc92')
+
+prepare() {
+  cd "${_name}-${pkgver}"
+  patch -Np1 -i ../fix-tests.patch
+}
 
 build() {
   cd "${_name}-${pkgver}"


=====================================
fix-tests.patch
=====================================
@@ -0,0 +1,12 @@
+diff --unified --recursive --text --new-file 
furl-2.1.3.orig/tests/test_furl.py furl-2.1.3/tests/test_furl.py
+--- furl-2.1.3.orig/tests/test_furl.py 2024-11-18 06:41:51.694860282 +0100
++++ furl-2.1.3/tests/test_furl.py      2024-11-18 06:42:05.701539824 +0100
+@@ -1639,7 +1639,7 @@
+         # of a netloc, even if the netloc is empty.
+         f = furl.furl('////path')
+         assert f.netloc == '' and str(f.path) == '//path'
+-        assert f.url == '////path'
++        assert f.url == '//////path'
+ 
+         # TODO(grun): Test more odd URLs.
+ 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-furl/-/commit/6b35e6b9d6d35708ee8ead915f1ac2f3d29aa1c4

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


Reply via email to