mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
dev-cpp/robotraconteur: bump version to 1.2.8
Closes: https://bugs.gentoo.org/974540 Closes: https://bugs.gentoo.org/974657 Signed-off-by: John Wason <wason@wasontech.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST RobotRaconteur-1.2.7-Source.tar.gz 11808734 BLAKE2B cef41066cb557131250d6817658792e4af1b7f5ce8c4ee279823f99232b2da7340a59eec9d37ca29a4763193f531e3a7d12599dff1fdf82745a5015d533bc997 SHA512 9d01d648c4d140206ec794d5c55e237078154ed3419013c8d071d75a664c659fb515482fb4d502a15373e1ae13afcdcf1c53b3458b81b2cc2f522986400ed231
|
||||
DIST RobotRaconteur-1.2.8-Source.tar.gz 11831136 BLAKE2B de9ecf9f5b432b9a64b19f7f64390f110a038a36b33b6c73dd822abd2f18e30eebada08111ca636c7fffdff929f8a5ed78a6015d46d43f75fc119560482053f7 SHA512 1a9ffe6bb0839523e63980b5140c3052772bb2d903c0c81a3e29f8346ea80507f5e2246a3474cd877d93cf3c9117830c9ef73b7bfe9ff78fbad4031e4a20ec27
|
||||
|
||||
89
dev-cpp/robotraconteur/robotraconteur-1.2.8.ebuild
Normal file
89
dev-cpp/robotraconteur/robotraconteur-1.2.8.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit cmake python-r1
|
||||
|
||||
DESCRIPTION="Robot Raconteur C++ library with Python bindings"
|
||||
HOMEPAGE="https://github.com/robotraconteur/robotraconteur"
|
||||
SRC_URI="https://github.com/robotraconteur/robotraconteur/releases/download/v${PV}/RobotRaconteur-${PV}-Source.tar.gz"
|
||||
|
||||
S="${WORKDIR}/RobotRaconteur-${PV}-Source"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="python"
|
||||
|
||||
DEPEND="dev-libs/boost:=
|
||||
dev-libs/openssl
|
||||
dev-libs/libusb
|
||||
sys-apps/dbus
|
||||
net-wireless/bluez
|
||||
python? ( dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
python_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
-DBUILD_GEN=ON
|
||||
-DBUILD_TESTING=OFF
|
||||
-DBUILD_DOCUMENTATION=OFF
|
||||
-DBUILD_PYTHON3=ON
|
||||
-DINSTALL_PYTHON3_PIP=ON
|
||||
-DINSTALL_PYTHON3_PIP_EXTRA_ARGS="--compile --use-pep517 --no-build-isolation --no-deps --root-user-action=ignore"
|
||||
-DROBOTRACONTEURCORE_SOVERSION_MAJOR_ONLY=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use python; then
|
||||
python_foreach_impl python_configure
|
||||
else
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
-DBUILD_GEN=ON
|
||||
-DBUILD_TESTING=OFF
|
||||
-DBUILD_DOCUMENTATION=OFF
|
||||
-DROBOTRACONTEURCORE_SOVERSION_MAJOR_ONLY=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use python; then
|
||||
python_foreach_impl cmake_src_compile
|
||||
else
|
||||
cmake_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
python_install(){
|
||||
cmake_src_install
|
||||
python_optimize "${D}$(python_get_sitedir)/RobotRaconteur" || die "Failed to optimize Python files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use python; then
|
||||
python_foreach_impl python_install
|
||||
else
|
||||
cmake_src_install
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user