mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-python/rstcheck:
Add distutils_enable_tests pytest since it allows to remove IUSE and RESTRICT. Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
This commit is contained in:
@@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
@@ -30,6 +28,8 @@ BDEPEND="
|
|||||||
|
|
||||||
S="${WORKDIR}/${P}"
|
S="${WORKDIR}/${P}"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
python_test() {
|
python_test() {
|
||||||
# Ignore the module from ${S}, use the one from ${BUILD_DIR}
|
# Ignore the module from ${S}, use the one from ${BUILD_DIR}
|
||||||
# Otherwise, ImportMismatchError may occur
|
# Otherwise, ImportMismatchError may occur
|
||||||
|
|||||||
Reference in New Issue
Block a user