From 7d55bc5e2a9fd3c2e72b82090854ce86fa6e44a1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jul 2020 17:49:44 +0300 Subject: gnu: Adsd python-transaction. * gnu/packages/python-web.scm (python-transaction): New variable. --- gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3e358056b8..f23467bf8e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4227,3 +4227,27 @@ modified BTree data structure. The trees are optimized for use inside ZODB's \"optimistic concurrency\" paradigm, and include explicit resolution of conflicts detected by that mechanism.") (license license:zpl2.1))) + +(define-public python-transaction + (package + (name "python-transaction") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "transaction" version)) + (sha256 + (base32 + "0bdaks31bgfh78wnj3sij24bfysmqk25crsis6amz8kzrc0d82iv")))) + (build-system python-build-system) + (propagated-inputs + `(("python-zope-interface" ,python-zope-interface))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-mock" ,python-mock) + ("python-nose" ,python-nose))) + (home-page "https://github.com/zopefoundation/transaction") + (synopsis "Transaction management for Python") + (description "This package contains a generic transaction implementation +for Python. It is mainly used by the ZODB.") + (license license:zpl2.1))) -- cgit v1.2.3