gnu: Add python-greenlet and python2-greenlet.
* gnu/packages/python.scm (python-greenlet, python2-greenlet): New variables.
This commit is contained in:
parent
85de436530
commit
68b9d2422c
1 changed files with 25 additions and 0 deletions
|
@ -8916,3 +8916,28 @@ provides support for parsing, splitting and formatting SQL statements.")
|
||||||
|
|
||||||
(define-public python2-sqlparse
|
(define-public python2-sqlparse
|
||||||
(package-with-python2 python-sqlparse))
|
(package-with-python2 python-sqlparse))
|
||||||
|
|
||||||
|
(define-public python-greenlet
|
||||||
|
(package
|
||||||
|
(name "python-greenlet")
|
||||||
|
(version "0.4.9")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "greenlet" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"04h0m54dyqg49vyarq26mry6kbivnpl47rnmmrk9qn8wpfxviybr"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("python-setuptools" ,python-setuptools)))
|
||||||
|
(home-page "https://greenlet.readthedocs.io/")
|
||||||
|
(synopsis "Lightweight in-process concurrent programming")
|
||||||
|
(description
|
||||||
|
"Greenlet package is a spin-off of Stackless, a version of CPython
|
||||||
|
that supports micro-threads called \"tasklets\". Tasklets run
|
||||||
|
pseudo-concurrently (typically in a single or a few OS-level threads) and
|
||||||
|
are synchronized with data exchanges on \"channels\".")
|
||||||
|
(license (list psfl license:expat))))
|
||||||
|
|
||||||
|
(define-public python2-greenlet
|
||||||
|
(package-with-python2 python-greenlet))
|
||||||
|
|
Reference in a new issue