summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-08-02 14:07:19 +0100
committerMarek Szuba <marecki@gentoo.org>2021-08-02 17:42:37 +0100
commit271c3e9dc7be5fb163f1fceabfb6401bb45a5b0d (patch)
tree8a4abc6990423bddd7f2c6b2e1bf3a4403cc896c /dev-libs/libcbor
parentx11-drivers/nvidia-drivers: drop vulnerable 390.143-r1, 460.84 (diff)
downloadgentoo-271c3e9dc7be5fb163f1fceabfb6401bb45a5b0d.tar.gz
gentoo-271c3e9dc7be5fb163f1fceabfb6401bb45a5b0d.tar.bz2
gentoo-271c3e9dc7be5fb163f1fceabfb6401bb45a5b0d.zip
dev-libs/libcbor: keyword 0.8.0 for ~riscv
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/libcbor')
-rw-r--r--dev-libs/libcbor/libcbor-0.8.0.ebuild15
1 files 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 b71a5d850fd2..44f2484795e1 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