public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/leatherman/
Date: Tue, 17 Oct 2023 19:56:36 +0000 (UTC)	[thread overview]
Message-ID: <1697572480.be479976e8383a302348a5369cb8a74678f72f1f.prometheanfire@gentoo> (raw)

commit:     be479976e8383a302348a5369cb8a74678f72f1f
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 17 19:54:40 2023 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 19:54:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be479976

dev-libs/leatherman: add 1.12.10

Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 dev-libs/leatherman/Manifest                  |  1 +
 dev-libs/leatherman/leatherman-1.12.10.ebuild | 56 +++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index 33986a6e4938..de686d57f6ca 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -1 +1,2 @@
+DIST leatherman-1.12.10.tar.gz 816708 BLAKE2B 65c606c548a0394b6a1619d26f1814ea9a9ab2a3b40346ed9a1805291a9df90227f9f7cb37758fcb7f778a1f28e56fd8bf395c335125e1ede7e1455b1c70c0e5 SHA512 c9882553906287c27d79e9f3df8af96a77fdf9a0fc0fdadc26105eed3fd6da3f598344a9a0671cc0a1c70cea29402fb0ca76deff1a1a4b9fd9979815917c62fc
 DIST leatherman-1.12.9.tar.gz 816107 BLAKE2B 1c2e50767585a30da40fdacde0aa8655cefc2a41cadd24a7689be5da0afcbe8627293d37780442873907996f01401b46340a3d7be5d9b2a65b2f87191daca6c3 SHA512 e69f2b0c04a1cbd20e097abcc020e7b27fb74f168207fcbcffce9fd0edd1760acc75d5c5f645d3a798f106e129ce73e512f0c11699733475b290dfc876de0565

diff --git a/dev-libs/leatherman/leatherman-1.12.10.ebuild b/dev-libs/leatherman/leatherman-1.12.10.ebuild
new file mode 100644
index 000000000000..3e6283afc0c3
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.12.10.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A C++ toolkit"
+HOMEPAGE="https://github.com/puppetlabs/leatherman"
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug static-libs test"
+#RESTRICT="!test? ( test )"
+RESTRICT="test"  # restricted til we don't need the shared_nowide patch
+
+RDEPEND="dev-libs/boost:=[nls]
+	net-misc/curl"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/portage-sandbox-test-fix.patch
+	"${FILESDIR}"/1.12.2-shared_nowide.patch
+)
+
+src_prepare() {
+	sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+	# vendored boost lib conflicts with boost 1.73 and above
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+		-DCMAKE_BUILD_TYPE=None
+		-DLEATHERMAN_ENABLE_TESTING=$(usex test)
+		# We depend on Boost with nls, so this is always true
+		-DLEATHERMAN_USE_ICU=ON
+
+		-DLEATHERMAN_SHARED=$(usex !static-libs)
+	)
+
+	if use debug; then
+		mycmakeargs+=(
+			-DCMAKE_BUILD_TYPE=Debug
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	"${WORKDIR}/${P}"_build/bin/leatherman_test || die
+}


             reply	other threads:[~2023-10-17 19:56 UTC|newest]

