guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 32c6889aa1fbdf2615c600ba93b4550ea13bd20c
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 15:36:14 2025 +0100
gnu: python-pem: Update to 23.1.0.
* gnu/packages/python-xyz.scm (python-pem): Update to 23.1.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'set-version.
[native-inputs]: Add nss-certs-for-test, python-certifi,
python-hatch-fancy-pypi-readme, python-hatch-vcs, python-hatchling.
Remove python-sphinx.
Change-Id: I097de6b515663075a8654aaadf9bcd4387cfec9b
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d45ca8c0a6..df99b92901 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30639,22 +30639,33 @@ happened, and what caused it.")
(define-public python-pem
(package
(name "python-pem")
- (version "20.1.0")
+ (version "23.1.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pem" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hynek/pem")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1xh88ss279fprxnzd10dczmqwjhppbyvljm33zrg2mgybwd66qr7"))))
- (build-system python-build-system)
+ (base32 "01x14j1pliyxvcx8hlwlwfchn893ddkxxpxbyqhyh6hjyag2ammd"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs
- (list python-certifi
- python-coverage
+ (list nss-certs-for-test
+ python-certifi
+ python-hatch-fancy-pypi-readme
+ python-hatch-vcs
+ python-hatchling
python-pretend
python-pyopenssl
python-pytest
- python-sphinx
python-twisted))
(home-page "https://pem.readthedocs.io/")
(synopsis "Easy PEM file parsing in Python")