From 941edd29f46547f6eb1b5b5ce36510e3fe9eb708 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 15 Jul 2025 13:59:43 +0100 Subject: gnu: python-six: Do not inherit. python-six-bootstrap is no longer required, this change removes it and refactor python-six as a stand alone package. * gnu/packages/python-build.scm (python-six-bootstrap): Remove variable. * gnu/packages/python-xyz.scm (python-six): Do not inherit, re-use package definition from python-six-bootstrap. (python2-six) [native-inputs]: Add python-setuptools, and python-wheel. Change-Id: Ia4abf667e0a2df65c171b3c8f5808d8e6d597b17 --- gnu/packages/python-build.scm | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'gnu/packages/python-build.scm') diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index a367300bf0d..7568e72e57d 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -154,30 +154,6 @@ write-only counterpart to Tomli, which is a read-only TOML parser.") (description "This package provides a Python parser for TOML-0.4.0.") (license license:expat))) -(define-public python-six-bootstrap - (package - (name "python-six-bootstrap") - (version "1.17.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "six" version)) - (sha256 - (base32 "109ajcsfhrz33lbwbb337w34crc3lb9rjnxrcpnbczlf8rfk6w7z")))) - (build-system pyproject-build-system) - (arguments `(#:tests? #f)) ;to avoid pytest dependency - (native-inputs - (list python-setuptools)) - (home-page "https://pypi.org/project/six/") - (synopsis "Python 2 and 3 compatibility utilities") - (description - "Six is a Python 2 and 3 compatibility library. It provides utility -functions for smoothing over the differences between the Python versions with -the goal of writing Python code that is compatible on both Python versions. -Six supports every Python version since 2.5. It is contained in only one -Python file, so it can be easily copied into your project.") - (license license:x11))) - (define-public python-tomli (package (name "python-tomli") -- cgit v1.3