From 153fc1acbc29bd1b73420a52f63392b88f853fe2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 27 Feb 2022 00:22:49 +0000 Subject: net-libs/zmqpp: update EAPI 7 -> 8 Signed-off-by: Sam James --- net-libs/zmqpp/zmqpp-4.2.0-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ net-libs/zmqpp/zmqpp-4.2.0.ebuild | 35 ----------------------------------- 2 files changed, 36 insertions(+), 35 deletions(-) create mode 100644 net-libs/zmqpp/zmqpp-4.2.0-r1.ebuild delete mode 100644 net-libs/zmqpp/zmqpp-4.2.0.ebuild diff --git a/net-libs/zmqpp/zmqpp-4.2.0-r1.ebuild b/net-libs/zmqpp/zmqpp-4.2.0-r1.ebuild new file mode 100644 index 000000000000..147cd25d9633 --- /dev/null +++ b/net-libs/zmqpp/zmqpp-4.2.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/zeromq/zmqpp.git" +else + SRC_URI="https://github.com/zeromq/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="ZeroMQ 'highlevel' C++ bindings" +HOMEPAGE="https://github.com/zeromq/zmqpp" + +LICENSE="MPL-2.0" +SLOT="0" +IUSE="static-libs" + +DEPEND="net-libs/zeromq[static-libs?]" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-multilib-strict.patch" ) + +src_configure() { + local mycmakeargs=( + -DIS_TRAVIS_CI_BUILD=OFF + -DZMQPP_BUILD_SHARED=ON + -DZMQPP_BUILD_STATIC=$(usex static-libs) + ) + + cmake_src_configure +} diff --git a/net-libs/zmqpp/zmqpp-4.2.0.ebuild b/net-libs/zmqpp/zmqpp-4.2.0.ebuild deleted file mode 100644 index 1394708a3dff..000000000000 --- a/net-libs/zmqpp/zmqpp-4.2.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/zeromq/zmqpp.git" -else - SRC_URI="https://github.com/zeromq/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi -inherit cmake-utils - -DESCRIPTION="ZeroMQ 'highlevel' C++ bindings" -HOMEPAGE="https://github.com/zeromq/zmqpp" - -LICENSE="MPL-2.0" -SLOT="0" -IUSE="static-libs" - -DEPEND="net-libs/zeromq[static-libs?]" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${P}-multilib-strict.patch" ) - -src_configure() { - local mycmakeargs=( - -DIS_TRAVIS_CI_BUILD=OFF - -DZMQPP_BUILD_SHARED=ON - -DZMQPP_BUILD_STATIC=$(usex static-libs) - ) - - cmake-utils_src_configure -} -- cgit v1.2.3-65-gdbad