From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/cli11/
Date: Tue, 21 Sep 2021 20:10:09 +0000 (UTC) [thread overview]
Message-ID: <1632254985.e4a85804965c4b11fc6bf9fbbf7b5bae0f88a78f.cybertailor@gentoo> (raw)
commit: e4a85804965c4b11fc6bf9fbbf7b5bae0f88a78f
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Sep 21 20:00:31 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Sep 21 20:09:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4a85804
dev-cpp/cli11: add 2.1.0, drop 1.9.1
- add subslot
- enable normal tests
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-cpp/cli11/Manifest | 3 ++-
dev-cpp/cli11/cli11-1.9.1.ebuild | 36 ----------------------------
dev-cpp/cli11/cli11-2.1.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++
dev-cpp/cli11/metadata.xml | 2 +-
4 files changed, 54 insertions(+), 38 deletions(-)
diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest
index d48ce376a..af94af0b0 100644
--- a/dev-cpp/cli11/Manifest
+++ b/dev-cpp/cli11/Manifest
@@ -1,2 +1,3 @@
-DIST cli11-1.9.1.tar.gz 262925 BLAKE2B 30c0c35827992ca8f1527ace9dda076a89666f1598be423bead85fff2006ca82f59937348b914a9b058878a7e68467501226c704b4ecaeefe09508657f346a14 SHA512 bcccfe88695ceddd73d87738e1d5ed4372f5cf43e3866e88053dd486ea8973804022029775de781e1dbdd2e1566b77e072de00202033983217276954a07c5718
+DIST catch-2.13.6.hpp 656886 BLAKE2B 590fabc7970b97f333457f409276688f69a66de7fa3c43d767994ed212a3b5bde6e6c113c36a0ff03dd95bbb0cdb38cc12b43a96d16644525ea7425e028485a6 SHA512 ca401efb224e87c4f9d9f3bd58102d3223ef3356149837be2474fa2dbae645272c1ecb17d7db96c2b43b97034aacb63f840f4ebec16f2f3d447c1cc80a500d40
DIST cli11-2.0.0.tar.gz 280797 BLAKE2B 5ce65d6c23f98d4128d1e7d4711f9dcd258b1705317b7e94b094d172c090c27a26b43580df16fee8d0a1a1cb993b763d7d43cc8fda7dad231f0ca018c816b9e7 SHA512 5ac06623383c003286b915e585e85ad419449735770e9a164665395f33d9e03ec6340445ab782200e2cfe5f40123b5843a7401211b6ece5b16342321e3e7a10a
+DIST cli11-2.1.0.tar.gz 286192 BLAKE2B c88a57effedaa19a119a28f5ad6d63f3b1a43055359e6d7d74258a839e0846817593974460e3f51d44218bca2b6b227c9d893a919155b38b63cd6b0b37711073 SHA512 22c75e6b55d5320656ca2f65bf7c1dc82546fa65458f66a3d6401d002e83f12a0ee93a572637f5daa8daed9e0ce11fbf4aabf864caadc851f75bced63814ba10
diff --git a/dev-cpp/cli11/cli11-1.9.1.ebuild b/dev-cpp/cli11/cli11-1.9.1.ebuild
deleted file mode 100644
index 31ec5a7f7..000000000
--- a/dev-cpp/cli11/cli11-1.9.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DOCS_BUILDER="doxygen"
-DOCS_CONFIG_NAME="docs/Doxyfile"
-inherit cmake docs
-
-MY_PN="CLI11"
-DESCRIPTION="Command line parser for C++11"
-HOMEPAGE="https://github.com/CLIUtils/CLI11 https://cliutils.github.io/CLI11/book"
-SRC_URI="https://github.com/CLIUtils/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-src_configure() {
- local mycmakeargs=(
- -DCLI11_BUILD_DOCS=OFF
- -DCLI11_BUILD_TESTS=OFF
- -DCLI11_BUILD_EXAMPLES=$(usex test)
- -DCLI11_BUILD_EXAMPLES_JSON=OFF
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- docs_compile
-}
diff --git a/dev-cpp/cli11/cli11-2.1.0.ebuild b/dev-cpp/cli11/cli11-2.1.0.ebuild
new file mode 100644
index 000000000..4f578edbf
--- /dev/null
+++ b/dev-cpp/cli11/cli11-2.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="docs"
+inherit cmake docs
+
+CATCH_PV=2.13.6
+DESCRIPTION="Command line parser for C++11"
+HOMEPAGE="https://github.com/CLIUtils/CLI11 https://cliutils.github.io/CLI11/book"
+SRC_URI="
+ https://github.com/CLIUtils/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://github.com/philsquared/Catch/releases/download/v${CATCH_PV}/catch.hpp -> catch-${CATCH_PV}.hpp )
+"
+S="${WORKDIR}/CLI11-${PV}"
+
+LICENSE="BSD"
+SLOT="0/2"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DOCS=( README.md CHANGELOG.md )
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ # work around cmake's file(DOWNLOAD ...)
+ cd "${S}" || die
+ if use test; then
+ _cmake_check_build_dir
+ mkdir "${BUILD_DIR}"/tests || die
+ cp "${DISTDIR}"/catch-${CATCH_PV}.hpp "${BUILD_DIR}"/tests/catch.hpp || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCLI11_BUILD_DOCS=OFF # handled by docs.eclass
+ -DCLI11_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ docs_compile
+}
diff --git a/dev-cpp/cli11/metadata.xml b/dev-cpp/cli11/metadata.xml
index 51cad842f..6985eff64 100644
--- a/dev-cpp/cli11/metadata.xml
+++ b/dev-cpp/cli11/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">CLIUtils/CLI11</remote-id>
next reply other threads:[~2021-09-21 20:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 20:10 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-12 10:07 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/cli11/ Viorel Munteanu
2023-05-12 9:52 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-01-05 13:08 Anna Vyalkova
2022-11-03 3:09 Anna Vyalkova
2022-10-08 23:30 Anna Vyalkova
2022-10-08 14:58 Anna Vyalkova
2022-03-31 7:24 Anna Vyalkova
2021-10-19 16:35 Anna Vyalkova
2021-07-27 5:35 Anna Vyalkova
2021-05-22 15:21 Anna Vyalkova
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=1632254985.e4a85804965c4b11fc6bf9fbbf7b5bae0f88a78f.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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