diff options
author | Julien Roy <julien@jroy.ca> | 2024-05-21 04:50:43 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2024-05-21 04:50:43 -0400 |
commit | e003001c3b380385e538e70624b540bfc240ecc9 (patch) | |
tree | 7b932384976d538bf4d5ba92132913a0276e3548 | |
parent | 92b2631dba1a40a0abe92a806d8b52205995ceeb (diff) | |
download | MrRoy-Overlay-e003001c3b380385e538e70624b540bfc240ecc9.tar.gz MrRoy-Overlay-e003001c3b380385e538e70624b540bfc240ecc9.tar.bz2 MrRoy-Overlay-e003001c3b380385e538e70624b540bfc240ecc9.zip |
app-portage/puppy: sync live for unittest
Signed-off-by: Julien Roy <julien@jroy.ca>
-rw-r--r-- | app-portage/puppy/puppy-9999.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app-portage/puppy/puppy-9999.ebuild b/app-portage/puppy/puppy-9999.ebuild index e3f8e69..3031320 100644 --- a/app-portage/puppy/puppy-9999.ebuild +++ b/app-portage/puppy/puppy-9999.ebuild @@ -12,6 +12,7 @@ HOMEPAGE="https://gitlab.com/doasu/puppy" if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/doasu/${PN}.git" + EGIT_BRANCH="unittest" inherit git-r3 else SRC_URI="https://gitlab.com/doasu/${PN}/-/archive/${PV}/${P}.tar.bz2" @@ -20,18 +21,25 @@ fi LICENSE="AGPL-3" SLOT="0" -IUSE="+client +server" +IUSE="+client +server test" REQUIRED_USE=" || ( client server ) ${PYTHON_REQUIRED_USE} " +RESTRICT="!test? ( test )" RDEPEND=" sys-apps/portage ${PYTHON_DEPS} + + test? ( dev-python/unittest-or-fail[${PYTHON_SINGLE_USEDEP}] ) " DEPEND="${RDEPEND}" +src_test() { + eunittest +} + src_install() { python_domodule _common.py python_domodule _request.py |