[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/36: gnu: Add python-mysqlclient.
From: |
julien lepiller |
Subject: |
19/36: gnu: Add python-mysqlclient. |
Date: |
Thu, 11 May 2017 16:01:28 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 3b08d1a6126e0d07fc4ee35220693491402c5cf9
Author: Julien Lepiller <address@hidden>
Date: Sat Apr 22 17:24:16 2017 +0200
gnu: Add python-mysqlclient.
* gnu/packages/python.scm (python-mysqlclient, python2-mysqlclient): New
variables.
---
gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 916b005..503e653 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14533,3 +14533,38 @@ several utilities, as well as an API for building
localization tools.")
(define-public python2-translate-toolkit
(package-with-python2 python-translate-toolkit))
+
+(define-public python-mysqlclient
+ (package
+ (name "python-mysqlclient")
+ (version "1.3.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mysqlclient" version))
+ (sha256
+ (base32
+ "0qkj570x4rbsblji6frvsvp2v1ap32dqzj1lq62zp9515ffsyaj5"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("mariadb" ,mariadb)
+ ("nose" ,python-nose)
+ ("mock" ,python-mock)
+ ("py.test" ,python-pytest)))
+ (inputs
+ `(("mysql" ,mysql)
+ ("libz" ,zlib)
+ ("openssl" ,openssl)))
+ (home-page "https://github.com/PyMySQL/mysqlclient-python")
+ (synopsis "MySQLdb is an interface to the popular MySQL database server
for Python")
+ (description "MySQLdb is an interface to the popular MySQL database server
+for Python. The design goals are:
address@hidden
address@hidden Compliance with Python database API version 2.0 [PEP-0249],
address@hidden Thread-safety,
address@hidden Thread-friendliness (threads will not block each other).
address@hidden enumerate")
+ (license license:gpl2)))
+
+(define-public python2-mysqlclient
+ (package-with-python2 python-mysqlclient))
- 23/36: gnu: Add python-django-bulk-update., (continued)
- 23/36: gnu: Add python-django-bulk-update., julien lepiller, 2017/05/11
- 11/36: gnu: Add python-nosexcover., julien lepiller, 2017/05/11
- 25/36: gnu: Add python-django-contrib-comments., julien lepiller, 2017/05/11
- 36/36: gnu: Add pootle., julien lepiller, 2017/05/11
- 24/36: gnu: Add python-django-contact-form., julien lepiller, 2017/05/11
- 29/36: gnu: Add python-django-redis., julien lepiller, 2017/05/11
- 20/36: gnu: Add python-django-assets., julien lepiller, 2017/05/11
- 26/36: gnu: Add python-django-overextends., julien lepiller, 2017/05/11
- 28/36: gnu: Add python-fakeredis., julien lepiller, 2017/05/11
- 35/36: gnu: Fix python2-django-allauth., julien lepiller, 2017/05/11
- 19/36: gnu: Add python-mysqlclient.,
julien lepiller <=
- 30/36: gnu: Add python-django-rq., julien lepiller, 2017/05/11
- 32/36: gnu: Add python-django-appconf., julien lepiller, 2017/05/11