From 0b4939e46fc556094e483ad6190424acd9d4efdc Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 22 Jun 2022 10:45:53 +0200 Subject: [PATCH 2/3] gnu: Remove references to already removed Python 2 modules. * gnu/packages/python-crypto.scm (python2-cryptography): [native-inputs]: Remove python2-hypothesis, python2-pretend, python2-pytz python2-pytest. [propageted-inputs]: Remove all. * gnu/packages/python-xyz.scm (python-idna): [properties]: Remove. * gnu/packages/time.scm (python-iso8601): [properties]: Remove. diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 92c1638c6d..479c4a3330 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -654,14 +654,8 @@ (define-public python2-cryptography ;; modules "_openssl" and "_padding". (delete 'sanity-check)))) (native-inputs - (list python2-cryptography-vectors python2-hypothesis python2-pretend - python2-pytz python2-pytest)) - (inputs (list openssl)) - (propagated-inputs - (modify-inputs (package-propagated-inputs crypto) - (prepend python2-ipaddress - python2-backport-ssl-match-hostname - python2-enum34)))))) + (list python2-cryptography-vectors)) + (inputs (list openssl))))) (define-public python-pyopenssl (package diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7d73c145b7..5746d099db 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11846,7 +11846,6 @@ (define-public python-idna suitable drop-in replacement for the “encodings.idna” module that comes with the Python standard library but currently only supports the older 2003 specification.") - (properties `((python2-variant . ,(delay python2-idna)))) (license license:bsd-4))) (define-public python-libsass diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 5b0ef6af9e..8a2fb17745 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -359,7 +359,6 @@ (define-public python-iso8601 (description "This module parses the most common forms of ISO 8601 date strings (e.g. @code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.") - (properties `((python2-variant . ,(delay python2-iso8601)))) (license expat))) (define-public python-monotonic -- 2.36.1