mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 03:54:45 +01:00
add test use and restrict if not set
This commit is contained in:
parent
8bbd622c59
commit
8367c28132
8 changed files with 14 additions and 3 deletions
|
|
@ -17,7 +17,8 @@ S="${WORKDIR}/${PN}-python-${PV}"
|
|||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="examples"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/argcomplete-2.0.0[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ S="${WORKDIR}/py-cfg-lib-${PV}"
|
|||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" test_config.py || die "Tests failed with ${EPYTHON}"
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ HOMEPAGE="https://github.com/django-guardian/django-guardian"
|
|||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-2.2[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.g
|
|||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-3.2[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ S="${WORKDIR}/${PN}-python-${PV}"
|
|||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# some tests can be done to see if we can use a more recent version of stone depedency
|
||||
RDEPEND="
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ SRC_URI="https://github.com/syrusakbary/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.t
|
|||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ SRC_URI="https://github.com/Nekmo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
|
|||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/beautifulsoup4-4.5.1[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ HOMEPAGE="https://github.com/Nekmo/proxy-db"
|
|||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/beautifulsoup4-4.5.1[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
Loading…
Reference in a new issue