guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add mediagoblin.


From: David Thompson
Subject: 01/01: gnu: Add mediagoblin.
Date: Tue, 02 Feb 2016 17:32:13 +0000

davexunit pushed a commit to branch wip-mediagoblin
in repository guix.

commit 6cff9947899d5b7e6995b7563c3beb363c3b9e56
Author: David Thompson <address@hidden>
Date:   Tue Feb 2 10:15:44 2016 -0500

    gnu: Add mediagoblin.
    
    * gnu/packages/python.scm (mediagoblin): New variable.
---
 gnu/packages/python.scm |   96 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 96 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c4d8953..cea1bd1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7441,3 +7441,99 @@ interface to the Amazon Web Services (AWS) API.")
    (description "AWS CLI provides a unified command line interface to the
 Amazon Web Services (AWS) API.")
    (license asl2.0)))
+
+;;pyversion_install_requires = []
+;;if PY2:
+;;    pyversion_install_requires.append('argparse')  # only for < 2.7
+;;    pyversion_install_requires.append('PasteScript')
+;;    # newer sqlalchemy-migrate requires pbr which BREAKS EVERYTHING AND IS
+;;    # TERRIBLE AND IS THE END OF ALL THINGS
+;;    # I'd love to remove this restriction.
+;;    pyversion_install_requires.append('sqlalchemy-migrate<0.8')
+;;    # # Annoying.  Please remove once we can!  We only indirectly
+;;    # # use pbr, and currently it breaks things, presumably till
+;;    # # their next release.
+;;    # pyversion_install_requires.append('pbr==0.5.22')
+;;    pyversion_install_requires.append('mock==1.0.1')  # mock is in the 
stdlib for 3.3+
+;;    # PyPI version (1.4.2) does not have proper Python 3 support
+;;    pyversion_install_requires.append('ExifRead')
+;;    pyversion_install_requires.append('PasteScript')
+;;    # Paste 2.0 is breaking wsgi, see:
+;;    #  https://bitbucket.org/ianb/paste/issue/4/wsgi-environ-totally-borked
+;;    pyversion_install_requires.append('Paste')
+;;else:
+;;    [ ] pyversion_install_requires.append('gunicorn')
+;;
+;;install_requires = [
+;;    [ ] 'alembic==0.6.6',
+;;    [X] 'python-dateutil',
+;;    [ ] 'wtforms',
+;;    [X] 'py-bcrypt',
+;;    [X] 'pytest>=2.3.1',
+;;    [ ] 'pytest-xdist',
+;;    [X] 'werkzeug>=0.7',
+;;    [ ] 'celery>=3.0',
+;;    [ ] 'kombu',
+;;    [X] 'jinja2',
+;;    [X] 'Babel>=1.3',
+;;    [ ] 'WebTest>=2.0.18',
+;;    [X] 'ConfigObj',
+;;    [X] 'Markdown',
+;;    [X] 'sqlalchemy<0.9.0, >0.8.0',
+;;    [X] 'itsdangerous',
+;;    [X] 'pytz',
+;;    [X] 'sphinx',
+;;    [X] 'six',
+;;    [X] 'oauthlib',
+;;    [X] 'unidecode',
+;;    [X] 'jsonschema',
+;;    [ ] 'PasteDeploy',
+;;    [X] 'requests>=2.6.0',
+;;    [X] 'pyld',
+;;    # This is optional:
+;;    [ ] 'translitcodec',
+;;    # For now we're expecting that users will install this from
+;;    # their package managers.
+;;    [X] 'lxml',
+;;    [X] 'Pillow',
+
+(define-public mediagoblin
+  (package
+    (name "mediagoblin")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mediagoblin" version))
+       (sha256
+        (base32
+         "0p2gj4z351166d1zqmmd8wc9bzb69w0fjm8qq1fs8dw2yhcg2wwv"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (inputs
+     `(("python-babel" ,python-babel)
+       ("python-configobj" ,python-configobj)
+       ("python-dateutil" ,python-dateutil)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-jinja2" ,python-jinja2)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-lxml" ,python-lxml)
+       ("python-markdown" ,python-markdown)
+       ("python-oauthlib" ,python-oauthlib)
+       ("python-pillow" ,python-pillow)
+       ("python-py-bcrypt" ,python-py-bcrypt)
+       ("python-pyld" ,python-pyld)
+       ("python-pytz" ,python-pytz)
+       ("python-requests" ,python-requests)
+       ("python-setuptools" ,python-setuptools)
+       ("python-six" ,python-six)
+       ("python-sphinx" ,python-sphinx)
+       ("python-sqlalchemy" ,python-sqlalchemy)
+       ("python-unidecode" ,python-unidecode)
+       ("python-werkzeug" ,python-werkzeug)))
+    (home-page "http://mediagoblin.org/";)
+    (synopsis "Web application for media publishing")
+    (description "MediaGoblin is a web application for publishing all kinds of
+media.")
+    (license agpl3+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]