[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/18] gnu: Add python2-mysql-python.
From: |
ng0 |
Subject: |
[PATCH 05/18] gnu: Add python2-mysql-python. |
Date: |
Sun, 2 Oct 2016 11:00:42 +0000 |
From: ng0 <address@hidden>
* gnu/packages/python.scm (python2-mysql-python): New variable.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 02f718a..67b35aa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3510,6 +3510,35 @@ toolkits.")
,@(fold alist-delete (package-propagated-inputs matplotlib)
'("python-pycairo" "python-pygobject" "python-tkinter")))))))
+(define-public python2-mysql-python
+ (package
+ (name "python2-mysql-python")
+ (version "1.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "MySQL-python" version ".zip"))
+ (sha256
+ (base32
+ "0x0c2jg0bb3pp84njaqiic050qkyd7ymwhfvhipnimg58yv40441"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; tests require a running mysqld at /run/mysqld/mysqld.sock
+ #:python ,python-2)) ; Application is python2 only
+ (inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ("unzip" ,unzip)
+ ("mysql" ,mysql)
+ ("zlib" ,zlib)
+ ("openssl" ,openssl)
+ ("python2-sphinx" ,python2-sphinx)
+ ("python2-nose" ,python2-nose)))
+ (home-page "https://github.com/farcepest/MySQLdb1")
+ (synopsis "Python interface to MySQL")
+ (description "MySQLdb is an interface to the popular MySQL
+database server for Python.")
+ (license license:gpl3)))
+
(define-public python2-pysnptools
(package
(name "python2-pysnptools")
--
2.10.0
- Add most of the Kallithea (SCM) dependencies, ng0, 2016/10/02
- [PATCH 02/18] gnu: Add python-fastimport., ng0, 2016/10/02
- [PATCH 01/18] gnu: Add python-geventhttpclient., ng0, 2016/10/02
- [PATCH 08/18] gnu: Add python-routes., ng0, 2016/10/02
- [PATCH 06/18] gnu: Add python-dulwich-0.9.9., ng0, 2016/10/02
- [PATCH 05/18] gnu: Add python2-mysql-python.,
ng0 <=
- [PATCH 04/18] gnu: Add address@hidden, ng0, 2016/10/02
- [PATCH 03/18] gnu: Add python-dulwich., ng0, 2016/10/02
- [PATCH 09/18] gnu: Add python-routes-1.13., ng0, 2016/10/02
- [PATCH 13/18] gnu: Add python-markdown-2.2.1., ng0, 2016/10/02
- [PATCH 11/18] gnu: Add python-urlobject-2.3.4., ng0, 2016/10/02
- [PATCH 15/18] gnu: Add python-pyparsing-1.5.0., ng0, 2016/10/02
- [PATCH 16/18] gnu: Add python-amqplib., ng0, 2016/10/02
- [PATCH 10/18] gnu: Add python-urlobject., ng0, 2016/10/02
- [PATCH 17/18] gnu: Add python2-kombu-1., ng0, 2016/10/02
- [PATCH 14/18] gnu: Add python2-babel-1.3., ng0, 2016/10/02