From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cppunit/
Date: Sun, 23 Feb 2025 01:45:51 +0000 (UTC) [thread overview]
Message-ID: <1740274466.e2e8c30aa11643fced0b5dd64003fe317f795d82.sam@gentoo> (raw)
commit: e2e8c30aa11643fced0b5dd64003fe317f795d82
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 01:31:06 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 01:34:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e8c30a
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 <AT> gentoo.org>
dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild | 19 ++++++++++++------
...1.15.1_p20240106.ebuild => cppunit-9999.ebuild} | 23 ++++++++++++----------
2 files changed, 26 insertions(+), 16 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="
diff --git a/dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild b/dev-util/cppunit/cppunit-9999.ebuild
similarity index 72%
copy from dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild
copy to dev-util/cppunit/cppunit-9999.ebuild
index d3eb816ccc1a..675991b4bcd6 100644
--- a/dev-util/cppunit/cppunit-1.15.1_p20240106.ebuild
+++ b/dev-util/cppunit/cppunit-9999.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="
@@ -27,10 +34,6 @@ BDEPEND="
DOCS=( AUTHORS BUGS NEWS README THANKS TODO ChangeLog doc/FAQ )
-PATCHES=(
- "${WORKDIR}"/${P%%_p*}-patches
-)
-
src_prepare() {
default
next reply other threads:[~2025-02-23 1:46 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-23 1:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 1:45 [gentoo-commits] repo/gentoo:master commit in: dev-util/cppunit/ Sam James
2022-04-17 19:00 Sam James
2021-12-06 15:23 Sam James
2021-12-06 15:20 Sam James
2021-12-05 20:36 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05 18:32 Sam James
2021-12-05 4:45 Sam James
2021-10-02 22:52 James Le Cuirot
2021-09-07 10:19 Joonas Niilola
2021-09-07 10:19 Joonas Niilola
2021-09-07 10:19 Joonas Niilola
2021-09-07 10:19 Joonas Niilola
2021-09-07 10:19 Joonas Niilola
2021-05-25 8:25 Yixun Lan
2021-03-26 12:01 Agostino Sarubbo
2021-02-27 17:08 Sam James
2021-02-25 18:58 Sam James
2021-02-25 13:54 Agostino Sarubbo
2021-02-25 7:32 Sam James
2021-02-24 16:23 Sam James
2021-02-24 16:23 Sam James
2021-02-24 16:22 Sam James
2021-01-21 14:11 Ben Kohler
2021-01-16 13:00 Lars Wendler
2021-01-16 13:00 Lars Wendler
2018-12-08 17:41 Mikle Kolyada
2018-03-05 14:29 Mart Raudsepp
2018-03-05 9:15 Tobias Klausmann
2018-01-17 18:01 Markus Meier
2017-11-23 23:17 Sergei Trofimovich
2017-11-13 15:12 Manuel Rüger
2017-11-11 18:00 Thomas Deutschmann
2017-11-11 11:24 Sergei Trofimovich
2017-11-11 11:19 Sergei Trofimovich
2017-11-11 9:55 Sergei Trofimovich
2017-08-17 17:06 Michał Górny
2017-05-22 5:54 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740274466.e2e8c30aa11643fced0b5dd64003fe317f795d82.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox