diff options
Diffstat (limited to 'dev-python/pyxdg/pyxdg-0.26-r2.ebuild')
-rw-r--r-- | dev-python/pyxdg/pyxdg-0.26-r2.ebuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-python/pyxdg/pyxdg-0.26-r2.ebuild b/dev-python/pyxdg/pyxdg-0.26-r2.ebuild index 94de62c59600..b86bc4b81e90 100644 --- a/dev-python/pyxdg/pyxdg-0.26-r2.ebuild +++ b/dev-python/pyxdg/pyxdg-0.26-r2.ebuild @@ -3,16 +3,16 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=no +DISTUTILS_USE_SETUPTOOLS="no" +MY_P="${PN}-rel-${PV}" PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} ) inherit distutils-r1 -MY_P=${PN}-rel-${PV} DESCRIPTION="A Python module to deal with freedesktop.org specifications" HOMEPAGE="https://freedesktop.org/wiki/Software/pyxdg https://cgit.freedesktop.org/xdg/pyxdg/" -# official mirror of the git repo -SRC_URI="https://github.com/takluyver/pyxdg/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +SRC_URI="https://github.com/takluyver/${PN}/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2" SLOT="0" @@ -20,14 +20,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="test" RESTRICT="!test? ( test )" -DEPEND=" - test? ( - dev-python/nose[${PYTHON_USEDEP}] - x11-themes/hicolor-icon-theme - )" +DEPEND="test? ( x11-themes/hicolor-icon-theme )" -S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}/${P}-python384.patch" ) -python_test() { - nosetests -v || die -} +distutils_enable_tests nose |