summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-10-13 17:55:20 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-16 20:21:07 +0200
commit3df5c30eb4c3eb822bdec11e50d89f2c3dbbaa9e (patch)
tree85b0a695c5b2e4982b9c28b557789b525e0272b8
parentdev-python/ctypescrypto: correct DISTUTILS_USE_SETUPTOOLS (diff)
downloadgentoo-3df5c30eb4c3eb822bdec11e50d89f2c3dbbaa9e.tar.gz
gentoo-3df5c30eb4c3eb822bdec11e50d89f2c3dbbaa9e.tar.bz2
gentoo-3df5c30eb4c3eb822bdec11e50d89f2c3dbbaa9e.zip
dev-python/docutils-glep: correct DISTUTILS_USE_SETUPTOOLS
Closes: https://bugs.gentoo.org/748324 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/docutils-glep/docutils-glep-1.2.ebuild7
-rw-r--r--dev-python/docutils-glep/docutils-glep-9999.ebuild8
2 files changed, 4 insertions, 11 deletions
diff --git a/dev-python/docutils-glep/docutils-glep-1.2.ebuild b/dev-python/docutils-glep/docutils-glep-1.2.ebuild
index c024c58b3c85..a0d90df13685 100644
--- a/dev-python/docutils-glep/docutils-glep-1.2.ebuild
+++ b/dev-python/docutils-glep/docutils-glep-1.2.ebuild
@@ -3,6 +3,7 @@
EAPI=6
+DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -16,11 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=">=dev-python/docutils-0.10[${PYTHON_USEDEP}]
- ${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}"
+RDEPEND=">=dev-python/docutils-0.10[${PYTHON_USEDEP}]"
S=${WORKDIR}/${MY_P}
diff --git a/dev-python/docutils-glep/docutils-glep-9999.ebuild b/dev-python/docutils-glep/docutils-glep-9999.ebuild
index f6d958c0714b..a7935a54f0a4 100644
--- a/dev-python/docutils-glep/docutils-glep-9999.ebuild
+++ b/dev-python/docutils-glep/docutils-glep-9999.ebuild
@@ -3,6 +3,7 @@
EAPI=6
+DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7} )
EGIT_REPO_URI="https://github.com/mgorny/docutils-glep.git"
@@ -14,10 +15,5 @@ SRC_URI=""
LICENSE="public-domain"
SLOT="0"
-KEYWORDS=""
-IUSE=""
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=">=dev-python/docutils-0.10[${PYTHON_USEDEP}]
- ${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}"
+RDEPEND=">=dev-python/docutils-0.10[${PYTHON_USEDEP}]"