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

2024-05-28 Thread Sam James
commit: 44ee75056ac9cd13dd345976a6e93e7287f6518b
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 16:59:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 16:59:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ee7505

dev-libs/libcbor: Stabilize 0.11.0 x86, #932948

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

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index 7258a7467fc8..b95c8a94c22b 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-05-28 Thread Sam James
commit: f21170f2e96548adb8f6f6c1ee527a1049862aad
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 14:02:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 14:02:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21170f2

dev-libs/libcbor: Stabilize 0.11.0 ppc, #932948

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

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index 6b026aff82ac..7258a7467fc8 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-05-28 Thread Sam James
commit: 0b77aa662da5fec565a6a676c046a1df5331fe6c
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 13:18:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 13:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b77aa66

dev-libs/libcbor: Stabilize 0.11.0 amd64, #932948

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

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index 6f2aa83de18d..6b026aff82ac 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-05-28 Thread Sam James
commit: a75cb31adef6cc5ca839c1bd83b1e8308b8069e0
Author: Sam James  gentoo  org>
AuthorDate: Tue May 28 12:44:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 12:44:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a75cb31a

dev-libs/libcbor: Stabilize 0.11.0 ppc64, #932948

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

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index 46fead78b1a4..6f2aa83de18d 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-05-28 Thread Michał Górny
commit: 63db268fe2d75aaffa8f7da3cd7a8b773bde5ffc
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 12:29:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 12:29:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63db268f

dev-libs/libcbor: Stabilize 0.11.0 sparc, #932948

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index eaba93998b99..46fead78b1a4 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-05-28 Thread Michał Górny
commit: 7f07d494cf3019997bd60be5736d163132df0bbb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 12:04:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 12:04:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f07d494

dev-libs/libcbor: Stabilize 0.11.0 arm64, #932948

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index dcca486ebb11..eaba93998b99 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-05-28 Thread Michał Górny
commit: 65b58faee81b59071e7c6dc5966543302cd0a6a7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 12:04:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 28 12:04:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b58fae

dev-libs/libcbor: Stabilize 0.11.0 arm, #932948

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
index 55e875fbc884..dcca486ebb11 100644
--- a/dev-libs/libcbor/libcbor-0.11.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="doc test"
 
 BDEPEND="



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

2024-04-23 Thread Patrick McLean
commit: c5243b8026970386f309d4065445f50c747ec54f
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Apr 23 22:57:56 2024 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Apr 23 22:58:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5243b80

dev-libs/libcbor: add 0.11.0

Closes: https://bugs.gentoo.org/929412
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/libcbor/Manifest  |  1 +
 dev-libs/libcbor/libcbor-0.11.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 1fa282b57312..2e079000a927 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1 +1,2 @@
 DIST libcbor-0.10.2.tar.gz 289450 BLAKE2B 
3ef2d7fd7942ff32acbe59db6a4b68ad72dde3af4675ef2ee3c93666360554d6e9a29392dbc4fb3029f9ff821f536b90bfd1c522c9c9c2298ab511322fb53d37
 SHA512 
23c6177443778d4b4833ec7ed0d0e639a0d4863372e3a38d772fdce2673eae6d5cb2a31a2a021d1a699082ea53494977c907fd0e94149b97cb23a4b6d039228a
+DIST libcbor-0.11.0.tar.gz 293563 BLAKE2B 
6ac400ee9cabb0ec68355c35f762ea61222152059e70bcf9dc3cf4e06a6599bb6a392197ee979821a0e50c22a5c9e94e5d11458178ed7e26b049c410fddfa24f
 SHA512 
c14aaa55c0c82e09b9eb2cc6847951d1bac8a081a247776c507d5450367da5717b1056bad09fb0f0178311de8754e8f89c060e0fc0f400fafdc42de441421e66

diff --git a/dev-libs/libcbor/libcbor-0.11.0.ebuild 
b/dev-libs/libcbor/libcbor-0.11.0.ebuild
new file mode 100644
index ..55e875fbc884
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.11.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+   python_has_version \
+   "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \
+   "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   -Wno-dev
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   mkdir -p doc/build || die
+   pushd doc >/dev/null || die
+   emake -j1 html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   if use doc; then
+   dodoc -r "${S}"/doc/build/html
+   doman "${S}"/doc/build/man/*.?
+   fi
+}



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

2023-11-28 Thread Sam James
commit: 0a9201bc3785436f43b1459e647b1af1b82426c9
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Nov 28 15:41:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 28 16:33:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9201bc

dev-libs/libcbor: remove useless USE flag that is a no-op

The current ebuild logs a warning:

```
CMake Warning at CMakeLists.txt:22 (message):
  CBOR_CUSTOM_ALLOC has been deprecated.  Custom allocators are now enabled
  by default.The flag is a no-op and will be removed in the next version.
  Please remove CBOR_CUSTOM_ALLOC from your build configuation.
```

The USE flag only controls a cmake feature flag, but that feature flag
is completely ignored and the resulting package is identical.

Upstream commit:
https://github.com/PJK/libcbor/commit/c03d88e02fe6f0a16389f6067b15dc3ed1b43401

Remove the USE flag. No revbump needed, the resulting package is the
same either way, but people may feel free to rebuild on changed-USE
anyway.

Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34026
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libcbor/libcbor-0.10.2.ebuild | 3 +--
 dev-libs/libcbor/metadata.xml  | 3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 75b5ed188e33..83c83a5ed6ba 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
-IUSE="+custom-alloc doc test"
+IUSE="doc test"
 
 BDEPEND="
doc? (
@@ -42,7 +42,6 @@ pkg_setup() {
 src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
-DWITH_TESTS=$(usex test 'ON' 'OFF')
)
 

diff --git a/dev-libs/libcbor/metadata.xml b/dev-libs/libcbor/metadata.xml
index 0b931e44104b..8ce035a8ef63 100644
--- a/dev-libs/libcbor/metadata.xml
+++ b/dev-libs/libcbor/metadata.xml
@@ -5,9 +5,6 @@
base-sys...@gentoo.org
Gentoo Base System

-   
-   Custom, dynamically defined allocator 
support
-   

pjk/libcbor




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

2023-06-10 Thread Andreas Sturmlechner
commit: a24bc2b800ac0690b99e5b452216aef88f216f8d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 28 19:14:05 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jun 10 21:05:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24bc2b8

dev-libs/libcbor: drop 0.9.0, 0.10.1

Bug: https://bugs.gentoo.org/905347
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/libcbor/Manifest  |  2 -
 dev-libs/libcbor/libcbor-0.10.1.ebuild | 69 --
 dev-libs/libcbor/libcbor-0.9.0.ebuild  | 69 --
 3 files changed, 140 deletions(-)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 20b568f676d6..1fa282b57312 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1,3 +1 @@
-DIST libcbor-0.10.1.tar.gz 284393 BLAKE2B 
49b224493b4743fab0352e139ed9e85873238beb25e23555cd31f2ef720f6eb9ac136f26a92be56778f703f240dab2b6e0beddbb88c5cbf7edf084db7e96df76
 SHA512 
fd662d59127cd86a7e13eeb87ba0b4a9280f367b77fe85f579e5c230503ad39a323a8b9dfb8c6a49f8a05d5b81460ca4526dc130c7e1d403fd0839c0f37f5548
 DIST libcbor-0.10.2.tar.gz 289450 BLAKE2B 
3ef2d7fd7942ff32acbe59db6a4b68ad72dde3af4675ef2ee3c93666360554d6e9a29392dbc4fb3029f9ff821f536b90bfd1c522c9c9c2298ab511322fb53d37
 SHA512 
23c6177443778d4b4833ec7ed0d0e639a0d4863372e3a38d772fdce2673eae6d5cb2a31a2a021d1a699082ea53494977c907fd0e94149b97cb23a4b6d039228a
-DIST libcbor-0.9.0.tar.gz 275405 BLAKE2B 
7e78722650c702552dda4844615c454989281abe8c45ba3c9168af16e9d440a1b7e4e0c9afd89faa48e74ba85dcbe0c7733eec3e44fdafc0ca340e97574fe274
 SHA512 
710239f69d770212a82e933e59df1aba0fb3ec516efa366f30a950565a52981b0d46ca7e0eea739f5785d79cc21fc19acd857a4a0b135f4f6aa3ef5fd3b0

diff --git a/dev-libs/libcbor/libcbor-0.10.1.ebuild 
b/dev-libs/libcbor/libcbor-0.10.1.ebuild
deleted file mode 100644
index 2f7271072a52..
--- a/dev-libs/libcbor/libcbor-0.10.1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit python-any-r1 cmake
-
-DESCRIPTION="CBOR protocol implementation for C and others"
-HOMEPAGE="https://github.com/pjk/libcbor;
-SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
-IUSE="+custom-alloc doc test"
-
-BDEPEND="
-   doc? (
-   $(python_gen_any_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
-   dev-python/breathe[${PYTHON_USEDEP}]
-   ')
-   )
-   test? ( dev-util/cmocka )
-"
-
-RESTRICT="!test? ( test )"
-
-python_check_deps() {
-   python_has_version \
-   "dev-python/sphinx[${PYTHON_USEDEP}]" \
-   "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \
-   "dev-python/breathe[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   use doc && python-any-r1_pkg_setup
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_BUILD_TYPE=Release
-   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
-   -DWITH_TESTS=$(usex test 'ON' 'OFF')
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   pushd doc >/dev/null || die
-   emake html man
-   popd >/dev/null || die
-   fi
-}
-
-src_install() {
-   cmake_src_install
-
-   if use doc; then
-   dodoc -r doc/build/html
-   doman doc/build/man/*
-   fi
-}

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
deleted file mode 100644
index b0023ced6172..
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{9..10} )
-inherit python-any-r1 cmake
-
-DESCRIPTION="CBOR protocol implementation for C and others"
-HOMEPAGE="https://github.com/pjk/libcbor;
-SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
-IUSE="+custom-alloc doc test"
-
-BDEPEND="
-   doc? (
-   $(python_gen_any_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
-   dev-python/breathe[${PYTHON_USEDEP}]
-   ')
-   )
-   test? ( dev-util/cmocka )
-"
-
-RESTRICT="!test? ( test )"
-

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

2023-05-20 Thread Sam James
commit: ebb68b32be2b06c9c97e0364f7d61858b8db3884
Author: Sam James  gentoo  org>
AuthorDate: Sun May 21 05:27:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 21 05:34:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb68b32

dev-libs/libcbor: use -j1 for doc build

Closes: https://bugs.gentoo.org/770202
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index b7c6aff0849d..75b5ed188e33 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -55,7 +55,7 @@ src_compile() {
if use doc; then
mkdir -p doc/build || die
pushd doc >/dev/null || die
-   emake html man
+   emake -j1 html man
popd >/dev/null || die
fi
 }



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

2023-05-01 Thread Arthur Zamarin
commit: c40dedd9d8e3b964c4c68f7a586d82911cbd6db2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May  1 06:04:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May  1 06:04:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40dedd9

dev-libs/libcbor: Stabilize 0.10.2 sparc, #905347

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 878bf8dd79be..b7c6aff0849d 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-04-30 Thread Sam James
commit: b89b724e4f4554b9d717cd847549967f09a51c3b
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 02:25:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 02:25:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b89b724e

dev-libs/libcbor: Stabilize 0.10.2 ppc64, #905347

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

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 4b5cfdc9802d..7d3cab323923 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-04-30 Thread Sam James
commit: d97eae162cfc41c21925f097bb82a72a82b9f8b9
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 02:25:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 02:25:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97eae16

dev-libs/libcbor: Stabilize 0.10.2 ppc, #905347

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

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 7d3cab323923..878bf8dd79be 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-04-30 Thread Sam James
commit: 4a9c2710a9ca46bae5b2e3def232f933b58d6375
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 00:15:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 00:15:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a9c2710

dev-libs/libcbor: Stabilize 0.10.2 x86, #905347

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

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 98c2bfaa7148..4b5cfdc9802d 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-04-30 Thread Sam James
commit: cf316c189ce7672e33eb0fd226580a23737c5db2
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 00:08:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 00:08:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf316c18

dev-libs/libcbor: Stabilize 0.10.2 arm64, #905347

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

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 1cd1c911f12e..1cda0cf2fe4a 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-04-30 Thread Sam James
commit: 201a7fa5b0224766cdec6aeec8967179ce38e08c
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 00:08:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 00:08:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201a7fa5

dev-libs/libcbor: Stabilize 0.10.2 amd64, #905347

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

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 1cda0cf2fe4a..98c2bfaa7148 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-04-30 Thread Sam James
commit: 126b1a3d5cc1f0a5c81dcaa47d4f897f6a3c2058
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 00:08:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 00:08:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126b1a3d

dev-libs/libcbor: Stabilize 0.10.2 arm, #905347

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

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

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
index 666986da33e4..1cd1c911f12e 100644
--- a/dev-libs/libcbor/libcbor-0.10.2.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-03-04 Thread Arthur Zamarin
commit: 537bfc951a05c470f8e13db35e92db328dd4c9d7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 14:06:22 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 14:06:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=537bfc95

dev-libs/libcbor: Stabilize 0.10.1 ppc64, #899354

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.10.1.ebuild 
b/dev-libs/libcbor/libcbor-0.10.1.ebuild
index ee777d332bd4..2f7271072a52 100644
--- a/dev-libs/libcbor/libcbor-0.10.1.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-03-04 Thread Arthur Zamarin
commit: 4151216122c13a780439b9f0c03db8a2aedabf89
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 08:18:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 08:18:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41512161

dev-libs/libcbor: Stabilize 0.10.1 amd64, #899354

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.10.1.ebuild 
b/dev-libs/libcbor/libcbor-0.10.1.ebuild
index f4e4f48453a2..ee777d332bd4 100644
--- a/dev-libs/libcbor/libcbor-0.10.1.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-03-03 Thread Arthur Zamarin
commit: ec5701c860d81c41e1facd9701a0818e31950efc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 06:08:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 06:08:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5701c8

dev-libs/libcbor: Stabilize 0.10.1 sparc, #899354

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.10.1.ebuild 
b/dev-libs/libcbor/libcbor-0.10.1.ebuild
index aad82082f0c3..f4e4f48453a2 100644
--- a/dev-libs/libcbor/libcbor-0.10.1.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-03-03 Thread Arthur Zamarin
commit: 5f6f2a59e674a71fee973738013266a3178996f7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 05:46:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 05:46:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6f2a59

dev-libs/libcbor: Stabilize 0.10.1 arm64, #899354

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.10.1.ebuild 
b/dev-libs/libcbor/libcbor-0.10.1.ebuild
index e53beb80f63e..aad82082f0c3 100644
--- a/dev-libs/libcbor/libcbor-0.10.1.ebuild
+++ b/dev-libs/libcbor/libcbor-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2023-01-31 Thread Patrick McLean
commit: 2361ae5f983a26473111a48496fbaf06c577cbf6
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Feb  1 02:23:04 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Feb  1 02:23:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2361ae5f

dev-libs/libcbor: add 0.10.2

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

 dev-libs/libcbor/Manifest  |  1 +
 dev-libs/libcbor/libcbor-0.10.2.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index fcb60a3759e7..20b568f676d6 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1,2 +1,3 @@
 DIST libcbor-0.10.1.tar.gz 284393 BLAKE2B 
49b224493b4743fab0352e139ed9e85873238beb25e23555cd31f2ef720f6eb9ac136f26a92be56778f703f240dab2b6e0beddbb88c5cbf7edf084db7e96df76
 SHA512 
fd662d59127cd86a7e13eeb87ba0b4a9280f367b77fe85f579e5c230503ad39a323a8b9dfb8c6a49f8a05d5b81460ca4526dc130c7e1d403fd0839c0f37f5548
+DIST libcbor-0.10.2.tar.gz 289450 BLAKE2B 
3ef2d7fd7942ff32acbe59db6a4b68ad72dde3af4675ef2ee3c93666360554d6e9a29392dbc4fb3029f9ff821f536b90bfd1c522c9c9c2298ab511322fb53d37
 SHA512 
23c6177443778d4b4833ec7ed0d0e639a0d4863372e3a38d772fdce2673eae6d5cb2a31a2a021d1a699082ea53494977c907fd0e94149b97cb23a4b6d039228a
 DIST libcbor-0.9.0.tar.gz 275405 BLAKE2B 
7e78722650c702552dda4844615c454989281abe8c45ba3c9168af16e9d440a1b7e4e0c9afd89faa48e74ba85dcbe0c7733eec3e44fdafc0ca340e97574fe274
 SHA512 
710239f69d770212a82e933e59df1aba0fb3ec516efa366f30a950565a52981b0d46ca7e0eea739f5785d79cc21fc19acd857a4a0b135f4f6aa3ef5fd3b0

diff --git a/dev-libs/libcbor/libcbor-0.10.2.ebuild 
b/dev-libs/libcbor/libcbor-0.10.2.ebuild
new file mode 100644
index ..db0bd0476f03
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.10.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+   python_has_version \
+   "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" \
+   "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   mkdir -p doc/build || die
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2023-01-05 Thread Patrick McLean
commit: 7f7c0dc1be21380538e111eef98d1692da6ef3a9
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Jan  5 17:13:55 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Jan  5 17:13:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7c0dc1

dev-libs/libcbor: add 0.10.1

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

 dev-libs/libcbor/Manifest  |  1 +
 dev-libs/libcbor/libcbor-0.10.1.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 1c0df0767ddc..fcb60a3759e7 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1 +1,2 @@
+DIST libcbor-0.10.1.tar.gz 284393 BLAKE2B 
49b224493b4743fab0352e139ed9e85873238beb25e23555cd31f2ef720f6eb9ac136f26a92be56778f703f240dab2b6e0beddbb88c5cbf7edf084db7e96df76
 SHA512 
fd662d59127cd86a7e13eeb87ba0b4a9280f367b77fe85f579e5c230503ad39a323a8b9dfb8c6a49f8a05d5b81460ca4526dc130c7e1d403fd0839c0f37f5548
 DIST libcbor-0.9.0.tar.gz 275405 BLAKE2B 
7e78722650c702552dda4844615c454989281abe8c45ba3c9168af16e9d440a1b7e4e0c9afd89faa48e74ba85dcbe0c7733eec3e44fdafc0ca340e97574fe274
 SHA512 
710239f69d770212a82e933e59df1aba0fb3ec516efa366f30a950565a52981b0d46ca7e0eea739f5785d79cc21fc19acd857a4a0b135f4f6aa3ef5fd3b0

diff --git a/dev-libs/libcbor/libcbor-0.10.1.ebuild 
b/dev-libs/libcbor/libcbor-0.10.1.ebuild
new file mode 100644
index ..eaf307fe3736
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.10.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+   python_has_version \
+   "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" \
+   "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2022-10-04 Thread Arthur Zamarin
commit: f145467c02c0ab7bb2b3d5fb82a1b2e7152f86b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct  4 19:47:58 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct  4 20:23:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f145467c

dev-libs/libcbor: use python_has_version inside python_check_deps

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libcbor/libcbor-0.9.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 5878e0247683..9d2172da0ce8 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -30,8 +30,9 @@ BDEPEND="
 RESTRICT="!test? ( test )"
 
 python_check_deps() {
-   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
-   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \
+   "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" \
+   "dev-python/breathe[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {



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

2022-06-01 Thread Sam James
commit: 7986f25df2d56d623259caa5766128211a08a917
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 00:09:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 00:09:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7986f25d

dev-libs/libcbor: Stabilize 0.9.0 arm64, #846887

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

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 56ca287ac6a0..5878e0247683 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-06-01 Thread Jakov Smolić
commit: 23d47037517e132119169efef6768794f4bf367d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jun  1 08:32:28 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jun  1 08:32:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d47037

dev-libs/libcbor: Stabilize 0.9.0 arm, #846887

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 51ba93b0b764..56ca287ac6a0 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-06-01 Thread Jakov Smolić
commit: 78fdabea7907ce97e9abd26abe25d7b31d2d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jun  1 08:15:14 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jun  1 08:15:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78fdabea

dev-libs/libcbor: Stabilize 0.9.0 amd64, #846887

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 674adcbebcd2..51ba93b0b764 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-06-01 Thread Jakov Smolić
commit: abd4a6f5490f271d0ed268e964a82299b46e71b0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jun  1 08:13:40 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jun  1 08:14:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd4a6f5

dev-libs/libcbor: Stabilize 0.9.0 sparc, #846887

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index bfa45642926d..674adcbebcd2 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-06-01 Thread Sam James
commit: 3463ce32637881b4f8e9572bdae59351ef05045e
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  1 07:37:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  1 07:37:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3463ce32

dev-libs/libcbor: Stabilize 0.9.0 x86, #846887

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

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 108cbfc47705..bfa45642926d 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-06-01 Thread Sam James
commit: f3cfbda9df591795511b29418611191b41f6c1ca
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  1 07:31:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  1 07:31:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3cfbda9

dev-libs/libcbor: Stabilize 0.9.0 ppc64, #846887

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

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 70a90afd6b61..108cbfc47705 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-06-01 Thread Sam James
commit: 42402bd8361b43cfc1c6fb9637fb83d6e37856a2
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  1 07:31:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  1 07:31:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42402bd8

dev-libs/libcbor: Stabilize 0.9.0 ppc, #846887

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

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index e232a2794eb9..70a90afd6b61 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-05-05 Thread WANG Xuerui
commit: 0608f1577d02aeb3370d370d8b24777f5b79acc2
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 23:13:56 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 23:43:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0608f157

dev-libs/libcbor: keyword 0.9.0 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index a48480af6a93..e232a2794eb9 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2022-01-16 Thread Joshua Kinard
commit: d160a97c7a65363ceb5508925e6eca9df052612b
Author: Joshua Kinard  gentoo  org>
AuthorDate: Mon Jan 17 07:19:16 2022 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Mon Jan 17 07:19:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d160a97c

dev-libs/libcbor: Added ~mips to KEYWORDS

Bug: https://bugs.gentoo.org/709752
Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 dev-libs/libcbor/libcbor-0.9.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
index 2c1723006aef..a48480af6a93 100644
--- a/dev-libs/libcbor/libcbor-0.9.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2021-11-26 Thread Patrick McLean
commit: be3a7b2afb286c6018bc72bb2333cb773e9daad0
Author: Patrick McLean  sony  com>
AuthorDate: Fri Nov 26 20:52:48 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Nov 26 20:52:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3a7b2a

dev-libs/libcbor: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/libcbor/Manifest |  1 +
 dev-libs/libcbor/libcbor-0.9.0.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 74840a9ab218..e77da9690b99 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1 +1,2 @@
 DIST libcbor-0.8.0.tar.gz 267044 BLAKE2B 
e8548e7351984ebdcbeb5f13a7ca35412c3f3f05e2a44a5438d57b90bdcdc51f5265953163106f90ade911a96af665956ebeba7ed1c48cf207acf6d683af5606
 SHA512 
694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc
+DIST libcbor-0.9.0.tar.gz 275405 BLAKE2B 
7e78722650c702552dda4844615c454989281abe8c45ba3c9168af16e9d440a1b7e4e0c9afd89faa48e74ba85dcbe0c7733eec3e44fdafc0ca340e97574fe274
 SHA512 
710239f69d770212a82e933e59df1aba0fb3ec516efa366f30a950565a52981b0d46ca7e0eea739f5785d79cc21fc19acd857a4a0b135f4f6aa3ef5fd3b0

diff --git a/dev-libs/libcbor/libcbor-0.9.0.ebuild 
b/dev-libs/libcbor/libcbor-0.9.0.ebuild
new file mode 100644
index ..2c1723006aef
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.9.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{8..10} )
+inherit python-any-r1 cmake
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
+   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2021-10-02 Thread James Le Cuirot
commit: c90b1776c122762604c96d12544e34f516e54877
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Oct  2 09:06:56 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Oct  2 09:06:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90b1776

dev-libs/libcbor: Keyword 0.8.0 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 44f2484795e..78a7fa5584d 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2021-08-02 Thread Marek Szuba
commit: 271c3e9dc7be5fb163f1fceabfb6401bb45a5b0d
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug  2 13:07:19 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug  2 16:42:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271c3e9d

dev-libs/libcbor: keyword 0.8.0 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-libs/libcbor/libcbor-0.8.0.ebuild | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index b71a5d850fd..44f2484795e 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -3,8 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
-inherit python-any-r1 cmake-utils
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{8..9} )
+inherit python-any-r1 cmake
 
 DESCRIPTION="CBOR protocol implementation for C and others"
 HOMEPAGE="https://github.com/pjk/libcbor;
@@ -12,7 +13,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="
@@ -28,8 +29,6 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
-CMAKE_MAKEFILE_GENERATOR="emake"
-
 python_check_deps() {
has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
has_version "dev-python/breathe[${PYTHON_USEDEP}]"
@@ -46,11 +45,11 @@ src_configure() {
-DWITH_TESTS=$(usex test 'ON' 'OFF')
)
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 src_compile() {
-   cmake-utils_src_compile
+   cmake_src_compile
 
if use doc; then
pushd doc >/dev/null || die
@@ -60,7 +59,7 @@ src_compile() {
 }
 
 src_install() {
-   cmake-utils_src_install
+   cmake_src_install
 
if use doc; then
dodoc -r doc/build/html



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

2021-05-23 Thread Michał Górny
commit: eadfd3853df8f52e8b04389867607987c5f07b5f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 23 19:27:43 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 23 19:28:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eadfd385

dev-libs/libcbor: Enable py3.9

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 825d999239c..b71a5d850fd 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit python-any-r1 cmake-utils
 
 DESCRIPTION="CBOR protocol implementation for C and others"



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

2021-02-06 Thread Sam James
commit: fd49f19b7adab6eea795f9e2d468afd115e9be34
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  6 21:26:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  6 21:29:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd49f19b

dev-libs/libcbor: add missing doc dep (dev-python/sphinx_rtd_theme)

Closes: https://bugs.gentoo.org/732306
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libcbor/libcbor-0.8.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 7eab356ed72..a59a570f5eb 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -19,6 +19,7 @@ BDEPEND="
doc? (
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
dev-python/breathe[${PYTHON_USEDEP}]
')
)



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

2021-02-06 Thread Sam James
commit: c8eba3c293ed6ac2eb7faa6bb2676ceb9ce3a300
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  6 13:27:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  6 13:27:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8eba3c2

dev-libs/libcbor: Stabilize 0.8.0 s390, #751484

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

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 589fa21feab..7eab356ed72 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2021-01-14 Thread Sergei Trofimovich
commit: b7f1aff60567ae055b69f29ac0f3e61d54d82fe9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jan 14 18:41:06 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jan 14 20:09:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f1aff6

dev-libs/libcbor: stable 0.8.0 for sparc, bug #751484

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libcbor/libcbor-0.8.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index a62fb30caa6..22bdb9b768d 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.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
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-31 Thread Michał Górny
commit: 693b978497656053cdb87607a91829369ac3bad9
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 00:51:54 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  1 00:51:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=693b9784

dev-libs/libcbor: Remove old (py3.6)

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libcbor/Manifest|  4 --
 dev-libs/libcbor/libcbor-0.5.0.ebuild| 68 
 dev-libs/libcbor/libcbor-0.6.0-r1.ebuild | 68 
 dev-libs/libcbor/libcbor-0.6.1.ebuild| 68 
 dev-libs/libcbor/libcbor-0.7.0.ebuild| 68 
 5 files changed, 276 deletions(-)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index fa2e5872c04..74840a9ab21 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1,5 +1 @@
-DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 
57e15e648159e7858d9d57a8b4cb7f3682f8153248610c9a3385cf9cbdea8babaf81d596b25d44bf6d59c75de23e76cce462fa7860b294019f46636726206d5a
 SHA512 
5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c
-DIST libcbor-0.6.0.tar.gz 262622 BLAKE2B 
2d3bc10bdb69c9205430718a8f2652672a8fa580ba7951c4012bdc8b502a9d6dcb26f398740f5fd35dfe0634f8e3d8ddf7eff5b9ec35c95cdc5383e2dce9f0ab
 SHA512 
6adbb32780d428140388295c5d740bd77b0ae7b21e3f73629ba56a3aa4e4ee5dbb715454061b0f6f67f2b19ea8366e0e5c24f4ffb1ba629afcb7a776a15045f7
-DIST libcbor-0.6.1.tar.gz 263486 BLAKE2B 
9a2415c1dde7ed611075c3b03ea1d8ab63bcb00dfc0cae3d7a3bb225b6fbee2a8f576b1f0f97eb6f0cf14c1a6e9df1c77f69320bac041287b0dec37c073f8b85
 SHA512 
dc9bb7d18b934fe33faabe30010425cb272d7e135f3bf233554bc934b1701f85c7b662e0d5a6a1921c21cd46acb4393600e9adc05b09d1b2a8e3c92ca9d7e4e8
-DIST libcbor-0.7.0.tar.gz 266323 BLAKE2B 
76f93d3199e703c4167aeed262da7ba78d1df82e081754609391572b89f216efba0c54511d4021049fc6c62ab01b08835f02a58bbf226d973174b37eff087761
 SHA512 
4e2ed55ef17b8b77f82d780b1ee998d0342b67e6beabc24795117e5e222549640fe7fd261c8e78524d6489d03f7f5aa46b987709790a81f93e4d7409c32fecda
 DIST libcbor-0.8.0.tar.gz 267044 BLAKE2B 
e8548e7351984ebdcbeb5f13a7ca35412c3f3f05e2a44a5438d57b90bdcdc51f5265953163106f90ade911a96af665956ebeba7ed1c48cf207acf6d683af5606
 SHA512 
694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc

diff --git a/dev-libs/libcbor/libcbor-0.5.0.ebuild 
b/dev-libs/libcbor/libcbor-0.5.0.ebuild
deleted file mode 100644
index fac56ccb78b..000
--- a/dev-libs/libcbor/libcbor-0.5.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-inherit python-any-r1 cmake-utils
-
-DESCRIPTION="CBOR protocol implementation for C and others"
-HOMEPAGE="https://github.com/pjk/libcbor;
-SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="+custom-alloc doc test"
-
-BDEPEND="
-   doc? (
-   $(python_gen_any_dep '
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/breathe[${PYTHON_USEDEP}]
-   ')
-   )
-   test? ( dev-util/cmocka )
-"
-
-RESTRICT="!test? ( test )"
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-
-python_check_deps() {
-   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
-   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   use doc && python-any-r1_pkg_setup
-}
-
-src_configure() {
-   local -a mycmakeargs=(
-   -DCMAKE_BUILD_TYPE=Release
-   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
-   -DWITH_TESTS=$(usex test 'ON' 'OFF')
-   )
-
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-
-   if use doc; then
-   pushd doc >/dev/null || die
-   emake html man
-   popd >/dev/null || die
-   fi
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   if use doc; then
-   dodoc -r doc/build/html
-   doman doc/build/man/*
-   fi
-}

diff --git a/dev-libs/libcbor/libcbor-0.6.0-r1.ebuild 
b/dev-libs/libcbor/libcbor-0.6.0-r1.ebuild
deleted file mode 100644
index 92997f9ab20..000
--- a/dev-libs/libcbor/libcbor-0.6.0-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-inherit python-any-r1 cmake-utils
-
-DESCRIPTION="CBOR protocol implementation for C and others"
-HOMEPAGE="https://github.com/pjk/libcbor;
-SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"

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

2020-12-27 Thread Sergei Trofimovich
commit: 88c12b67a6dfc806b097d917c843bd6ee0bb53e0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 27 12:50:39 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 27 12:51:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c12b67

dev-libs/libcbor: stable 0.8.0 for hppa

stable wrt bug #751484

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index a62fb30caa6..0ba2a8e299d 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-24 Thread Sergei Trofimovich
commit: f82f7289e0f690043d660d392a84b7ffa5485e86
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Dec 24 18:41:10 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 24 22:06:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f82f7289

dev-libs/libcbor: stable 0.8.0 for ppc64

stable wrt bug #751484

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 6ef3911d911..a62fb30caa6 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-24 Thread Agostino Sarubbo
commit: 55cfc7d28161c256225b163e67eaeec4b0a6aade
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 24 10:01:55 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 24 10:01:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cfc7d2

dev-libs/libcbor: amd64 stable wrt bug #751484

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index edefc0f675a..6ef3911d911 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-22 Thread Sam James
commit: f4f1ed194e613f1129169ffa72ccf7febe955692
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 21:04:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 21:04:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f1ed19

dev-libs/libcbor: Stabilize 0.8.0 arm, #751484

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

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 77e057ea8d9..edefc0f675a 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-22 Thread Sam James
commit: cdbb68bca2ace1be51570d46ff5c292ddf64f82c
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 21:03:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 21:03:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdbb68bc

dev-libs/libcbor: Stabilize 0.8.0 arm64, #751484

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

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index cbc1360f516..77e057ea8d9 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-21 Thread Sam James
commit: c9c2f4925167a3e4128b78911d0ed7fc21dd3182
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 21 23:54:09 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 21 23:55:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c2f492

dev-libs/libcbor: Stabilize 0.8.0 ppc, #751484

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

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 6c5c330a9b4..cbc1360f516 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-12-21 Thread Thomas Deutschmann
commit: 2e6a35c16041a3d69ba51a8cd9ec7f0ede3749e2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Dec 21 17:47:16 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Dec 21 17:47:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6a35c1

dev-libs/libcbor: x86 stable (bug #751484)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 6ddbb366f86..6c5c330a9b4 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-09-29 Thread Sergei Trofimovich
commit: 74aa796291586b0fe27f22989504e6eadbdbdc64
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Sep 29 19:36:56 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep 29 21:25:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74aa7962

dev-libs/libcbor: keyworded 0.8.0 for hppa, bug #709752

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
index 07dbf2319ea..6ddbb366f86 100644
--- a/dev-libs/libcbor/libcbor-0.8.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-09-21 Thread Patrick McLean
commit: c8bccabe975025e7aed3871f00492c8a687b4cd7
Author: Patrick McLean  sony  com>
AuthorDate: Mon Sep 21 17:35:39 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon Sep 21 17:35:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8bccabe

dev-libs/libcbor-0.8.0: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Patrick McLean  gentoo.org>

 dev-libs/libcbor/Manifest |  1 +
 dev-libs/libcbor/libcbor-0.8.0.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 5f4226e6055..fa2e5872c04 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -2,3 +2,4 @@ DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 
57e15e648159e7858d9d57a8b4cb7f3682f8153
 DIST libcbor-0.6.0.tar.gz 262622 BLAKE2B 
2d3bc10bdb69c9205430718a8f2652672a8fa580ba7951c4012bdc8b502a9d6dcb26f398740f5fd35dfe0634f8e3d8ddf7eff5b9ec35c95cdc5383e2dce9f0ab
 SHA512 
6adbb32780d428140388295c5d740bd77b0ae7b21e3f73629ba56a3aa4e4ee5dbb715454061b0f6f67f2b19ea8366e0e5c24f4ffb1ba629afcb7a776a15045f7
 DIST libcbor-0.6.1.tar.gz 263486 BLAKE2B 
9a2415c1dde7ed611075c3b03ea1d8ab63bcb00dfc0cae3d7a3bb225b6fbee2a8f576b1f0f97eb6f0cf14c1a6e9df1c77f69320bac041287b0dec37c073f8b85
 SHA512 
dc9bb7d18b934fe33faabe30010425cb272d7e135f3bf233554bc934b1701f85c7b662e0d5a6a1921c21cd46acb4393600e9adc05b09d1b2a8e3c92ca9d7e4e8
 DIST libcbor-0.7.0.tar.gz 266323 BLAKE2B 
76f93d3199e703c4167aeed262da7ba78d1df82e081754609391572b89f216efba0c54511d4021049fc6c62ab01b08835f02a58bbf226d973174b37eff087761
 SHA512 
4e2ed55ef17b8b77f82d780b1ee998d0342b67e6beabc24795117e5e222549640fe7fd261c8e78524d6489d03f7f5aa46b987709790a81f93e4d7409c32fecda
+DIST libcbor-0.8.0.tar.gz 267044 BLAKE2B 
e8548e7351984ebdcbeb5f13a7ca35412c3f3f05e2a44a5438d57b90bdcdc51f5265953163106f90ade911a96af665956ebeba7ed1c48cf207acf6d683af5606
 SHA512 
694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc

diff --git a/dev-libs/libcbor/libcbor-0.8.0.ebuild 
b/dev-libs/libcbor/libcbor-0.8.0.ebuild
new file mode 100644
index 000..07dbf2319ea
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.8.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-any-r1 cmake-utils
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+python_check_deps() {
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
+   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2020-07-11 Thread Sam James
commit: 3ca331b9a70bfddcb8b4c1d1407a31787ea2f726
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 12 01:29:10 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 12 01:29:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca331b9

dev-libs/libcbor: s390 keyworded (bug #709752)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
index d0c568fb3be..9d906f79cbf 100644
--- a/dev-libs/libcbor/libcbor-0.7.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-05-31 Thread Matt Turner
commit: f09eb31c84c635076970c3d5094ef38dde298d1d
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jun  1 04:02:35 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jun  1 04:03:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09eb31c

dev-libs/libcbor: Keyword 0.7.0 alpha, #709752

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
index 0f1ec75c776..d0c568fb3be 100644
--- a/dev-libs/libcbor/libcbor-0.7.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-05-31 Thread Sergei Trofimovich
commit: 7c5bf8bc14d1bf1186758396e41416ba819e956e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 31 19:08:20 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 31 19:09:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5bf8bc

dev-libs/libcbor: keyworded 0.7.0 for ppc

keyworded wrt , bug #726420

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
index b4319500d91..0f1ec75c776 100644
--- a/dev-libs/libcbor/libcbor-0.7.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-05-31 Thread Sergei Trofimovich
commit: d97624986d8d71b7030bff854f7f62458aefd4b1
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 31 15:17:29 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 31 15:17:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9762498

dev-libs/libcbor: keyworded 0.7.0 for ia64, bug #709752

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
index 7041fdc527a..b4319500d91 100644
--- a/dev-libs/libcbor/libcbor-0.7.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-05-28 Thread Sergei Trofimovich
commit: 4304a08ec44ed867db3888fed2e734ac63bb2055
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu May 28 16:01:19 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 28 18:19:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4304a08e

dev-libs/libcbor: keyworded 0.7.0 for sparc, bug #709752

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
index 7f1fba77043..7041fdc527a 100644
--- a/dev-libs/libcbor/libcbor-0.7.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${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 ~sparc ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-05-02 Thread Mart Raudsepp
commit: ba8eba9bdb97f4890d896a136092906814554965
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sat May  2 07:29:26 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat May  2 13:15:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8eba9b

dev-libs/libcbor: arm64 keyworded (bug #709752)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
index c1b2c893b7a..7f1fba77043 100644
--- a/dev-libs/libcbor/libcbor-0.7.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-04-25 Thread Patrick McLean
commit: 9ad6d0447139cf45d48b03f5a33a656e4c32d86b
Author: Patrick McLean  gentoo  org>
AuthorDate: Sat Apr 25 19:41:29 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Apr 25 19:41:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad6d044

dev-libs/libcbor-0.7.0: Version bump, set subslot to PV

This seems to break ABI with every release, triggering a preserved-libs.
Set the subslot to avoid this.

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

 dev-libs/libcbor/Manifest |  1 +
 dev-libs/libcbor/libcbor-0.7.0.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index d9c19bffcc8..5f4226e6055 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1,3 +1,4 @@
 DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 
57e15e648159e7858d9d57a8b4cb7f3682f8153248610c9a3385cf9cbdea8babaf81d596b25d44bf6d59c75de23e76cce462fa7860b294019f46636726206d5a
 SHA512 
5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c
 DIST libcbor-0.6.0.tar.gz 262622 BLAKE2B 
2d3bc10bdb69c9205430718a8f2652672a8fa580ba7951c4012bdc8b502a9d6dcb26f398740f5fd35dfe0634f8e3d8ddf7eff5b9ec35c95cdc5383e2dce9f0ab
 SHA512 
6adbb32780d428140388295c5d740bd77b0ae7b21e3f73629ba56a3aa4e4ee5dbb715454061b0f6f67f2b19ea8366e0e5c24f4ffb1ba629afcb7a776a15045f7
 DIST libcbor-0.6.1.tar.gz 263486 BLAKE2B 
9a2415c1dde7ed611075c3b03ea1d8ab63bcb00dfc0cae3d7a3bb225b6fbee2a8f576b1f0f97eb6f0cf14c1a6e9df1c77f69320bac041287b0dec37c073f8b85
 SHA512 
dc9bb7d18b934fe33faabe30010425cb272d7e135f3bf233554bc934b1701f85c7b662e0d5a6a1921c21cd46acb4393600e9adc05b09d1b2a8e3c92ca9d7e4e8
+DIST libcbor-0.7.0.tar.gz 266323 BLAKE2B 
76f93d3199e703c4167aeed262da7ba78d1df82e081754609391572b89f216efba0c54511d4021049fc6c62ab01b08835f02a58bbf226d973174b37eff087761
 SHA512 
4e2ed55ef17b8b77f82d780b1ee998d0342b67e6beabc24795117e5e222549640fe7fd261c8e78524d6489d03f7f5aa46b987709790a81f93e4d7409c32fecda

diff --git a/dev-libs/libcbor/libcbor-0.7.0.ebuild 
b/dev-libs/libcbor/libcbor-0.7.0.ebuild
new file mode 100644
index 000..c1b2c893b7a
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.7.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-any-r1 cmake-utils
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+python_check_deps() {
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
+   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2020-04-04 Thread Sergei Trofimovich
commit: 40a421b5ba7d556b0c3b282fc2f18849ee86e722
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr  4 10:43:18 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr  4 10:43:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a421b5

dev-libs/libcbor: keyworded 0.5.0 for ppc, bug #709752

Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.5.0.ebuild 
b/dev-libs/libcbor/libcbor-0.5.0.ebuild
index 1189742b205..fac56ccb78b 100644
--- a/dev-libs/libcbor/libcbor-0.5.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-03-30 Thread Thomas Deutschmann
commit: 6ecfd1ca3f66b718f42a65b57ed5212199248d69
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Mar 30 16:59:11 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Mar 30 16:59:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ecfd1ca

dev-libs/libcbor: bump to v0.6.1

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/libcbor/Manifest |  1 +
 dev-libs/libcbor/libcbor-0.6.1.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 727832f6f39..d9c19bffcc8 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1,2 +1,3 @@
 DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 
57e15e648159e7858d9d57a8b4cb7f3682f8153248610c9a3385cf9cbdea8babaf81d596b25d44bf6d59c75de23e76cce462fa7860b294019f46636726206d5a
 SHA512 
5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c
 DIST libcbor-0.6.0.tar.gz 262622 BLAKE2B 
2d3bc10bdb69c9205430718a8f2652672a8fa580ba7951c4012bdc8b502a9d6dcb26f398740f5fd35dfe0634f8e3d8ddf7eff5b9ec35c95cdc5383e2dce9f0ab
 SHA512 
6adbb32780d428140388295c5d740bd77b0ae7b21e3f73629ba56a3aa4e4ee5dbb715454061b0f6f67f2b19ea8366e0e5c24f4ffb1ba629afcb7a776a15045f7
+DIST libcbor-0.6.1.tar.gz 263486 BLAKE2B 
9a2415c1dde7ed611075c3b03ea1d8ab63bcb00dfc0cae3d7a3bb225b6fbee2a8f576b1f0f97eb6f0cf14c1a6e9df1c77f69320bac041287b0dec37c073f8b85
 SHA512 
dc9bb7d18b934fe33faabe30010425cb272d7e135f3bf233554bc934b1701f85c7b662e0d5a6a1921c21cd46acb4393600e9adc05b09d1b2a8e3c92ca9d7e4e8

diff --git a/dev-libs/libcbor/libcbor-0.6.1.ebuild 
b/dev-libs/libcbor/libcbor-0.6.1.ebuild
new file mode 100644
index 000..368f5493f9e
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.6.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-any-r1 cmake-utils
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+python_check_deps() {
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
+   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2020-03-16 Thread Patrick McLean
commit: a707eb5ebceee84c3174fc6bda10f229b712da1b
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Mar 17 01:54:18 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Mar 17 01:55:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a707eb5e

dev-libs/libcbor-0.6.0-r1: revbump, bump subslot

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

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

diff --git a/dev-libs/libcbor/libcbor-0.6.0.ebuild 
b/dev-libs/libcbor/libcbor-0.6.0-r1.ebuild
similarity index 99%
rename from dev-libs/libcbor/libcbor-0.6.0.ebuild
rename to dev-libs/libcbor/libcbor-0.6.0-r1.ebuild
index 1189742b205..92997f9ab20 100644
--- a/dev-libs/libcbor/libcbor-0.6.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.6.0-r1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/pjk/libcbor;
 SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
-SLOT="0/0"
+SLOT="0/1"
 KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
 IUSE="+custom-alloc doc test"
 



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

2020-03-16 Thread Patrick McLean
commit: 1b6b719355c439c1542d8644862bee6e865d2758
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Mar 17 01:41:06 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Mar 17 01:41:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6b7193

dev-libs/libcbor-0.6.0: Version bump

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

 dev-libs/libcbor/Manifest |  1 +
 dev-libs/libcbor/libcbor-0.6.0.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
index 5f1048aa4eb..727832f6f39 100644
--- a/dev-libs/libcbor/Manifest
+++ b/dev-libs/libcbor/Manifest
@@ -1 +1,2 @@
 DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 
57e15e648159e7858d9d57a8b4cb7f3682f8153248610c9a3385cf9cbdea8babaf81d596b25d44bf6d59c75de23e76cce462fa7860b294019f46636726206d5a
 SHA512 
5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c
+DIST libcbor-0.6.0.tar.gz 262622 BLAKE2B 
2d3bc10bdb69c9205430718a8f2652672a8fa580ba7951c4012bdc8b502a9d6dcb26f398740f5fd35dfe0634f8e3d8ddf7eff5b9ec35c95cdc5383e2dce9f0ab
 SHA512 
6adbb32780d428140388295c5d740bd77b0ae7b21e3f73629ba56a3aa4e4ee5dbb715454061b0f6f67f2b19ea8366e0e5c24f4ffb1ba629afcb7a776a15045f7

diff --git a/dev-libs/libcbor/libcbor-0.6.0.ebuild 
b/dev-libs/libcbor/libcbor-0.6.0.ebuild
new file mode 100644
index 000..1189742b205
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.6.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit python-any-r1 cmake-utils
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+   test? ( dev-util/cmocka )
+"
+
+RESTRICT="!test? ( test )"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+python_check_deps() {
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
+   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}



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

2020-03-15 Thread Mikle Kolyada
commit: e7d559c674ef952807a7816aa50080e0cf167b47
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 15 12:15:59 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 15 12:15:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d559c6

dev-libs/libcbor: Add ~arm keyword wrt bug #709752

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

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

diff --git a/dev-libs/libcbor/libcbor-0.5.0.ebuild 
b/dev-libs/libcbor/libcbor-0.5.0.ebuild
index 139a3f3a043..1189742b205 100644
--- a/dev-libs/libcbor/libcbor-0.5.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="



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

2020-02-15 Thread Georgy Yakovlev
commit: d23f6ecbf4af98f52bd6ea65dd52f814020c3f90
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Feb 16 06:58:58 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Feb 16 07:12:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23f6ecb

dev-libs/libcbor: keyword on ~ppc64, bug #709752

also add missing cmocka testdep

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-libs/libcbor/libcbor-0.5.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libcbor/libcbor-0.5.0.ebuild 
b/dev-libs/libcbor/libcbor-0.5.0.ebuild
index c8144619bb6..139a3f3a043 100644
--- a/dev-libs/libcbor/libcbor-0.5.0.ebuild
+++ b/dev-libs/libcbor/libcbor-0.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="+custom-alloc doc test"
 
 BDEPEND="
@@ -22,6 +22,7 @@ BDEPEND="
dev-python/breathe[${PYTHON_USEDEP}]
')
)
+   test? ( dev-util/cmocka )
 "
 
 RESTRICT="!test? ( test )"



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

2020-02-15 Thread Patrick McLean
commit: 082f5e52cb9384e4e1ea2be73b5b5710cc9d99c0
Author: Patrick McLean  gentoo  org>
AuthorDate: Sun Feb 16 03:53:23 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sun Feb 16 05:02:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082f5e52

dev-libs/libcbor: New package

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

 dev-libs/libcbor/Manifest |  1 +
 dev-libs/libcbor/libcbor-0.5.0.ebuild | 67 +++
 dev-libs/libcbor/metadata.xml | 11 ++
 3 files changed, 79 insertions(+)

diff --git a/dev-libs/libcbor/Manifest b/dev-libs/libcbor/Manifest
new file mode 100644
index 000..5f1048aa4eb
--- /dev/null
+++ b/dev-libs/libcbor/Manifest
@@ -0,0 +1 @@
+DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 
57e15e648159e7858d9d57a8b4cb7f3682f8153248610c9a3385cf9cbdea8babaf81d596b25d44bf6d59c75de23e76cce462fa7860b294019f46636726206d5a
 SHA512 
5c2e9610d9fbb0bfc59f89a180f70b58539a1760fd39cad696af372c164a87828a23bb4d3a54d8e9d846be5271204800f0ad63656ef830f06a0ccdd10edfdb2c

diff --git a/dev-libs/libcbor/libcbor-0.5.0.ebuild 
b/dev-libs/libcbor/libcbor-0.5.0.ebuild
new file mode 100644
index 000..c8144619bb6
--- /dev/null
+++ b/dev-libs/libcbor/libcbor-0.5.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit python-any-r1 cmake-utils
+
+DESCRIPTION="CBOR protocol implementation for C and others"
+HOMEPAGE="https://github.com/pjk/libcbor;
+SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+custom-alloc doc test"
+
+BDEPEND="
+   doc? (
+   $(python_gen_any_dep '
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/breathe[${PYTHON_USEDEP}]
+   ')
+   )
+"
+
+RESTRICT="!test? ( test )"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+python_check_deps() {
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
+   has_version "dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local -a mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
+   -DWITH_TESTS=$(usex test 'ON' 'OFF')
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   emake html man
+   popd >/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use doc; then
+   dodoc -r doc/build/html
+   doman doc/build/man/*
+   fi
+}

diff --git a/dev-libs/libcbor/metadata.xml b/dev-libs/libcbor/metadata.xml
new file mode 100644
index 000..db974170e19
--- /dev/null
+++ b/dev-libs/libcbor/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   Custom, dynamically defined allocator 
support
+   
+