Thread overview: 165+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17 19:56 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-10 15:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/leatherman/ Matthew Thode
2024-05-10 19:11 Matthew Thode
2024-04-10 16:22 Matthew Thode
2024-03-27 11:49 Andreas Sturmlechner
2024-03-24 14:54 Matthew Thode
2024-02-25  4:51 Matthew Thode
2023-12-24 18:56 Matthew Thode
2023-12-17 19:19 Matthew Thode
2023-11-24 21:25 Matthew Thode
2023-11-17 19:38 Matthew Thode
2023-10-25  4:19 Matthew Thode
2022-12-06 20:59 Matthew Thode
2022-11-06  5:02 Matthew Thode
2022-11-01  9:48 Yixun Lan
2022-10-07 21:30 Matthew Thode
2022-09-22 17:54 Matthew Thode
2022-08-22 16:06 Matthew Thode
2022-07-22 18:40 Matthew Thode
2022-05-11  5:16 Jakov Smolić
2022-05-11  5:16 Jakov Smolić
2022-05-10 20:13 Arthur Zamarin
2022-05-10 20:12 Arthur Zamarin
2022-05-10 20:12 Arthur Zamarin
2022-01-26 18:40 Fabian Groffen
2022-01-20 14:10 Sam James
2022-01-19 20:02 Matthew Thode
2021-11-12  4:46 Sam James
2021-09-13 13:55 Matthew Thode
2021-08-13 15:36 Matthew Thode
2021-07-14  4:00 Matthew Thode
2021-07-14  4:00 Matthew Thode
2021-07-14  4:00 Matthew Thode
2021-06-14 13:57 Matthew Thode
2021-06-13 20:53 Matthew Thode
2021-02-27 12:30 Sam James
2021-02-27 12:30 Sam James
2021-02-26 21:58 Sam James
2021-01-15 18:51 Matthew Thode
2020-12-15 20:12 Matthew Thode
2020-12-14 15:23 Matthew Thode
2020-12-14  6:37 Andreas Sturmlechner
2020-11-29  8:25 Agostino Sarubbo
2020-11-29  8:22 Agostino Sarubbo
2020-11-29  8:20 Agostino Sarubbo
2020-11-29  8:15 Agostino Sarubbo
2020-11-28 13:34 Thomas Deutschmann
2020-11-20  3:49 Matthew Thode
2020-11-15  9:39 Matthew Thode
2020-11-14 23:03 Matthew Thode
2020-08-22 19:26 Matthew Thode
2020-07-11 18:21 Matthew Thode
2020-05-31 16:47 Matthew Thode
2020-05-30 20:36 Matthew Thode
2020-05-30 17:30 Matthew Thode
2020-05-30 17:18 Matthew Thode
2020-04-30 15:51 Matthew Thode
2020-04-23 19:36 Matthew Thode
2020-03-27 15:10 Matthew Thode
2020-02-13 22:54 Matthew Thode
2020-02-13 22:54 Matthew Thode
2020-02-08 17:06 David Seifert
2020-01-13 16:36 Matthew Thode
2019-11-30 22:48 Matthew Thode
2019-11-15 16:23 Matthew Thode
2019-10-31 15:54 Matthew Thode
2019-10-18 16:03 Matthew Thode
2019-10-15 23:43 Matthew Thode
2019-09-30 14:36 Matthew Thode
2019-09-18 16:16 Matthew Thode
2019-09-16 16:45 Matthew Thode
2019-08-16 20:07 Matthew Thode
2019-08-16 20:07 Matthew Thode
2019-07-16 15:06 Matthew Thode
2019-04-25 15:54 Matthew Thode
2019-03-26 15:54 Matthew Thode
2019-01-10 18:21 Matthew Thode
2018-12-17 18:31 Matthew Thode
2018-11-30 17:02 Matthew Thode
2018-11-08 17:31 Matthew Thode
2018-10-31 20:53 Matthew Thode
2018-10-17 19:38 Matthew Thode
2018-10-12  2:54 Matthew Thode
2018-10-04 14:39 Matthew Thode
2018-09-28  0:36 Matt Thode
2018-09-18  6:49 Matt Thode
2018-07-18 19:58 Matt Thode
2018-07-16 20:18 Matt Thode
2018-06-25 19:24 Matt Thode
2018-06-22  6:26 Matt Thode
2018-05-15 15:26 Matt Thode
2018-04-18 19:52 Matt Thode
2018-03-13 14:29 Matt Thode
2018-02-16 17:44 Matt Thode
2018-02-16 17:14 Matt Thode
2018-02-14  3:17 Matt Thode
2018-02-10 12:28 Jeroen Roovers
2018-01-22 20:25 Hans de Graaff
2018-01-20 23:03 Andreas Sturmlechner
2017-12-28 21:55 Sergei Trofimovich
2017-12-15 22:53 Sergei Trofimovich
2017-12-06 22:34 Sergei Trofimovich
2017-12-04 22:07 Sergei Trofimovich
2017-11-27 20:04 Sergei Trofimovich
2017-11-18 22:40 Matt Thode
2017-11-15  3:22 Matt Thode
2017-10-17  1:42 Matt Thode
2017-10-16  0:08 David Seifert
2017-10-15 12:53 Sergei Trofimovich
2017-10-15 12:32 Sergei Trofimovich
2017-09-19  4:16 Matt Thode
2017-09-16 15:01 Matt Thode
2017-09-06 14:07 Matt Thode
2017-08-31 17:44 Matt Thode
2017-08-30 18:13 Fabian Groffen
2017-08-25 19:57 Matt Thode
2017-08-22 23:32 Matt Thode
2017-08-22 16:29 Matt Thode
2017-07-29 19:32 Matt Thode
2017-06-23 19:40 Matt Thode
2017-05-15 14:52 Matt Thode
2017-05-03 17:28 Matt Thode
2017-05-03 17:28 Matt Thode
2017-04-28 17:00 Matt Thode
2017-04-15 18:30 Matt Thode
2017-03-31 20:08 Matt Thode
2017-03-09 16:46 Matt Thode
2017-02-25  2:24 Matt Thode
2017-02-09 11:54 Matt Thode
2017-01-27  5:03 Matt Thode
2017-01-22 16:58 Jeroen Roovers
2017-01-22 16:27 Agostino Sarubbo
2017-01-03 17:03 Matt Thode
2017-01-03 17:03 Matt Thode
2016-12-30  9:39 Agostino Sarubbo
2016-12-23 10:11 Johannes Huber
2016-12-07 15:43 Matt Thode
2016-12-07 15:43 Matt Thode
2016-12-05 23:59 Matt Thode
2016-12-05 23:52 Michał Górny
2016-12-03  4:17 Matt Thode
2016-12-02  1:06 Matt Thode
2016-11-09 21:46 Matt Thode
2016-10-12 15:00 Matt Thode
2016-10-11  6:32 Jeroen Roovers
2016-09-29 16:33 Anthony G. Basile
2016-09-15 19:17 Matt Thode
2016-08-11 17:47 Matt Thode
2016-08-02 15:57 Matt Thode
2016-07-31 17:43 Matt Thode
2016-07-29 17:25 Matt Thode
2016-07-08 15:17 Matt Thode
2016-06-27 23:42 Matt Thode
2016-06-21 17:39 Matt Thode
2016-06-06 16:15 Agostino Sarubbo
2016-06-03 23:15 Matt Thode
2016-05-24 19:36 Matt Thode
2016-05-19 17:00 Matt Thode
2016-05-07  2:32 Matt Thode
2016-04-21  4:25 Matt Thode
2016-04-20 15:50 Matt Thode
2016-04-19  5:47 Matt Thode
2016-03-19 21:58 Matt Thode
2016-03-19 21:08 Patrice Clement
2016-03-19 19:37 Matt Thode

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=1697572480.be479976e8383a302348a5369cb8a74678f72f1f.prometheanfire@gentoo \
    --to=prometheanfire@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