public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mmtf-cpp/
Date: Tue,  7 Feb 2023 11:16:06 +0000 (UTC)	[thread overview]
Message-ID: <1675768474.a28783c5c768c1dc17399c99e98075ebfba5315e.marecki@gentoo> (raw)

commit:     a28783c5c768c1dc17399c99e98075ebfba5315e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  7 10:22:26 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 11:14:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28783c5

dev-libs/mmtf-cpp: fix msgpack dependency

The upstream README states clearly "You need the headers of the
MessagePack C++ library", meaning we should depend either on
dev-libs/msgpack[cxx] or, for newer msgpack, on dev-cpp/msgpack-cxx.

Note that since msgpack upstream renamed the relevant CMake package from
"msgpack" to "msgpackc-cxx" in version 5.0.0, src_configure() can complain.
This is harmless though, as the presence or absence of msgpack C++
headers at build time does not affect runtime operation of mmtf-cpp.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../mmtf-cpp/{mmtf-cpp-1.1.0.ebuild => mmtf-cpp-1.1.0-r1.ebuild}    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild b/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild
similarity index 80%
rename from dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild
rename to dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild
index c31d0595eb2f..909f0a52da9a 100644
--- a/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild
+++ b/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,8 +12,6 @@ SRC_URI="https://github.com/rcsb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
 
-DEPEND="dev-libs/msgpack"
+DEPEND="|| ( dev-cpp/msgpack-cxx dev-libs/msgpack[cxx(-)] )"
 RDEPEND="${DEPEND}"
-BDEPEND=""


             reply	other threads:[~2023-02-07 11:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 11:16 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-25 22:19 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mmtf-cpp/ Alexey Shvetsov
2022-01-13 16:02 Alexey Shvetsov
2021-01-06 19:34 Fabian Groffen
2019-02-26 14:15 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1675768474.a28783c5c768c1dc17399c99e98075ebfba5315e.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox