about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner2019-12-09 16:26:48 -0600
committerEfraim Flashner2019-12-09 16:51:02 -0600
commitad69207224c6b1c5a32849e1fbc005e85f5fabf5 (patch)
tree92cc3b26cdd70de59bf80c70879ec8322223fa2d
parente723dfd8f3b5f8bca2e9f4a16918d981ffb91774 (diff)
downloadguix-bioinformatics-ad69207224c6b1c5a32849e1fbc005e85f5fabf5.tar.gz
gn: Remove gunicorn.
This package was upstreamed.
-rw-r--r--gn/packages/mailman.scm38
-rw-r--r--gn/packages/python.scm30
2 files changed, 2 insertions, 66 deletions
diff --git a/gn/packages/mailman.scm b/gn/packages/mailman.scm
index 510c9f5..d6e06d6 100644
--- a/gn/packages/mailman.scm
+++ b/gn/packages/mailman.scm
@@ -31,7 +31,8 @@
           "1qph9i93ndahfxi3bb2sd0kjm2c0pkh844ai6zacfmvihl1k3pvy"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-aiosmtpd" ,python-aiosmtpd)
+     `(("gunicorn" ,gunicorn)
+       ("python-aiosmtpd" ,python-aiosmtpd)
        ("python-alembic" ,python-alembic)
        ("python-atpublic" ,python-atpublic)
        ("python-authheaders" ,python-authheaders)
@@ -43,7 +44,6 @@
        ("python-flufl-bounce" ,python-flufl-bounce)
        ("python-flufl-i18n" ,python-flufl-i18n)
        ("python-flufl-lock" ,python-flufl-lock)
-       ("python-gunicorn" ,python-gunicorn)
        ("python-importlib-resources" ,python-importlib-resources) ; built into python-3.7
        ("python-lazr-config" ,python-lazr-config)
        ("python-passlib" ,python-passlib)
@@ -321,40 +321,6 @@ and have a maximum lifetime built-in.")
     (license (list license:asl2.0
                    license:lgpl3)))) ; only for setup_helpers.py
 
-(define-public python-gunicorn
-  (package
-    (name "python-gunicorn")
-    (version "19.9.0")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "gunicorn" version))
-        (sha256
-         (base32
-          "1wzlf4xmn6qjirh5w81l6i6kqjnab1n1qqkh7zsj1yb6gh4n49ps"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'loosen-verion-restrictions
-           (lambda _
-             (substitute* "requirements_test.txt"
-               (("coverage.*") "coverage\n")
-               (("pytest.*") "pytest\n")
-               (("pytest-cov.*") "pytest-cov\n"))
-             #t)))))
-    (native-inputs
-     `(("python-coverage" ,python-coverage)
-       ("python-pytest" ,python-pytest)
-       ("python-pytest-cov" ,python-pytest-cov)))
-    (home-page "https://gunicorn.org")
-    (synopsis "WSGI HTTP Server for UNIX")
-    (description "Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for
-UNIX.  It's a pre-fork worker model ported from Ruby's Unicorn project.  The
-Gunicorn server is broadly compatible with various web frameworks, simply
-implemented, light on server resource usage, and fairly speedy.")
-    (license license:expat)))
-
 (define-public python-importlib-resources
   (package
     (name "python-importlib-resources")
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 0b32ba4..2336cc9 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -292,36 +292,6 @@ until a value is returned.")
 (define-public python2-inotify
   (package-with-python2 python-inotify))
 
-
-(define-public gunicorn ; guix candidate
-(package
-  (name "gunicorn")
-  (version "19.7.1")
-  (source
-    (origin
-      (method url-fetch)
-      (uri (pypi-uri "gunicorn" version))
-      (sha256
-        (base32
-          "08mnl5l1p47q5wk38d7mafnhsqk50yba0l9kvc2vwrx61jgidqgf"))))
-  (build-system python-build-system)
-  (inputs
-     `(("python2-eventlet" ,python2-eventlet)
-       ("python2-gevent" ,python2-gevent)))
-  (propagated-inputs
-   `(("python2" ,python-2)
-     ("inotify-tools" ,inotify-tools)))
-  (arguments `(
-     #:python ,python-2 ; GN2 is still python2
-     #:tests? #f)) ;; No tests.
-  (home-page "http://gunicorn.org")
-  (synopsis
-    ".")
-  (description
-    ".")
-  (license license:expat))
-)
-
 (define-public python2-flask-sqlalchemy
   (package-with-python2 python-flask-sqlalchemy))