unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53824] [PATCH] Add the python-databases package.
@ 2022-02-06 16:09 Pierre-Henry Fröhring
  2022-03-24 22:29 ` Ludovic Courtès
  2023-09-01 22:38 ` bug#53824: " Vagrant Cascadian
  0 siblings, 2 replies; 3+ messages in thread
From: Pierre-Henry Fröhring @ 2022-02-06 16:09 UTC (permalink / raw)
  To: 53824; +Cc: Pierre-Henry Fröhring

---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c1b5e8ed3..7049ce61fa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28931,3 +28931,31 @@ (define-public python-types-dataclasses
      "This packages provides a collection of library stubs for Python, with
 static types.")
     (license license:asl2.0)))
+
+(define-public python-databases
+  (package
+    (name "python-databases")
+    (version "0.5.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "databases" version))
+              (sha256
+               (base32
+                "0dzb998kg35xmd50ih168320vih2w3ich798r8fc4lf9q4bb1ih2"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-aiocontextvars python-sqlalchemy))
+    (native-inputs (list python-aiosqlite python-asyncmy python-aiomysql
+                         python-asyncpg python-aiopg))
+    (home-page "https://github.com/encode/databases")
+    (synopsis "Async database support for Python")
+    (description
+     "Databases gives you simple asyncio support for a
+range of databases.
+
+It allows you to make queries using the SQLAlchemy Core expression language,
+and provides support for PostgreSQL, MySQL, and SQLite.
+
+Databases is suitable for integrating against any async Web framework,
+such as Starlette, Sanic, Responder, Quart, aiohttp, Tornado, or
+FastAPI.")
+    (license license:bsd-3)))
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#53824] [PATCH] Add the python-databases package.
  2022-02-06 16:09 [bug#53824] [PATCH] Add the python-databases package Pierre-Henry Fröhring
@ 2022-03-24 22:29 ` Ludovic Courtès
  2023-09-01 22:38 ` bug#53824: " Vagrant Cascadian
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-03-24 22:29 UTC (permalink / raw)
  To: Pierre-Henry Fröhring; +Cc: 53824

Pierre-Henry Fröhring <contact@phfrohring.com> skribis:

> +(define-public python-databases
> +  (package
> +    (name "python-databases")
> +    (version "0.5.5")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "databases" version))
> +              (sha256
> +               (base32
> +                "0dzb998kg35xmd50ih168320vih2w3ich798r8fc4lf9q4bb1ih2"))))
> +    (build-system python-build-system)
> +    (propagated-inputs (list python-aiocontextvars python-sqlalchemy))
> +    (native-inputs (list python-aiosqlite python-asyncmy python-aiomysql
> +                         python-asyncpg python-aiopg))

All these are presumably used at run time; shouldn’t they be propagated?

Thanks in advance,
Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#53824: [PATCH] Add the python-databases package.
  2022-02-06 16:09 [bug#53824] [PATCH] Add the python-databases package Pierre-Henry Fröhring
  2022-03-24 22:29 ` Ludovic Courtès
@ 2023-09-01 22:38 ` Vagrant Cascadian
  1 sibling, 0 replies; 3+ messages in thread
From: Vagrant Cascadian @ 2023-09-01 22:38 UTC (permalink / raw)
  To: Pierre-Henry Fröhring, 53824-done

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

> +(define-public python-databases
> +  (package
> +    (name "python-databases")
> +    (version "0.5.5")

This was added in:

b4da7c213336342c2f345a45d7b2e9105a893638 gnu: Add python-databases.

And updated in:

8f01f084d33022a0341b98d5d0ec1d93d625846e gnu: python-databases: Update to 0.7.0.

Marking as done.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-01 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-06 16:09 [bug#53824] [PATCH] Add the python-databases package Pierre-Henry Fröhring
2022-03-24 22:29 ` Ludovic Courtès
2023-09-01 22:38 ` bug#53824: " Vagrant Cascadian

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).