summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-09 18:12:20 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-09 18:20:43 +0200
commit46a084c2da8493b38952839d2c88516a6c83daf6 (patch)
treeecc252abc126ff8242ef032d4c04fd0639333385
parentdev-python/pyzmq: Make 19.0.1_p20200608 snapshot, py3.9 (diff)
downloadgentoo-46a084c2da8493b38952839d2c88516a6c83daf6.tar.gz
gentoo-46a084c2da8493b38952839d2c88516a6c83daf6.tar.bz2
gentoo-46a084c2da8493b38952839d2c88516a6c83daf6.zip
dev-python/send2trash: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/send2trash/send2trash-1.5.0-r1.ebuild14
1 files 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 bef2e775bec3..6235386f0d31 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
-}