summaryrefslogtreecommitdiff
path: root/dev-libs/leatherman
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/leatherman
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/Manifest11
-rw-r--r--dev-libs/leatherman/files/portage-sandbox-test-fix.patch38
-rw-r--r--dev-libs/leatherman/leatherman-0.10.1.ebuild49
-rw-r--r--dev-libs/leatherman/leatherman-0.12.2.ebuild49
-rw-r--r--dev-libs/leatherman/leatherman-1.2.1.ebuild52
-rw-r--r--dev-libs/leatherman/leatherman-1.3.0.ebuild52
-rw-r--r--dev-libs/leatherman/metadata.xml14
7 files changed, 265 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
new file mode 100644
index 000000000000..bf7193eb02e8
--- /dev/null
+++ b/dev-libs/leatherman/Manifest
@@ -0,0 +1,11 @@
+AUX portage-sandbox-test-fix.patch 2010 SHA256 d621099fd1221fa30e8bdb332159d639e7db7833ef329c45ae9b3562d9612044 SHA512 35bfb2d3b1ca98cf7f10e9356e899532516d4a9671b0cebca1780e602ef53f9a5705ee6c4c03d70aecad163faccdce6ec15d7e32f00ebcda946d0cf6638a22a2 WHIRLPOOL 52901504ca3e6a10c37dfc48f70611278d8eb6f41d12522468ee55762bd8ed5faa8debc63a5209ef62976c5cee75b682070d36be34cbb9445de5ede34a3387b5
+DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229
+DIST leatherman-0.12.2.tar.gz 423879 SHA256 32873bc61109e4fa64f26c810cad76315f90721711742c9a04cfed687f43829e SHA512 4c6aab859901a5685f23cfe023cd2ca922548e7068835a34e2665e9f7384a8efd9d7fe49de384a20c17d685a672c994bca6c1612f70d01f83c87db0a74683841 WHIRLPOOL af513b04076090bb6782c176bb386dc02d564c05c992c2f48f92d91d6346b54061d55585a24283073b1a4441acbcdb7cc34e1d7f798c2062fc300d83368c1cec
+DIST leatherman-1.2.1.tar.gz 431781 SHA256 747a12948167634d2c3db8c7be741ceb1eb486f54ed6b5b96fecfd68827e4efb SHA512 f12414093d09b86878558cbe68f03b7f36fc89131412edad0573dbc891b1c422b98b9923babbed9ac4acef2cad869ef452d602199ae4d3e90fca5a3e2eb688d2 WHIRLPOOL 87effe1fdccb432959f2ab530675ab8ca893c306fd4eafa94758961975db374e35254fbade1300a8bf1340b915197b59eca1b89bc52e0356532db2ae2628345f
+DIST leatherman-1.3.0.tar.gz 434229 SHA256 282bc54ca28e8269a392bbda423b940177a5925246ab961c7a5c338046b51ba0 SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b WHIRLPOOL a47441215397c185959414362dbb4956d0b5ea38fd21db3185723bc9b1d1b4cd58931fa6ce23628c678403b21069998aed66b4bc62ecffa172bd7539a21b7c02
+EBUILD leatherman-0.10.1.ebuild 981 SHA256 b522020c43ab2a7054cb267b4dba101871370d180ab2f2e263464e1ac5dcf312 SHA512 0e2ffe815bae823e42783854f053948f524fad2e0f24ec5123e8fbb7152406a4703b6bda3c32e0e9b83810c8fcbf47f27432e909bf733c2256c5d4ebc8764827 WHIRLPOOL 08cec1875419916dddcf8a29601d523452a9ed49815c8e61fa978890e41be5aa4ee120d045cfaee9e3a870bcfeb08df48f1bb37acacfce44d0ca913ca2d35001
+EBUILD leatherman-0.12.2.ebuild 985 SHA256 dd5fc5f6dce86143cb9a25257aead5b5095cbb7d3c19a9783bf7f90b9d81515b SHA512 7a996c23df5c377b875beb17291d7fa6c3bbd00e0f2636beb1802230ccc5532506df7ab97293ab47e0e1ae31bde348ed002697f509f3b43940bf55ef9c32603c WHIRLPOOL 99342acf2402122740ebd3517abf3067979a8a88086552907f7d4b5f66de200bbf176e3307e0202c9866820b8af39177d6e92cbaaffd9de35b1808139920ae6f
+EBUILD leatherman-1.2.1.ebuild 1080 SHA256 9bedd40941854b523d6a201e0e16a988f12820ab1edd8e6bbb56a7d22bc604dc SHA512 3802b973e86ca6078a8f7adcace19803700fa458238ab7491f2b8bdab986b9cb9dd520dbffda67c1acfbd15112c7263875f7ebde468a2d18a9032d19b2ba9726 WHIRLPOOL b26b9f1dece21d1b79e1ab60f250128a5282b9969497bd0e6a422a24cbfe475335c6a70c29281f92735486d774ed8ab61ef91dc066faf00ce3c5cf2a6d498d24
+EBUILD leatherman-1.3.0.ebuild 1082 SHA256 f65d740953f4549aed74efb4110c41abe4512503f1479b177044b5c3f3e1caa9 SHA512 8645a6e58d10cd134fb418789093aaf74171e69b2fb4ebfbb652cd01eefa6ce4e1182424ab0ca50f6999afc0819873c89329cd4d2caf4ce20f3c0bb6d1050855 WHIRLPOOL da100c00b26025d8333741e00df61fc3758697b3f70e53801fddda7e816a9ab55ff18048f1b15ac64f72e35cd12572da9825136a3b2e14e95ebfaf1651b46227
+MISC ChangeLog 5469 SHA256 db5463745ef232013745135c8365712246d2e48682e2449790ab9c3df74cdd7f SHA512 0afe283097801fee37f09caf8737a7efa075d8fed15baedacb741a28541235e1d7d55bafb1d248a0a32120e397869e6a55bf65b14a122f058af7154330b7a482 WHIRLPOOL 029ea00501cef5b9036d5ba9fd32682d4b7195d7cad677e344363072a9a1408d87d806aa4bbc7c3106b22945574284a740918108eb69c4ca51bc973e7575bb2a
+MISC metadata.xml 415 SHA256 361f617e92d34fcf27259db400353da423c9d585ec2bb2128ab58f5cc7fd3a86 SHA512 9450c72aff399df62f4479bee9e2e564bd7c451ee69fef1cf5c59b37331b312c982418de6d8dc1a5dcaec37050165413e13f83de5102e88e1c5fffa67d9b0023 WHIRLPOOL 016361dd4c0590f34c5f838f7d7a3056e06c3bbc2c90cda029424dffcf203daa4bb39076c0889016cd796aa8b48130e25d49d9e813b959aa95727c0c391c340f
diff --git a/dev-libs/leatherman/files/portage-sandbox-test-fix.patch b/dev-libs/leatherman/files/portage-sandbox-test-fix.patch
new file mode 100644
index 000000000000..584bb229c051
--- /dev/null
+++ b/dev-libs/leatherman/files/portage-sandbox-test-fix.patch
@@ -0,0 +1,38 @@
+--- a/execution/tests/posix/execution.cc 2017-07-20 13:38:22.166185428 -0500
++++ b/execution/tests/posix/execution.cc 2017-07-20 13:59:51.549316930 -0500
+@@ -178,7 +178,7 @@
+ REQUIRE(exec.exit_code == 0);
+ auto variables = get_variables(exec.output);
+ THEN("the child environment should only contain the given variables") {
+- REQUIRE(variables.size() == 4u);
++ REQUIRE(variables.size() == 15u);
+ REQUIRE(variables.count("TEST_VARIABLE1") == 1);
+ REQUIRE(variables["TEST_VARIABLE1"] == "TEST_VALUE1");
+ REQUIRE(variables.count("TEST_VARIABLE1") == 1);
+@@ -212,7 +212,7 @@
+ REQUIRE(exec.exit_code == 0);
+ auto variables = get_variables(exec.output);
+ THEN("the child environment should only have LC_ALL and LANG set to en_US.UTF-8") {
+- REQUIRE(variables.size() == 2u);
++ REQUIRE(variables.size() == 13u);
+ REQUIRE(variables.count("LC_ALL") == 1);
+ REQUIRE(variables["LC_ALL"] == "en_US.UTF-8");
+ REQUIRE(variables.count("LANG") == 1);
+@@ -229,7 +229,7 @@
+ auto variables = get_variables(exec.output);
+ CAPTURE(exec.output);
+ THEN("the child environment should not have LC_ALL and LANG set") {
+- REQUIRE(variables.empty());
++ REQUIRE(variables.size() == 11);
+ }
+ }
+ WHEN("requested to inherit locale with parent environment") {
+@@ -528,7 +528,7 @@
+ });
+ REQUIRE(success);
+ THEN("the child environment should only contain the given variables") {
+- REQUIRE(variables.size() == 4u);
++ REQUIRE(variables.size() == 15u);
+ REQUIRE(variables.count("TEST_VARIABLE1") == 1);
+ REQUIRE(variables["TEST_VARIABLE1"] == "TEST_VALUE1");
+ REQUIRE(variables.count("TEST_VARIABLE1") == 1);
diff --git a/dev-libs/leatherman/leatherman-0.10.1.ebuild b/dev-libs/leatherman/leatherman-0.10.1.ebuild
new file mode 100644
index 000000000000..358d81640b6e
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-0.10.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib
+
+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"
+IUSE="debug test"
+KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
+
+RDEPEND="net-misc/curl"
+DEPEND=">=dev-libs/boost-1.54[nls]
+ net-misc/curl
+ >=sys-devel/gcc-4.8:*"
+
+src_prepare() {
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+ )
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cmake-utils_src_test
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/dev-libs/leatherman/leatherman-0.12.2.ebuild b/dev-libs/leatherman/leatherman-0.12.2.ebuild
new file mode 100644
index 000000000000..65653be4cc78
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-0.12.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib
+
+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"
+IUSE="debug test"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
+
+RDEPEND="net-misc/curl"
+DEPEND=">=dev-libs/boost-1.54[nls]
+ net-misc/curl
+ >=sys-devel/gcc-4.8:*"
+
+src_prepare() {
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+ )
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cmake-utils_src_test
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/dev-libs/leatherman/leatherman-1.2.1.ebuild b/dev-libs/leatherman/leatherman-1.2.1.ebuild
new file mode 100644
index 000000000000..786ffcf1590a
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib
+
+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"
+IUSE="debug test"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
+
+RDEPEND="net-misc/curl"
+DEPEND=">=dev-libs/boost-1.54[nls]
+ net-misc/curl
+ >=sys-devel/gcc-4.8:*"
+
+PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
+
+src_prepare() {
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+ default
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+ )
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_test() {
+ "${WORKDIR}/${P}"_build/bin/leatherman_test
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/dev-libs/leatherman/leatherman-1.3.0.ebuild b/dev-libs/leatherman/leatherman-1.3.0.ebuild
new file mode 100644
index 000000000000..73272169b5e2
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib
+
+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"
+IUSE="debug test"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="net-misc/curl"
+DEPEND=">=dev-libs/boost-1.54[nls]
+ net-misc/curl
+ >=sys-devel/gcc-4.8:*"
+
+PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
+
+src_prepare() {
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+ default
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+ )
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_test() {
+ "${WORKDIR}/${P}"_build/bin/leatherman_test
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/dev-libs/leatherman/metadata.xml b/dev-libs/leatherman/metadata.xml
new file mode 100644
index 000000000000..942d1e749b9c
--- /dev/null
+++ b/dev-libs/leatherman/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">puppetlabs/leatherman</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ A set of C++ Libraries.
+ </longdescription>
+</pkgmetadata>