Patchwork [6/6] gnu: Enable passlib, babel, cryptography, pyt, psycopg2, furl, flask-babel and pytest in python-sqlalchemy-utils

login
register
mail settings
Submitter Danny Milosavljevic
Date Nov. 3, 2016, 10:56 a.m.
Message ID <20161103105604.2937-7-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/17157/
State New
Headers show

Comments

Danny Milosavljevic - Nov. 3, 2016, 10:56 a.m.
* gnu/packages/python.scm (python-sqlalchemy-utils): Modified.
---
 gnu/packages/python.scm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
Hartmut Goebel - Nov. 3, 2016, 10:15 p.m.
The patch title is much to long and does not fit in a line.

I suggest:
gnu: python-sqlalchemy-utils: Add inputs for extra features.


Beside of this I'm not sure whether we should really add all these
inputs. If a developer or administrator needs them, they are easily
added: Each "extra" feature add a single package. No complex stuff here.
But alone babel adds 21 MB, cryptography another ca. 70 MB.

I'm in favor of *not* adding any of these additional inputs.

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 21adce7..927926e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3968,9 +3968,18 @@  simple and Pythonic domain language.")
          (base32
           "1zbmmh7n8m01ikizn2mj1mfwch26nsr1awv9mvskqry7av0mpy98"))))
     (build-system python-build-system)
-    (inputs
+    (propagated-inputs
      `(("python-six" ,python-six)
-       ("python-sqlalchemy" ,python-sqlalchemy)))
+       ("python-sqlalchemy" ,python-sqlalchemy)
+       ("python-passlib" ,python-passlib)
+       ("python-babel" ,python-babel)
+       ("python-cryptography" ,python-cryptography)
+       ("python-pytz" ,python-pytz)
+       ("python-psycopg2" ,python-psycopg2)
+       ("python-furl" ,python-furl)
+       ("python-flask-babel" ,python-flask-babel)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/kvesteri/sqlalchemy-utils")
     (synopsis "Various utility functions for SQLAlchemy")
     (description