guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51150] [PATCH 2/2] gnu: Remove python2-faker.


From: jgart
Subject: [bug#51150] [PATCH 2/2] gnu: Remove python2-faker.
Date: Tue, 12 Oct 2021 02:48:30 -0400

* gnu/packages/python-xyz.scm (python2-faker): Remove variable.
---
 gnu/packages/python-xyz.scm | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 61ac147ec7..a1ecfb0e03 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15699,27 +15699,6 @@ parsing UK postcodes.")
   (description
    "Faker is a Python package that generates fake data such as names,
 addresses, and phone numbers.")
-
-;; Faker 4.0 dropped Python 2 support, so we stick with this older version 
here.
-(define-public python2-faker
-  (let ((base (package-with-python2 (strip-python2-variant
-                                     python-faker))))
-    (package
-      (inherit base)
-      (version "3.0.1")
-      (source (origin
-                (method url-fetch)
-                (uri (pypi-uri "Faker" version))
-                (sha256
-                 (base32
-                  "11cr0qvspkdh6198rqy56qildk7bnp6llj8kyy1dan5sp5n4dxy7"))))
-      (native-inputs
-       `(("python-mock" ,python2-mock)
-         ,@(package-native-inputs base)))
-      (propagated-inputs
-       `(("python2-ipaddress" ,python2-ipaddress)
-         ("python2-six" ,python2-six)
-         ,@(package-propagated-inputs base))))))
   (license license:expat)))
 
 (define-public python-pyaml
-- 
2.33.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]