From e003001c3b380385e538e70624b540bfc240ecc9 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 21 May 2024 04:50:43 -0400 Subject: app-portage/puppy: sync live for unittest Signed-off-by: Julien Roy --- app-portage/puppy/puppy-9999.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'app-portage/puppy/puppy-9999.ebuild') 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 -- cgit v1.2.3