[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2024-05-12 Thread Yixun Lan
commit: 2565ea06346e6b953746ae3626b91f2263ee509d
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun May 12 10:10:15 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun May 12 11:13:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2565ea06

dev-libs/cxxopts: Keyword 3.0.0-r1 riscv, #931781

Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild 
b/dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild
index 1336e0c4e58c..cfa9beee715a 100644
--- a/dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild
+++ b/dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="icu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2024-02-18 Thread Sam James
commit: cd231e1bb09a4267bcdd4d1891b95a5cc35538be
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 19 07:36:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 19 07:36:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd231e1b

dev-libs/cxxopts: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-libs/cxxopts/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/cxxopts/metadata.xml b/dev-libs/cxxopts/metadata.xml
index bd6443d4a375..25f5685fac2b 100644
--- a/dev-libs/cxxopts/metadata.xml
+++ b/dev-libs/cxxopts/metadata.xml
@@ -5,4 +5,7 @@
chutz...@gentoo.org
Patrick McLean

+   
+   jarro2783/cxxopts
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2024-02-18 Thread Sam James
commit: 20ae364d9da8eba16ceb438f88f6543b76472f0d
Author: Robert Günzler  gnzler  io>
AuthorDate: Tue Jan 30 13:38:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 19 07:35:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ae364d

dev-libs/cxxopts: pass cmake options

previously mycmakeopts was used to pass them, which is simply ignored,
needs to be mycmakeargs

Signed-off-by: Robert Günzler  gnzler.io>
Closes: https://github.com/gentoo/gentoo/pull/35095
Signed-off-by: Sam James  gentoo.org>

 dev-libs/cxxopts/{cxxopts-3.0.0.ebuild => cxxopts-3.0.0-r1.ebuild} | 2 +-
 dev-libs/cxxopts/{cxxopts-3.2.0.ebuild => cxxopts-3.2.0-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild 
b/dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild
similarity index 96%
rename from dev-libs/cxxopts/cxxopts-3.0.0.ebuild
rename to dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild
index 8aa251736b37..1336e0c4e58c 100644
--- a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild
+++ b/dev-libs/cxxopts/cxxopts-3.0.0-r1.ebuild
@@ -27,7 +27,7 @@ src_prepare() {
 }
 
 src_configure() {
-   local -a mycmakeopts=(
+   local mycmakeargs=(
-DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF
-DCXXOPTS_BUILD_TESTS:BOOL=$(usex test)
-DCXXOPTS_ENABLE_INSTALL:BOOL=ON

diff --git a/dev-libs/cxxopts/cxxopts-3.2.0.ebuild 
b/dev-libs/cxxopts/cxxopts-3.2.0-r1.ebuild
similarity index 97%
rename from dev-libs/cxxopts/cxxopts-3.2.0.ebuild
rename to dev-libs/cxxopts/cxxopts-3.2.0-r1.ebuild
index ac666ef57060..5d006453ceae 100644
--- a/dev-libs/cxxopts/cxxopts-3.2.0.ebuild
+++ b/dev-libs/cxxopts/cxxopts-3.2.0-r1.ebuild
@@ -29,7 +29,7 @@ src_prepare() {
 }
 
 src_configure() {
-   local -a mycmakeopts=(
+   local mycmakeargs=(
-DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF
-DCXXOPTS_BUILD_TESTS:BOOL=$(usex test)
-DCXXOPTS_ENABLE_INSTALL:BOOL=ON



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2024-02-15 Thread Patrick McLean
commit: 5a36ca6b4f660dbf37356f89908aab9e715d2700
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Feb 15 17:54:03 2024 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Feb 15 17:54:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a36ca6b

dev-libs/cxxopts: add 3.2.0, drop 3.1.0

Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/cxxopts/Manifest   | 2 +-
 dev-libs/cxxopts/{cxxopts-3.1.0.ebuild => cxxopts-3.2.0.ebuild} | 6 --
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest
index 443b73a4ee56..7c4f5f353d16 100644
--- a/dev-libs/cxxopts/Manifest
+++ b/dev-libs/cxxopts/Manifest
@@ -1,2 +1,2 @@
 DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 
129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1
 SHA512 
239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c
-DIST cxxopts-3.1.0.tar.gz 101547 BLAKE2B 
0e8d17c2f75fbc3326a67c1787eb80177a72e07e79862288498b4bb97a395269a4b14749db4ea14292b77d6b883f8dc9a33a4001c699e53e51b63c7d14e9ece0
 SHA512 
bfb593f6393160ae3eeff1fe7bc77394606c3af6ae3b785f9740d178514a8fd286556440aa8a2932633f65b6336695fa286d503f3ac544d0f73affd49051e85d
+DIST cxxopts-3.2.0.tar.gz 160534 BLAKE2B 
b6fead8930e83b4af089631e584bec0777da2e7b58aeb5e44b03a1655795dd3aff3923a245699e936bef7e0e871da2c86dd5639d44a839f1ac305a694e811feb
 SHA512 
7265de66b92591255488d01bc26ca874423c75223e2e157a99f14fdd3e92e8d2669b72732acac3ce835190f1a09c13a994c480f0513f229eba8aa008e3d98955

diff --git a/dev-libs/cxxopts/cxxopts-3.1.0.ebuild 
b/dev-libs/cxxopts/cxxopts-3.2.0.ebuild
similarity index 91%
rename from dev-libs/cxxopts/cxxopts-3.1.0.ebuild
rename to dev-libs/cxxopts/cxxopts-3.2.0.ebuild
index 697162ee0804..ac666ef57060 100644
--- a/dev-libs/cxxopts/cxxopts-3.1.0.ebuild
+++ b/dev-libs/cxxopts/cxxopts-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,9 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="icu test"
 
-RESTRICT="!test? ( test )"
+RESTRICT="
+   !test? ( test )
+"
 
 DOCS=(
README.md



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2023-02-14 Thread Patrick McLean
commit: 529787d413630556de9a72d7bcdcb82dd7d1305f
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Feb 14 18:23:18 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Feb 14 18:23:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529787d4

dev-libs/cxxopts: add 3.1.0

Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/cxxopts/Manifest |  1 +
 dev-libs/cxxopts/cxxopts-3.1.0.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest
index 25fc46c0bb8d..443b73a4ee56 100644
--- a/dev-libs/cxxopts/Manifest
+++ b/dev-libs/cxxopts/Manifest
@@ -1 +1,2 @@
 DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 
129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1
 SHA512 
239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c
+DIST cxxopts-3.1.0.tar.gz 101547 BLAKE2B 
0e8d17c2f75fbc3326a67c1787eb80177a72e07e79862288498b4bb97a395269a4b14749db4ea14292b77d6b883f8dc9a33a4001c699e53e51b63c7d14e9ece0
 SHA512 
bfb593f6393160ae3eeff1fe7bc77394606c3af6ae3b785f9740d178514a8fd286556440aa8a2932633f65b6336695fa286d503f3ac544d0f73affd49051e85d

diff --git a/dev-libs/cxxopts/cxxopts-3.1.0.ebuild 
b/dev-libs/cxxopts/cxxopts-3.1.0.ebuild
new file mode 100644
index ..697162ee0804
--- /dev/null
+++ b/dev-libs/cxxopts/cxxopts-3.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Lightweight C++ command line option parser"
+HOMEPAGE="https://github.com/jarro2783/cxxopts;
+SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="icu test"
+
+RESTRICT="!test? ( test )"
+
+DOCS=(
+   README.md
+   CHANGELOG.md
+)
+
+src_prepare() {
+   sed -r -e 's:-Werror[[:space:]]*::' -i cmake/cxxopts.cmake || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local -a mycmakeopts=(
+   -DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF
+   -DCXXOPTS_BUILD_TESTS:BOOL=$(usex test)
+   -DCXXOPTS_ENABLE_INSTALL:BOOL=ON
+   -DCXXOPTS_USE_UNICODE_HELP:BOOL=$(usex icu)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2023-02-01 Thread Andreas Sturmlechner
commit: 8b418f05098d6f3fee162259d509b0783621acd0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Jan 27 20:44:38 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb  1 19:26:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b418f05

dev-libs/cxxopts: drop 2.2.1-r1

Closes: https://bugs.gentoo.org/887509
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/cxxopts/Manifest|  1 -
 dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild | 36 
 2 files changed, 37 deletions(-)

diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest
index 8e25883fd030..25fc46c0bb8d 100644
--- a/dev-libs/cxxopts/Manifest
+++ b/dev-libs/cxxopts/Manifest
@@ -1,2 +1 @@
-DIST cxxopts-2.2.1.tar.gz 89561 BLAKE2B 
d7fb74cff9b9381d90827fd3e3bcc7dab8b4dc100b9ff12d98ff4c73400c187c04c270d8c5a019c88e553f8c46c59eda1e5076a1aec944e7d8af5ca6de2326db
 SHA512 
bad2928b4e06efcfa09728dd946426e4fd39715b687c0a5c7b6308dd366cb490fdd8491c9a9778242d97d5be4a383bf9d1c209efe298c6c43bb1eb9daa103f05
 DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 
129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1
 SHA512 
239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c

diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild 
b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
deleted file mode 100644
index 96b57b0c39e8..
--- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Lightweight C++ command line option parser"
-HOMEPAGE="https://github.com/jarro2783/cxxopts;
-SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-DOCS=(
-   README.md
-   CHANGELOG.md
-)
-
-src_prepare() {
-   sed -r -e 's:-Werror[[:space:]]*::' -i CMakeLists.txt || die
-   cmake_src_prepare
-}
-
-src_configure() {
-   local -a mycmakeopts=(
-   -DCXXOPTS_BUILD_EXAMPLES=OFF
-   -DCXXOPTS_BUILD_TESTS=$(usex test 'ON' 'OFF')
-   -DCXXOPTS_ENABLE_INSTALL=ON
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2022-12-27 Thread Sam James
commit: 440df0e2e3ee3a1556f8e58a4cccf859f3e5e4e2
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 27 14:55:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 27 14:55:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440df0e2

dev-libs/cxxopts: Stabilize 3.0.0 amd64, #887509

Signed-off-by: Sam James  gentoo.org>

 dev-libs/cxxopts/cxxopts-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild 
b/dev-libs/cxxopts/cxxopts-3.0.0.ebuild
index 3a03a5571924..8aa251736b37 100644
--- a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild
+++ b/dev-libs/cxxopts/cxxopts-3.0.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="icu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2022-05-05 Thread Patrick McLean
commit: b488ea1efdc35a772a2faa7aaec4fcd440afceef
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu May  5 15:49:18 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu May  5 15:49:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b488ea1e

dev-libs/cxxopts: add 3.0.0

Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/cxxopts/Manifest |  1 +
 dev-libs/cxxopts/cxxopts-3.0.0.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest
index 979c216d40dd..8e25883fd030 100644
--- a/dev-libs/cxxopts/Manifest
+++ b/dev-libs/cxxopts/Manifest
@@ -1 +1,2 @@
 DIST cxxopts-2.2.1.tar.gz 89561 BLAKE2B 
d7fb74cff9b9381d90827fd3e3bcc7dab8b4dc100b9ff12d98ff4c73400c187c04c270d8c5a019c88e553f8c46c59eda1e5076a1aec944e7d8af5ca6de2326db
 SHA512 
bad2928b4e06efcfa09728dd946426e4fd39715b687c0a5c7b6308dd366cb490fdd8491c9a9778242d97d5be4a383bf9d1c209efe298c6c43bb1eb9daa103f05
+DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 
129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1
 SHA512 
239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c

diff --git a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild 
b/dev-libs/cxxopts/cxxopts-3.0.0.ebuild
new file mode 100644
index ..3a03a5571924
--- /dev/null
+++ b/dev-libs/cxxopts/cxxopts-3.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Lightweight C++ command line option parser"
+HOMEPAGE="https://github.com/jarro2783/cxxopts;
+SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="icu test"
+
+RESTRICT="!test? ( test )"
+
+DOCS=(
+   README.md
+   CHANGELOG.md
+)
+
+src_prepare() {
+   sed -r -e 's:-Werror[[:space:]]*::' -i cmake/cxxopts.cmake || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local -a mycmakeopts=(
+   -DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF
+   -DCXXOPTS_BUILD_TESTS:BOOL=$(usex test)
+   -DCXXOPTS_ENABLE_INSTALL:BOOL=ON
+   -DCXXOPTS_USE_UNICODE_HELP:BOOL=$(usex icu)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2021-05-16 Thread Sam James
commit: 3496968bffd18c801a425b7d07d1c7c06e0eb7d7
Author: Sam James  gentoo  org>
AuthorDate: Mon May 17 02:36:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 17 02:36:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3496968b

dev-libs/cxxopts: Stabilize 2.2.1-r1 amd64, #790410

Signed-off-by: Sam James  gentoo.org>

 dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild 
b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
index a12d45e45eb..96b57b0c39e 100644
--- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
+++ b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2020-12-07 Thread Patrick McLean
commit: ef31abb67f83d9c121d7a110d74b55500fc99e4e
Author: Patrick McLean  sony  com>
AuthorDate: Mon Dec  7 18:10:57 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon Dec  7 18:10:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef31abb6

dev-libs/cxxopts: Remove -Werror (bug #758725)

Closes: https://bugs.gentoo.org/758725
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild 
b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
index f6af1f7734f..a12d45e45eb 100644
--- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
+++ b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
@@ -21,6 +21,11 @@ DOCS=(
CHANGELOG.md
 )
 
+src_prepare() {
+   sed -r -e 's:-Werror[[:space:]]*::' -i CMakeLists.txt || die
+   cmake_src_prepare
+}
+
 src_configure() {
local -a mycmakeopts=(
-DCXXOPTS_BUILD_EXAMPLES=OFF



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2020-12-05 Thread Patrick McLean
commit: c5e235b4d388cd082c0b9e1cfb98346bdff0ac5c
Author: Patrick McLean  gentoo  org>
AuthorDate: Sat Dec  5 23:40:29 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Dec  5 23:40:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e235b4

dev-libs/cxxopts: Add subslot

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/cxxopts/{cxxopts-2.2.1.ebuild => cxxopts-2.2.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/cxxopts/cxxopts-2.2.1.ebuild 
b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
similarity index 97%
rename from dev-libs/cxxopts/cxxopts-2.2.1.ebuild
rename to dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
index 07fc791..f6af1f7734f 100644
--- a/dev-libs/cxxopts/cxxopts-2.2.1.ebuild
+++ b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/jarro2783/cxxopts;
 SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/

2020-12-05 Thread Patrick McLean
commit: 18c4bef9907d67d644826f26ff8c8afc37506baa
Author: Patrick McLean  gentoo  org>
AuthorDate: Sat Dec  5 21:14:19 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Dec  5 21:39:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c4bef9

dev-libs/cxxopts: New package

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/cxxopts/Manifest |  1 +
 dev-libs/cxxopts/cxxopts-2.2.1.ebuild | 31 +++
 dev-libs/cxxopts/metadata.xml |  8 
 3 files changed, 40 insertions(+)

diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest
new file mode 100644
index 000..979c216d40d
--- /dev/null
+++ b/dev-libs/cxxopts/Manifest
@@ -0,0 +1 @@
+DIST cxxopts-2.2.1.tar.gz 89561 BLAKE2B 
d7fb74cff9b9381d90827fd3e3bcc7dab8b4dc100b9ff12d98ff4c73400c187c04c270d8c5a019c88e553f8c46c59eda1e5076a1aec944e7d8af5ca6de2326db
 SHA512 
bad2928b4e06efcfa09728dd946426e4fd39715b687c0a5c7b6308dd366cb490fdd8491c9a9778242d97d5be4a383bf9d1c209efe298c6c43bb1eb9daa103f05

diff --git a/dev-libs/cxxopts/cxxopts-2.2.1.ebuild 
b/dev-libs/cxxopts/cxxopts-2.2.1.ebuild
new file mode 100644
index 000..07fc791
--- /dev/null
+++ b/dev-libs/cxxopts/cxxopts-2.2.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Lightweight C++ command line option parser"
+HOMEPAGE="https://github.com/jarro2783/cxxopts;
+SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+DOCS=(
+   README.md
+   CHANGELOG.md
+)
+
+src_configure() {
+   local -a mycmakeopts=(
+   -DCXXOPTS_BUILD_EXAMPLES=OFF
+   -DCXXOPTS_BUILD_TESTS=$(usex test 'ON' 'OFF')
+   -DCXXOPTS_ENABLE_INSTALL=ON
+   )
+   cmake_src_configure
+}

diff --git a/dev-libs/cxxopts/metadata.xml b/dev-libs/cxxopts/metadata.xml
new file mode 100644
index 000..cee379b1540
--- /dev/null
+++ b/dev-libs/cxxopts/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   chutz...@gentoo.org
+   Patrick McLean
+   
+