* [bug#68649] [PATCH 1/3] gnu: Add python-zconfig.
2024-01-21 21:19 [bug#68649] [PATCH 0/3] gnu: Add python-zodb Troy Figiel
@ 2024-01-21 21:12 ` Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 2/3] gnu: Add python-zodbpickle Troy Figiel
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-21 21:12 UTC (permalink / raw)
To: 68649
* gnu/packages/python-web.scm (python-zconfig): New variable.
---
gnu/packages/python-web.scm | 38 +++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0c7303fa99..91e60bad8b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2651,6 +2651,44 @@ (define-public python-zc-lockfile
files. These locks can also be used to mediate access to other files.")
(license license:zpl2.1)))
+(define-public python-zconfig
+ (package
+ (name "python-zconfig")
+ (version "4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ZConfig" version))
+ (sha256
+ (base32 "0mh13p38vq7ip4zkvaplzr8w0mqrmmqiyb5y663d165slvxl5mpq"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ ;; This test assumes we still have setup.py in the
+ ;; directory from which we import zconfig, which
+ ;; does not work after installing the package.
+ (delete-file-recursively
+ "src/ZConfig/tests/test_readme.py")
+ (invoke "zope-testrunner" "-vv" "--test-path=src"
+ "--all"))
+ (format #t "test suite not run~%")))))))
+ (native-inputs (list python-docutils python-manuel python-zope-exceptions
+ python-zope-testrunner))
+ (home-page "https://github.com/zopefoundation/ZConfig/")
+ (synopsis "Structured configuration library intended for general use")
+ (description
+ "@code{zconfig} is a configuration library intended for general
+use. It supports a hierarchical schema-driven configuration model that allows
+a schema to specify data conversion routines written in Python. Its model is
+very different from the model supported by the @code{configparser} module
+found in Python's standard library, and is more suitable to
+configuration-intensive applications.")
+ (license license:zpl2.1)))
+
(define-public python-zope-event
(package
(name "python-zope-event")
--
2.42.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#68649] [PATCH 2/3] gnu: Add python-zodbpickle.
2024-01-21 21:19 [bug#68649] [PATCH 0/3] gnu: Add python-zodb Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 1/3] gnu: Add python-zconfig Troy Figiel
@ 2024-01-21 21:12 ` Troy Figiel
2024-01-21 21:13 ` [bug#68649] [PATCH 3/3] gnu: Add python-zodb Troy Figiel
2024-03-14 23:32 ` bug#68649: [PATCH 0/3] " Sharlatan Hellseher
3 siblings, 0 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-21 21:12 UTC (permalink / raw)
To: 68649
* gnu/packages/python-web.scm (python-zodbpickle): New variable.
---
gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 91e60bad8b..4267b417c8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2689,6 +2689,34 @@ (define-public python-zconfig
configuration-intensive applications.")
(license license:zpl2.1)))
+(define-public python-zodbpickle
+ (package
+ (name "python-zodbpickle")
+ (version "3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "zodbpickle" version))
+ (sha256
+ (base32 "04fcmdx10lk5ww740avphd1fj5wic2bav9skkavhif670vkk5v5r"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "zope-testrunner" "-vv" "--test-path=src"
+ "--all")
+ (format #t "test suite not run~%")))))))
+ (native-inputs (list python-zope-testrunner))
+ (home-page "https://github.com/zopefoundation/zodbpickle")
+ (synopsis "Uniform pickling interface for @code{zodb}")
+ (description
+ "This package is a fork of the @code{pickle} module (and the
+supporting C extension) from both Python 3.2 and Python 3.3. The fork adds
+support for the @code{noload} operations used by @code{zodb}.")
+ (license (list license:psfl license:zpl2.1))))
+
(define-public python-zope-event
(package
(name "python-zope-event")
--
2.42.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#68649] [PATCH 3/3] gnu: Add python-zodb.
2024-01-21 21:19 [bug#68649] [PATCH 0/3] gnu: Add python-zodb Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 1/3] gnu: Add python-zconfig Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 2/3] gnu: Add python-zodbpickle Troy Figiel
@ 2024-01-21 21:13 ` Troy Figiel
2024-03-14 23:32 ` bug#68649: [PATCH 0/3] " Sharlatan Hellseher
3 siblings, 0 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-21 21:13 UTC (permalink / raw)
To: 68649
* gnu/packages/python-web.scm (python-zodb): New variable.
---
gnu/packages/python-web.scm | 51 +++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4267b417c8..762b7d7bb2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2689,6 +2689,57 @@ (define-public python-zconfig
configuration-intensive applications.")
(license license:zpl2.1)))
+(define-public python-zodb
+ (package
+ (name "python-zodb")
+ (version "5.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ZODB" version))
+ (sha256
+ (base32 "1pv4w8mnx6j4xvkcjbkh99pv8ljby7g9f7zjq7zhdmk06sykmiy6"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ ;; This test does not work after installing the
+ ;; package, since it expects the ZODB source code
+ ;; to reside in the src/ directory.
+ (delete-file-recursively
+ "src/ZODB/tests/testdocumentation.py")
+ (invoke "zope-testrunner" "-vv" "--test-path=src"
+ "--all"))
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs (list python-btrees
+ python-persistent
+ python-zconfig
+ python-six
+ python-transaction
+ python-zc-lockfile
+ python-zodbpickle
+ python-zope-interface))
+ (native-inputs (list python-manuel python-zope-testing
+ python-zope-testrunner))
+ (home-page "http://zodb-docs.readthedocs.io")
+ (synopsis "Object-oriented database for Python")
+ (description
+ "@code{ZODB} provides an object-oriented and @acronym{ACID,
+Atomicity Consistency Isolation Durability} compliant database for Python with
+a high degree of transparency. @code{ZODB} is an object-oriented database,
+not an object-relational mapping. This comes with several advantaged:
+
+@itemize
+@item no separate language for database operations
+@item very little impact on your code to make objects persistent
+@item no database mapper that partially hides the database.
+@item almost no seam between code and database.
+@end itemize")
+ (license license:zpl2.1)))
+
(define-public python-zodbpickle
(package
(name "python-zodbpickle")
--
2.42.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#68649] [PATCH 0/3] gnu: Add python-zodb.
@ 2024-01-21 21:19 Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 1/3] gnu: Add python-zconfig Troy Figiel
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Troy Figiel @ 2024-01-21 21:19 UTC (permalink / raw)
To: 68649
This series of patches add python-zodb and its required dependencies.
Troy Figiel (3):
gnu: Add python-zconfig.
gnu: Add python-zodbpickle.
gnu: Add python-zodb.
gnu/packages/python-web.scm | 117 ++++++++++++++++++++++++++++++++++++
1 file changed, 117 insertions(+)
base-commit: 121de47decc1029c06f6e46e5f06d7fefe8e85ec
--
2.42.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#68649: [PATCH 0/3] gnu: Add python-zodb.
2024-01-21 21:19 [bug#68649] [PATCH 0/3] gnu: Add python-zodb Troy Figiel
` (2 preceding siblings ...)
2024-01-21 21:13 ` [bug#68649] [PATCH 3/3] gnu: Add python-zodb Troy Figiel
@ 2024-03-14 23:32 ` Sharlatan Hellseher
3 siblings, 0 replies; 5+ messages in thread
From: Sharlatan Hellseher @ 2024-03-14 23:32 UTC (permalink / raw)
To: 68649-done
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
Hi,
I've updated python-zodbpickle to 3.2 build and lint passed successfully
for all 3 patches.
Pushed as fb377b4af7..36da1ad73d to master.
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-03-14 23:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-21 21:19 [bug#68649] [PATCH 0/3] gnu: Add python-zodb Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 1/3] gnu: Add python-zconfig Troy Figiel
2024-01-21 21:12 ` [bug#68649] [PATCH 2/3] gnu: Add python-zodbpickle Troy Figiel
2024-01-21 21:13 ` [bug#68649] [PATCH 3/3] gnu: Add python-zodb Troy Figiel
2024-03-14 23:32 ` bug#68649: [PATCH 0/3] " Sharlatan Hellseher
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.