From 501a8a3e687b21ae79d0e60ab17c4e97ee948166 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Mon, 27 Nov 2023 23:45:21 +0000 Subject: [PATCH] python3-service_identity: update to 23.1.0. --- .../patches/drop-fancy-pypi-readme.diff | 46 +++++++++++++++++++ srcpkgs/python3-service_identity/template | 12 ++--- 2 files changed, 52 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/python3-service_identity/patches/drop-fancy-pypi-readme.diff diff --git a/srcpkgs/python3-service_identity/patches/drop-fancy-pypi-readme.diff b/srcpkgs/python3-service_identity/patches/drop-fancy-pypi-readme.diff new file mode 100644 index 0000000000000..73d6def693588 --- /dev/null +++ b/srcpkgs/python3-service_identity/patches/drop-fancy-pypi-readme.diff @@ -0,0 +1,46 @@ +--- a/pyproject.toml 2023-06-14 08:54:35.000000000 +0100 ++++ b/pyproject.toml 2023-11-27 23:41:30.341946203 +0000 +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"] ++requires = ["hatchling", "hatch-vcs"] + build-backend = "hatchling.build" + + [project] +@@ -52,36 +52,6 @@ + source = "vcs" + raw-options = { local_scheme = "no-local-version" } + +-[tool.hatch.metadata.hooks.fancy-pypi-readme] +-content-type = "text/markdown" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-text = "# Service Identity Verification for pyOpenSSL & *cryptography*\n" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-path = "README.md" +-start-after = "spiel-begin -->\n" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-text = """ +- +- +-## Release Information +- +-""" +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-path = "CHANGELOG.md" +-pattern = "\n(###.+?\n)## " +- +-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +-text = """ +----- +- +-[→ Complete Changelog](https://service-identity.readthedocs.io/en/stable/changelog.html) +-""" +- +- + [tool.pytest.ini_options] + addopts = ["-ra", "--strict-markers", "--strict-config"] + xfail_strict = true diff --git a/srcpkgs/python3-service_identity/template b/srcpkgs/python3-service_identity/template index c5fce0af391e7..b9a1528874330 100644 --- a/srcpkgs/python3-service_identity/template +++ b/srcpkgs/python3-service_identity/template @@ -1,18 +1,18 @@ # Template file for 'python3-service_identity' pkgname=python3-service_identity -version=18.1.0 -revision=8 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=23.1.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs python3-build" depends="python3-attrs python3-pyasn1-modules python3-cryptography python3-six" checkdepends="${depends}" short_desc="Service identity verification for Python (Python3)" maintainer="Orphaned " license="MIT" homepage="https://service-identity.readthedocs.org/" -changelog="https://raw.githubusercontent.com/pyca/service-identity/main/CHANGELOG.rst" +changelog="https://raw.githubusercontent.com/pyca/service-identity/main/CHANGELOG.md" distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz" -checksum=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d +checksum=ecb33cd96307755041e978ab14f8b14e13b40f1fbd525a4dc78f46d2b986431d post_install() { vlicense LICENSE