From f0b3d8e874ec2bba9851166bfa27cf34ca1a53fe Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Petr Hodina Date: Fri, 30 Jul 2021 17:19:21 +0200 Subject: [PATCH v2 02/19] gnu: Add python-pyee. * gnu/packages/python-xyz.scm (python-pyee): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4500121e10..2e90f540f4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17733,6 +17733,31 @@ (define-public python-pyev (define-public python2-pyev (package-with-python2 python-pyev)) +(define-public python-pyee + (package + (name "python-pyee") + (version "8.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyee" version)) + (sha256 + (base32 + "0cgxbdr4zmil03wwr5fv58789i51gka8a9fxm1dgkf5xs9dwrnlj")))) + (build-system python-build-system) + (native-inputs + (list python-pytest-trio python-pytest-asyncio python-pytest-runner + python-pytest python-mock)) + (propagated-inputs + (list python-vcversioner python-twisted python-trio)) + (home-page "https://github.com/jfhbrook/pyee") + (synopsis "Port of Node.js's EventEmitter to Python") + (description "Pyee supplies a @code{EventEmitter} object that is similar +to the @code{EventEmitter} class from Node.js. It also supplies a number of +subclasses with added support for async and threaded programming in Python, +such as async/await.") + (license license:expat))) + (define-public python-imagesize (package (name "python-imagesize") -- 2.34.0