commit: 46a084c2da8493b38952839d2c88516a6c83daf6 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Jun 9 16:12:20 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jun 9 16:20:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a084c2
dev-python/send2trash: Port to py3.9 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/send2trash/send2trash-1.5.0-r1.ebuild | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild index bef2e775bec..6235386f0d3 100644 --- a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild +++ b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -15,22 +15,14 @@ HOMEPAGE=" https://pypi.org/project/Send2Trash/ https://github.com/hsoft/send2trash" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} SLOT="0" LICENSE="BSD" KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" -S="${WORKDIR}"/${MY_P} +distutils_enable_tests setup.py PATCHES=( "${FILESDIR}/${P}-fix-broken-tests-on-py2.patch" ) - -python_test() { - ${EPYTHON} setup.py test -}