From 1639e0b7b60389cf74548544a5e28f9a0b6757c7 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 15:33:35 -0500 Subject: gnu: python-smmap: Update to version 3.0.1, deprecate python-smmap2. * gnu/packages/python-xyz.scm (python-smmap): Rename from python-smmap2, and update to version 3.0.1. (python-smmap2, python2-smmap2): Preserve original bindings, marked as deprecated. * gnu/packages/version-control.scm (python-gitdb)[propagated-inputs]: Depend on the new python-smmap package. --- gnu/packages/python-xyz.scm | 20 +++++++++++++------- gnu/packages/version-control.scm | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1bd1ef9e44..27af30c488 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13743,27 +13743,33 @@ many of the popular cloud service providers using a unified API.") (define-public python2-apache-libcloud (package-with-python2 python-apache-libcloud)) -(define-public python-smmap2 +(define-public python-smmap (package - (name "python-smmap2") - (version "2.0.5") + (name "python-smmap") + (version "3.0.1") (source (origin (method url-fetch) - (uri (pypi-uri "smmap2" version)) + (uri (pypi-uri "smmap" version)) (sha256 - (base32 "16k03pcnxd3lgzwgbd7nl4jwzm1wmahirvd09kljnzvy96hgza99")))) + (base32 "0ijlnv60y8f41py1wnn5n1a1i81cxd9dfpdhr0k3cgkrcbz8850p")))) (build-system python-build-system) (native-inputs `(("python-nosexcover" ,python-nosexcover))) (home-page "https://github.com/Byron/smmap") (synopsis "Python sliding window memory map manager") - (description "@code{smmap2} is a pure Python implementation of a sliding + (description "@code{smmap} is a pure Python implementation of a sliding window memory map manager.") (license license:bsd-3))) +(define-public python-smmap2 + (deprecated-package "python-smmap2" python-smmap)) + +(define-public python2-smmap + (package-with-python2 python-smmap)) + (define-public python2-smmap2 - (package-with-python2 python-smmap2)) + (deprecated-package "python2-smmap2" python2-smmap)) (define-public python-regex (package diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index cc866ec888..6597844a9b 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -918,7 +918,7 @@ default) of the repository.") (setenv "TRAVIS" "1") (invoke "nosetests" "-v")))))) (propagated-inputs - `(("python-smmap2" ,python-smmap2))) + `(("python-smmap" ,python-smmap))) (native-inputs `(("git" ,git) ("python-nose" ,python-nose))) -- cgit 1.4.1