[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/19: gnu: Add python-alembic.
From: |
Christopher Allan Webber |
Subject: |
02/19: gnu: Add python-alembic. |
Date: |
Mon, 15 Feb 2016 22:07:10 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit 0bae2f7f0b838768b74ef5d8f7e8e3009cffdf1c
Author: Christopher Allan Webber <address@hidden>
Date: Sat Feb 13 17:04:24 2016 -0800
gnu: Add python-alembic.
* gnu/packages/python.scm (python-alembic, python2-alembic): New variables.
---
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7642efe..2f3584f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3573,6 +3573,42 @@ simple and Pythonic domain language.")
(define-public python2-sqlalchemy
(package-with-python2 python-sqlalchemy))
+(define-public python-alembic
+ (package
+ (name "python-alembic")
+ (version "0.8.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "alembic" version))
+ (sha256
+ (base32
+ "0jk23a852l3ybv7gfz81xzslyrnqnpjds5x15zd234y9rh9gq1w5"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (inputs
+ `(("python-sqlalchemy" ,python-sqlalchemy)
+ ("python-mako" ,python-mako)
+ ("python-editor" ,python-editor)))
+ (home-page "http://bitbucket.org/zzzeek/alembic")
+ (synopsis
+ "A database migration tool for SQLAlchemy.")
+ (description
+ "Alembic is a lightweight database migration tool for usage with the
+SQLAlchemy Database Toolkit for Python.")
+ (license expat)
+ (properties `((python2-variant . ,(delay python2-alembic))))))
+
+(define-public python2-alembic
+ (let ((alembic (package-with-python2
+ (strip-python2-variant python-alembic))))
+ (package
+ (inherit alembic)
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-inputs alembic))))))
+
(define-public python-distutils-extra
(package
(name "python-distutils-extra")
- branch wip-mediagoblin created (now 509f29a), Christopher Allan Webber, 2016/02/15
- 01/19: gnu: Add python-mako., Christopher Allan Webber, 2016/02/15
- 02/19: gnu: Add python-alembic.,
Christopher Allan Webber <=
- 03/19: gnu: Add python2-apipkg., Christopher Allan Webber, 2016/02/15
- 04/19: gnu: Add python2-execnet., Christopher Allan Webber, 2016/02/15
- 05/19: gnu: Add python-pytest-xdist., Christopher Allan Webber, 2016/02/15
- 06/19: gnu: Add python-beautifulsoup4, Christopher Allan Webber, 2016/02/15
- 07/19: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/15
- 08/19: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/15
- 09/19: gnu: Add python-pastedeploy, Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery, Christopher Allan Webber, 2016/02/15
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15
- 12/19: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/15