git » python-pycurl.git » commit a01aa79

upgpkg: 7.45.4-1

author Felix Yan
2025-03-21 08:47:19 UTC
committer Felix Yan
2025-03-21 08:47:19 UTC
parent b6ac26f93577f487d5c4fd2353fb17606c2f4bbc

upgpkg: 7.45.4-1

.SRCINFO +6 -5
PKGBUILD +9 -11

diff --git a/.SRCINFO b/.SRCINFO
index d9ab079..a9f2c81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
 pkgbase = python-pycurl
 	pkgdesc = A Python 3.x interface to libcurl
-	pkgver = 7.45.3
-	pkgrel = 2
+	pkgver = 7.45.4
+	pkgrel = 1
 	url = http://pycurl.sourceforge.net/
 	arch = x86_64
 	license = LGPL-2.1-only OR MIT
-	checkdepends = python-bottle
+	checkdepends = python-flask
 	checkdepends = python-pytest
 	checkdepends = vsftpd
 	checkdepends = python-flaky
 	checkdepends = python-pyflakes
+	makedepends = git
 	makedepends = python-build
 	makedepends = python-installer
 	makedepends = python-setuptools
@@ -18,7 +19,7 @@ pkgbase = python-pycurl
 	depends = glibc
 	depends = openssl
 	depends = python
-	source = https://github.com/pycurl/pycurl/archive/REL_7_45_3/python-pycurl-7.45.3.tar.gz
-	sha512sums = d57cb918cbf77cb8869c6cc158d464ca2386980e0c6b124d6de6edfb7ef085b9b25610949ee5206a8368e01f39eb5e6495a132d950b425df5b5dc6911c2331a3
+	source = git+https://github.com/pycurl/pycurl.git#tag=REL_7_45_4
+	sha512sums = 80ba18c4054f61182c99fec6c3ec08fb60d9ded8e8f7ef8bcb8b8767c5acdfce6daaddb05259ef1c06c343823563d4e5fbec73a7029a09629422893e37ba018c
 
 pkgname = python-pycurl
diff --git a/PKGBUILD b/PKGBUILD
index 4963614..0ffe17b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,22 +4,20 @@
 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
 
 pkgname=python-pycurl
-_name="${pkgname#python-}"
-pkgver=7.45.3
-_version="REL_${pkgver//./_}"
-pkgrel=2
+pkgver=7.45.4
+pkgrel=1
 pkgdesc="A Python 3.x interface to libcurl"
 arch=('x86_64')
 url="http://pycurl.sourceforge.net/"
 license=('LGPL-2.1-only OR MIT')
 depends=('curl' 'glibc' 'openssl' 'python')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
-checkdepends=('python-bottle' 'python-pytest' 'vsftpd' 'python-flaky' 'python-pyflakes')
-source=("https://github.com/pycurl/pycurl/archive/$_version/$pkgname-$pkgver.tar.gz")
-sha512sums=('d57cb918cbf77cb8869c6cc158d464ca2386980e0c6b124d6de6edfb7ef085b9b25610949ee5206a8368e01f39eb5e6495a132d950b425df5b5dc6911c2331a3')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-flask' 'python-pytest' 'vsftpd' 'python-flaky' 'python-pyflakes')
+source=("git+https://github.com/pycurl/pycurl.git#tag=REL_${pkgver//./_}")
+sha512sums=('80ba18c4054f61182c99fec6c3ec08fb60d9ded8e8f7ef8bcb8b8767c5acdfce6daaddb05259ef1c06c343823563d4e5fbec73a7029a09629422893e37ba018c')
 
 build() {
-  cd $_name-$_version
+  cd pycurl
   # the unified source release builds (see PYCURL_RELEASE=1 in Makefile) do not work with tests
   python -m build --wheel --no-isolation
   # needed for tests
@@ -63,14 +61,14 @@ check() {
     --deselect tests/multi_socket_select_test.py::MultiSocketSelectTest::test_multi_socket_select
   )
 
-  cd $_name-$_version
+  cd pycurl
   python -m installer --destdir=test_dir dist/*.whl
   export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
   pytest "${pytest_options[@]}"
 }
 
 package() {
-  cd $_name-$_version
+  cd pycurl
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 COPYING-MIT -t "$pkgdir"/usr/share/licenses/$pkgname/
 }