pyee: stable

This commit is contained in:
blshkv 2020-09-21 09:01:15 +08:00
parent eed53b33ff
commit 8c940e279d
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 54 additions and 1 deletions

View file

@ -1 +1,2 @@
DIST pyee-7.0.3.tar.gz 15521 BLAKE2B 3ac6ef0aa90e558c604430734135511bc9c6c915ef6df3ed9da4210ec9ffcfd0788ce54f176a594a0e8cba8dcfedcee83b450f2f191b7701ea59be39f8b61806 SHA512 fddc29d94f7a53bfbca5b32da5e2845c5d1f489e83b37f589179de83a18a6d3561a6ad36baaa1ed2286995ae04aa1adb3356db280042808f33b8482fbe12d662
DIST pyee-8.0.1.tar.gz 16153 BLAKE2B 17ec3ffa0e4dc216e4e8b67d498dd99c3607a4a6bf03e2d116288574002aab03fb4d2b984dd4bbeca8e00be0f5949b69e5397d0cf3f96b45501e5aa8c7336035 SHA512 1ef404bf876c705fa527cd60a3a7a19fba92920e7af204abac4f08352d522a1b8012358b17d5d01efd239e632104bd5cd9eb18237d880c898cbdba345514e5bd

View file

@ -0,0 +1,20 @@
--- a/setup.py.orig 2020-09-21 03:13:16.000000000 +0800
+++ b/setup.py 2020-09-21 08:45:04.518954820 +0800
@@ -18,13 +18,13 @@
'pytest',
'pytest-asyncio; python_version >= "3.4"',
'pytest-trio; python_version >= "3.7"',
- 'trio; python_version > "3.6"',
- 'twisted'
- ],
- setup_requires=[
'pytest-runner',
'vcversioner'
],
+ setup_requires=[
+ 'trio; python_version > "3.6"',
+ 'twisted'
+ ],
include_package_data=True,
description="A port of node.js's EventEmitter to python.",

View file

@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
RDEPEND="

View file

@ -0,0 +1,32 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="A port of node.js's EventEmitter to python."
HOMEPAGE="https://pypi.python.org/pypi/pyee"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]"
#test?
#dev-python/vcversioner[${PYTHON_USEDEP}]"
# 'pytest-runner',
# 'pytest-asyncio
# 'pytest-trio; python_version > "3.7"',
DEPEND="${RDEPEND}"
#https://github.com/jfhbrook/pyee/pull/73/files
PATCHES=( "${FILESDIR}/setup-8.0.1.patch" )