From f57a9a4d963d57dfa9bbbe391601c05a7a724320 Mon Sep 17 00:00:00 2001 From: triallax Date: Mon, 1 May 2023 18:44:08 +0300 Subject: [PATCH 1/5] python3-urllib3: update to 2.0.3. --- srcpkgs/python3-urllib3/template | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-urllib3/template b/srcpkgs/python3-urllib3/template index 9d35f08c6136..8bcc2cf16fb4 100644 --- a/srcpkgs/python3-urllib3/template +++ b/srcpkgs/python3-urllib3/template @@ -1,26 +1,21 @@ # Template file for 'python3-urllib3' pkgname=python3-urllib3 -version=1.26.12 +version=2.0.3 revision=1 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-six" -checkdepends="python3-pytest python3-trustme python3-mock python3-pysocks - python3-tornado python3-dateutil" +build_style=python3-pep517 +hostmakedepends="python3-setuptools hatchling" +depends="python3" +checkdepends="python3-pytest python3-freezegun python3-pytest-timeout + python3-trustme python3-mock python3-pysocks python3-tornado python3-dateutil + python3-cryptography" short_desc="HTTP library with thread-safe connection pooling" maintainer="Orphaned " license="MIT" homepage="https://urllib3.readthedocs.io/" +changelog="https://raw.githubusercontent.com/urllib3/urllib3/main/CHANGES.rst" distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz" -checksum=3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e - -pre_check() { - rm test/test_retry{,_deprecated}.py # FIXME -} +checksum=bee28b5e56addb8226c96f7f13ac28cb4c301dd5ea8a6ca179c0b9835e032825 post_install() { - rm ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py - ln -sf ../../six.py ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py - vlicense LICENSE.txt } From 13c0ac05649a81c396329264487d0b523430a52f Mon Sep 17 00:00:00 2001 From: triallax Date: Wed, 7 Jun 2023 16:43:00 +0100 Subject: [PATCH 2/5] python3-sentry: update to 1.25.0. --- srcpkgs/python3-sentry/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template index d8cd7aecc0f7..1a51efd146d4 100644 --- a/srcpkgs/python3-sentry/template +++ b/srcpkgs/python3-sentry/template @@ -1,17 +1,18 @@ # Template file for 'python3-sentry' pkgname=python3-sentry -version=1.0.0 -revision=3 -build_style=python3-module -hostmakedepends=python3-setuptools +version=1.25.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" depends="python3-certifi python3-urllib3" checkdepends="${depends}" short_desc="New Python SDK for Sentry.io" maintainer="Orphaned " license="BSD-2-Clause" homepage="https://github.com/getsentry/sentry-python" +changelog="https://raw.githubusercontent.com/getsentry/sentry-python/master/CHANGELOG.md" distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz" -checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece +checksum=a53fbdad48764fb4d47d16e0f554f99890e80b85def906e7ad9daf828808127e do_check() { cd build/lib From f797ff6b77646471fdab7fe935671282eaa80d93 Mon Sep 17 00:00:00 2001 From: triallax Date: Wed, 7 Jun 2023 16:51:10 +0100 Subject: [PATCH 3/5] python3-requests: update to 2.31.0. --- srcpkgs/python3-requests/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-requests/template b/srcpkgs/python3-requests/template index a63200112db3..2f64822d4cd1 100644 --- a/srcpkgs/python3-requests/template +++ b/srcpkgs/python3-requests/template @@ -1,19 +1,19 @@ # Template file for 'python3-requests' pkgname=python3-requests -version=2.28.2 +version=2.31.0 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna" checkdepends="python3-pytest $depends python3-trustme python3-pytest-httpbin - python3-pytest-mock python3-pysocks" + python3-pytest-mock python3-pysocks python3-pytest-xdist" short_desc="Python3 HTTP library for human beings" maintainer="Michal Vasilek " license="Apache-2.0" homepage="https://python-requests.org/" changelog="https://raw.githubusercontent.com/psf/requests/master/HISTORY.md" distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz" -checksum=98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf +checksum=942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 post_patch() { vsed -i '/certifi/d' setup.py From b1cee5da772effe3a816d2f2240577a63f364928 Mon Sep 17 00:00:00 2001 From: triallax Date: Wed, 7 Jun 2023 17:07:31 +0100 Subject: [PATCH 4/5] python3-requests-unixsocket: remove unused dependency. Not revbumping because python3-urllib3 is a dependency of python3-requests anyway. --- srcpkgs/python3-requests-unixsocket/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/python3-requests-unixsocket/template b/srcpkgs/python3-requests-unixsocket/template index 110a5eb82771..107dd1f74f00 100644 --- a/srcpkgs/python3-requests-unixsocket/template +++ b/srcpkgs/python3-requests-unixsocket/template @@ -4,7 +4,7 @@ version=0.3.0 revision=2 build_style=python3-module hostmakedepends="python3-setuptools python3-pbr" -depends="python3-requests python3-urllib3" +depends="python3-requests" checkdepends="$depends python3-waitress python3-pytest" short_desc="Use requests to talk HTTP via a UNIX domain socket" maintainer="Andrew Benson " From e6da5e604536b3fb7a239c63f2e62241f6f2b572 Mon Sep 17 00:00:00 2001 From: triallax Date: Wed, 7 Jun 2023 17:08:26 +0100 Subject: [PATCH 5/5] python3-pyfavicon: remove unused checkdepends. --- srcpkgs/python3-pyfavicon/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/python3-pyfavicon/template b/srcpkgs/python3-pyfavicon/template index c891d95f6b6c..849da4f303b2 100644 --- a/srcpkgs/python3-pyfavicon/template +++ b/srcpkgs/python3-pyfavicon/template @@ -5,8 +5,7 @@ revision=4 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-BeautifulSoup4 python3-Pillow python3-aiohttp" -checkdepends="$depends python3-pytest-cov python3-requests python3-docopt - python3-urllib3" +checkdepends="$depends python3-pytest" short_desc="Async favicon fetcher for Python" maintainer="Đoàn Trần Công Danh " license="MIT"