From: Tobias Geerinckx-Rice <me@tobias.gr>
To: 32055@debbugs.gnu.org
Subject: [bug#32055] [PATCH 1/2] gnu: Add python-pymysql.
Date: Wed, 4 Jul 2018 23:15:00 +0200 [thread overview]
Message-ID: <20180704211501.26205-1-me@tobias.gr> (raw)
In-Reply-To: <87bmbmoghm.fsf@lapdog.tobias.gr>
* gnu/packages/databases.scm (python-pymysql, python2-pymysql): New
public variables.
---
gnu/packages/databases.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0f1e47f48..7357dba81 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -84,6 +84,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-crypto)
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
@@ -759,6 +760,34 @@ pictures, sounds, or video.")
(base32
"0w7bwf19wbdd3jjbjv03cnx56qka4801srcbsayk9v792awv7zga"))))))
+(define-public python-pymysql
+ (package
+ (name "python-pymysql")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyMySQL" version))
+ (sha256
+ (base32
+ "0gvi63f1zq1bbd30x28kqyx351hal1yc323ckp0mihainb5n1iwy"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-unittest2" ,python-unittest2)))
+ (inputs
+ `(("python-cryptography" ,python-cryptography)))
+ (arguments
+ `(#:tests? #f)) ; tests expect a running MySQL
+ (home-page "https://github.com/PyMySQL/PyMySQL/")
+ (synopsis "Pure-Python MySQL Driver")
+ (description
+ "PyMySQL is a pure-Python MySQL client library, based on PEP 249.
+Most public APIs are compatible with @command{mysqlclient} and MySQLdb.")
+ (license license:expat)))
+
+(define-public python2-pymysql
+ (package-with-python2 python-pymysql))
+
(define-public qdbm
(package
(name "qdbm")
--
2.16.2
next prev parent reply other threads:[~2018-07-04 21:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 21:09 [bug#32055] [PATCH 0/2] Add sqlcrush Tobias Geerinckx-Rice
2018-07-04 21:15 ` Tobias Geerinckx-Rice [this message]
2018-07-04 21:15 ` [bug#32055] [PATCH 2/2] gnu: " Tobias Geerinckx-Rice
2018-07-12 21:24 ` Ludovic Courtès
2018-07-12 21:23 ` [bug#32055] [PATCH 1/2] gnu: Add python-pymysql Ludovic Courtès
2018-08-21 22:53 ` bug#32055: [PATCH 0/2] Add sqlcrush Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180704211501.26205-1-me@tobias.gr \
--to=me@tobias.gr \
--cc=32055@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.