diff options
| author | Sam James <sam@gentoo.org> | 2025-02-23 01:31:06 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-02-23 01:34:26 +0000 |
| commit | e2e8c30aa11643fced0b5dd64003fe317f795d82 (patch) | |
| tree | 268d103a9ee2334b990cbb7adc377c9276e88f67 /dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild | |
| parent | b1e013b0b2c6d9e9226bd5b575b64db5ab9e00c2 (diff) | |
| download | gentoo-e2e8c30aa11643fced0b5dd64003fe317f795d82.tar.gz gentoo-e2e8c30aa11643fced0b5dd64003fe317f795d82.tar.bz2 gentoo-e2e8c30aa11643fced0b5dd64003fe317f795d82.zip | |
dev-util/cppunit: add (restore) live ebuild
This reverts commit b5e080853cf530fc860a28d1130e3a221779eefd.
I suspect this was dropped for bug #811345 because it was stuck on
EAPI 7, but see b1e013b0b2c6d9e9226bd5b575b64db5ab9e00c2. It's useful
to have a live ebuild to quickly play with changes committed for LO's
benefit.
Bug: https://bugs.gentoo.org/811345
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild')
| -rw-r--r-- | dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild b/dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild index d3eb816ccc1a..3be3e5bdd5a2 100644 --- a/dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild +++ b/dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild @@ -7,15 +7,22 @@ inherit autotools flag-o-matic multilib-minimal DESCRIPTION="C++ port of the famous JUnit framework for unit testing" HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit" -SRC_URI=" - https://dev-www.libreoffice.org/src/${P%%_p*}.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P%%_p*}-patches.tar.xz -" -S="${WORKDIR}"/${P%%_p*} + +if [[ ${PV} == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/cppunit.git" +else + SRC_URI=" + https://dev-www.libreoffice.org/src/${P%%_p*}.tar.gz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P%%_p*}-patches.tar.xz + " + S="${WORKDIR}"/${P%%_p*} + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi LICENSE="LGPL-2.1" SLOT="0/1.15" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc examples" BDEPEND=" |
