From 3bf5a19609560c7ba985eda66019eda15aaf4a86 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 21 Aug 2022 00:33:52 +0200 Subject: [PATCH] gnu: python-tox: Move to python-check. * gnu/packages/python-xyz.scm (python-tox): Move from here... * gnu/packages/python-check.scm (python-tox): ... to here. Signed-off-by: Liliana Marie Prikler --- gnu/packages/python-check.scm | 37 +++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 37 ----------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index d7a7a90706..dc2e474c34 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2287,6 +2287,43 @@ (define-public python-test-utils which make writing and running functional and integration tests easier.") (license license:asl2.0))) +(define-public python-tox + (package + (name "python-tox") + (version "3.20.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tox" version)) + (sha256 + (base32 + "0nk0nyzhzamcrvn0qqzzy54isxxqwdi28swml7a2ym78c3f9sqpb")))) + (build-system python-build-system) + (arguments + ;; FIXME: Tests require pytest-timeout, which itself requires + ;; pytest>=2.8.0 for installation. + '(#:tests? #f)) + (propagated-inputs + (list python-filelock + python-packaging + python-pluggy + python-py + python-six + python-toml + python-virtualenv)) + (native-inputs + (list ; FIXME: Missing: ("python-pytest-timeout" ,python-pytest-timeout) + python-pytest ; >= 2.3.5 + python-setuptools-scm)) + (home-page "https://tox.readthedocs.io") + (synopsis "Virtualenv-based automation of test activities") + (description "Tox is a generic virtualenv management and test command line +tool. It can be used to check that a package installs correctly with +different Python versions and interpreters, or run tests in each type of +supported environment, or act as a frontend to continuous integration +servers.") + (license license:expat))) + (define-public python-sybil (package (name "python-sybil") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 181ba975d3..1fa4fd7428 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14608,43 +14608,6 @@ (define-public python-deprecation that deprecated code is eventually removed.") (license license:asl2.0))) -(define-public python-tox - (package - (name "python-tox") - (version "3.20.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "tox" version)) - (sha256 - (base32 - "0nk0nyzhzamcrvn0qqzzy54isxxqwdi28swml7a2ym78c3f9sqpb")))) - (build-system python-build-system) - (arguments - ;; FIXME: Tests require pytest-timeout, which itself requires - ;; pytest>=2.8.0 for installation. - '(#:tests? #f)) - (propagated-inputs - (list python-filelock - python-packaging - python-pluggy - python-py - python-six - python-toml - python-virtualenv)) - (native-inputs - (list ; FIXME: Missing: ("python-pytest-timeout" ,python-pytest-timeout) - python-pytest ; >= 2.3.5 - python-setuptools-scm)) - (home-page "https://tox.readthedocs.io") - (synopsis "Virtualenv-based automation of test activities") - (description "Tox is a generic virtualenv management and test command line -tool. It can be used to check that a package installs correctly with -different Python versions and interpreters, or run tests in each type of -supported environment, or act as a frontend to continuous integration -servers.") - (license license:expat))) - (define-public python-jmespath (package (name "python-jmespath")