unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53822] [PATCH] Add python-aiopg package.
@ 2022-02-06 14:47 Pierre-Henry Fröhring
  2022-02-06 14:54 ` Maxime Devos
  2022-03-24 22:26 ` bug#53822: " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Pierre-Henry Fröhring @ 2022-02-06 14:47 UTC (permalink / raw)
  To: 53822; +Cc: Pierre-Henry Fröhring

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c1b5e8ed3..a28a050480 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28931,3 +28931,24 @@ (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-aiopg
+  (package
+    (name "python-aiopg")
+    (version "1.3.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "aiopg" version))
+              (sha256
+               (base32
+                "1mwmypsfzh8adjbyvf7kqv9h3k1kf5ykhi1g3ahw4wqdxaj6nz2l"))))
+    (build-system python-build-system)
+    (native-inputs (list python-sqlalchemy))
+    (propagated-inputs (list python-async-timeout python-psycopg2-binary))
+    (home-page "https://aiopg.readthedocs.io")
+    (synopsis "Postgres integration with asyncio")
+    (description
+     "aiopg is a library for accessing a PostgreSQL
+database from the asyncio (PEP-3156/tulip) framework.  It wraps
+asynchronous features of the Psycopg database driver.")
+    (license license:bsd-3)))
-- 
2.34.0





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

* [bug#53822] [PATCH] Add python-aiopg package.
  2022-02-06 14:47 [bug#53822] [PATCH] Add python-aiopg package Pierre-Henry Fröhring
@ 2022-02-06 14:54 ` Maxime Devos
  2022-03-24 22:26 ` bug#53822: " Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Devos @ 2022-02-06 14:54 UTC (permalink / raw)
  To: Pierre-Henry Fröhring, 53822

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

Pierre-Henry Fröhring schreef op zo 06-02-2022 om 15:47 [+0100]:
> +    (native-inputs (list python-sqlalchemy))
> +    (propagated-inputs (list python-async-timeout python-psycopg2-binary))
> +    (home-page "https://aiopg.readthedocs.io")
> +    (synopsis "Postgres integration with asyncio")
> +    (description
> +     "aiopg is a library for accessing a PostgreSQL
> +database from the asyncio (PEP-3156/tulip) framework.  It wraps
> +asynchronous features of the Psycopg database driver.")

Given that python-aiopg is a SQL library, python-sqlalchemy looks like
a (runtime) dependency of 'python-aiopg' to me.  Or perhaps it's only
for tests, then putting it in native-inputs is correct.

Greetings,
MMaxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#53822: [PATCH] Add python-aiopg package.
  2022-02-06 14:47 [bug#53822] [PATCH] Add python-aiopg package Pierre-Henry Fröhring
  2022-02-06 14:54 ` Maxime Devos
@ 2022-03-24 22:26 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-03-24 22:26 UTC (permalink / raw)
  To: Pierre-Henry Fröhring; +Cc: 53822-done

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

> +(define-public python-aiopg

Added a commit log and applied, thanks!




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

end of thread, other threads:[~2022-03-24 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06 14:47 [bug#53822] [PATCH] Add python-aiopg package Pierre-Henry Fröhring
2022-02-06 14:54 ` Maxime Devos
2022-03-24 22:26 ` bug#53822: " Ludovic Courtès

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).