emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#36210: closed ([PATCH 1/3] gnu: Add python-bsddb3)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36210: closed ([PATCH 1/3] gnu: Add python-bsddb3)
Date: Wed, 26 Jun 2019 13:29:02 +0000

Your message dated Wed, 26 Jun 2019 15:27:50 +0200
with message-id <address@hidden>
and subject line Re: [bug#36210] [PATCH 1/3] gnu: Add python-bsddb3
has caused the debbugs.gnu.org bug report #36210,
regarding [PATCH 1/3] gnu: Add python-bsddb3
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36210: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36210
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 1/3] gnu: Add python-bsddb3 Date: Fri, 14 Jun 2019 19:27:49 +0200
* gnu/packages/python-xyz.scm (python-bsddb3): New variable.
---
 gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a7c88e9187..7474becda5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2019 Brett Gilio <address@hidden>
 ;;; Copyright © 2019 Sam <address@hidden>
 ;;; Copyright © 2019 Jack Hill <address@hidden>
+;;; Copyright © 2019 Guillaume Le Vaillant <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -88,6 +89,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages dbm)
   #:use-module (gnu packages file)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gcc)
@@ -15396,3 +15398,40 @@ by Igor Pavlov.")
 
 (define-public python2-pylzma
   (package-with-python2 python-pylzma))
+
+(define-public python-bsddb3
+  (package
+    (name "python-bsddb3")
+    (version "6.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "bsddb3" version))
+       (sha256
+        (base32
+         "019db2y6bfmiqbrgg9x9f6h72qjmqh05czdn2v5sy9bl0gs23mj2"))))
+    (build-system python-build-system)
+    (inputs
+     `(("bdb" ,bdb)))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'configure-locations
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "BERKELEYDB_DIR" (assoc-ref inputs "bdb"))
+             (setenv "YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION" 
"1")
+             #t))
+         (replace 'check
+           (lambda _
+             (invoke "python3" "test3.py" "-v"))))))
+    (home-page "https://www.jcea.es/programacion/pybsddb.htm";)
+    (synopsis "Python bindings for Oracle Berkeley DB")
+    (description
+     "This module provides a nearly complete wrapping of the Oracle/Sleepycat
+C API for the Database Environment, Database, Cursor, Log Cursor, Sequence and
+Transaction objects, and each of these is exposed as a Python type in the
+bsddb3.db module.  The database objects can use various access methods: btree,
+hash, recno, and queue.  Complete support of Berkeley DB distributed
+transactions.  Complete support for Berkeley DB Replication Manager.
+Complete support for Berkeley DB Base Replication.  Support for RPC.")
+    (license license:bsd-3)))
-- 
2.22.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#36210] [PATCH 1/3] gnu: Add python-bsddb3 Date: Wed, 26 Jun 2019 15:27:50 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Hi,

Guillaume LE VAILLANT <address@hidden> skribis:

> * gnu/packages/python-xyz.scm (python-bsddb3): New variable.

Applied, thanks!


--- End Message ---

reply via email to

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