public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2020-02-23  3:44 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2020-02-23  3:44 UTC (permalink / raw
  To: gentoo-commits

commit:     51c357668de88f2966d7e80ae554f5e12c5a9dd0
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Feb 23 03:44:18 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Feb 23 03:44:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51c35766

sys-cluster/KVTree: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/KVTree/KVTree-1.0.2.ebuild | 68 ++++++++++++++++++++++++++++++++++
 sys-cluster/KVTree/KVTree-9999.ebuild  | 68 ++++++++++++++++++++++++++++++++++
 sys-cluster/KVTree/Manifest            |  1 +
 sys-cluster/KVTree/metadata.xml        | 18 +++++++++
 4 files changed, 155 insertions(+)

diff --git a/sys-cluster/KVTree/KVTree-1.0.2.ebuild b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
new file mode 100644
index 0000000..0be4f18
--- /dev/null
+++ b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+case "${PV}" in
+9999)
+	SRC_URI=""
+	EGIT_REPO_URI="https://github.com/ECP-VeloC/${PN}.git"
+	inherit git-r3
+	KEYWORDS=""
+	;;
+*)
+	SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+	;;
+esac
+
+DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes."
+HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="fcntl +flock mpi test"
+
+REQUIRED_USE="
+		?? ( fcntl flock )
+"
+RESTRICT="test? ( userpriv ) !test? ( test )"
+
+RDEPEND="
+	mpi? ( virtual/mpi )
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-util/cmake-2.8
+	app-admin/chrpath
+"
+
+src_prepare() {
+	#do not build static library
+	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
+	#do not install README.md automatically
+	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
+	default
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DMPI="$(usex mpi ON OFF)"
+		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
+	)
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	chrpath -d "${BUILD_DIR}/src/kvtree_print_file" || die
+	cmake-utils_src_install
+	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
+	dodoc doc/rst/*.rst
+	docinto "${DOCSDIR}/users"
+	dodoc -r doc/rst/users/.
+}

diff --git a/sys-cluster/KVTree/KVTree-9999.ebuild b/sys-cluster/KVTree/KVTree-9999.ebuild
new file mode 100644
index 0000000..0be4f18
--- /dev/null
+++ b/sys-cluster/KVTree/KVTree-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+case "${PV}" in
+9999)
+	SRC_URI=""
+	EGIT_REPO_URI="https://github.com/ECP-VeloC/${PN}.git"
+	inherit git-r3
+	KEYWORDS=""
+	;;
+*)
+	SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+	;;
+esac
+
+DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes."
+HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="fcntl +flock mpi test"
+
+REQUIRED_USE="
+		?? ( fcntl flock )
+"
+RESTRICT="test? ( userpriv ) !test? ( test )"
+
+RDEPEND="
+	mpi? ( virtual/mpi )
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-util/cmake-2.8
+	app-admin/chrpath
+"
+
+src_prepare() {
+	#do not build static library
+	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
+	#do not install README.md automatically
+	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
+	default
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DMPI="$(usex mpi ON OFF)"
+		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
+	)
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	chrpath -d "${BUILD_DIR}/src/kvtree_print_file" || die
+	cmake-utils_src_install
+	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
+	dodoc doc/rst/*.rst
+	docinto "${DOCSDIR}/users"
+	dodoc -r doc/rst/users/.
+}

diff --git a/sys-cluster/KVTree/Manifest b/sys-cluster/KVTree/Manifest
new file mode 100644
index 0000000..0c53638
--- /dev/null
+++ b/sys-cluster/KVTree/Manifest
@@ -0,0 +1 @@
+DIST KVTree-1.0.2.tar.gz 46868 BLAKE2B 6c443eba3a861f1ecb0a04c0fa63d8fec32ed856de2d6324e011fc6a20ffb9d5eb85354bb0f6faa5e63462ced46e6a6b1af198b53219f96a865ec5eb26c9e832 SHA512 d3586ae8e5084ea4ce3293f1432127c0466e09ab32ba044df1ea793a13e424b2453dac71e38c7cea928601fcce1a16f2f1474e2785c523110ef091d7296a869f

diff --git a/sys-cluster/KVTree/metadata.xml b/sys-cluster/KVTree/metadata.xml
new file mode 100644
index 0000000..f4359c5
--- /dev/null
+++ b/sys-cluster/KVTree/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ECP-VeloC/KVTree</remote-id>
+  </upstream>
+  <use>
+    <flag name="fcntl">Set the type of file locking to fcntl.</flag>
+    <flag name="flock">Set the type of file locking to flock.</flag>
+  </use>
+  <longdescription lang="en">Each KVTree object contains a list of key/value pairs. Each key is a string, each value is another kvtree object. This is a nested data structures, similar to a python dict or perl hash. The library provides functions to serialize a kvtree object to / from a file. It also optionally provides MPI send / recv functions to transfer an object from one process to another.
+In addition to getter and setter utilities, this library provides serialization (for persisting an KVTree to a file) and optional MPI functionality. 
+  </longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
  2020-04-12 16:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-04-12 16:16 ` Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-04-12 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     0b276b057f3e9dfd1299b90f923c727d970fc127
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Apr 12 16:13:14 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 12 16:13:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b276b05

sys-cluster/KVTree: cmake-utils --> cmake

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/KVTree/KVTree-1.0.2.ebuild | 8 ++++----
 sys-cluster/KVTree/KVTree-9999.ebuild  | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-cluster/KVTree/KVTree-1.0.2.ebuild b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
index 0be4f18..4b7e153 100644
--- a/sys-cluster/KVTree/KVTree-1.0.2.ebuild
+++ b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake-utils
+inherit cmake
 
 case "${PV}" in
 9999)
@@ -46,7 +46,7 @@ src_prepare() {
 	#do not install README.md automatically
 	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
 	default
-	cmake-utils_src_prepare
+	cmake_src_prepare
 }
 
 src_configure() {
@@ -55,12 +55,12 @@ src_configure() {
 		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
 	)
 
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
 	chrpath -d "${BUILD_DIR}/src/kvtree_print_file" || die
-	cmake-utils_src_install
+	cmake_src_install
 	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
 	dodoc doc/rst/*.rst
 	docinto "${DOCSDIR}/users"

diff --git a/sys-cluster/KVTree/KVTree-9999.ebuild b/sys-cluster/KVTree/KVTree-9999.ebuild
index 0be4f18..4b7e153 100644
--- a/sys-cluster/KVTree/KVTree-9999.ebuild
+++ b/sys-cluster/KVTree/KVTree-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake-utils
+inherit cmake
 
 case "${PV}" in
 9999)
@@ -46,7 +46,7 @@ src_prepare() {
 	#do not install README.md automatically
 	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
 	default
-	cmake-utils_src_prepare
+	cmake_src_prepare
 }
 
 src_configure() {
@@ -55,12 +55,12 @@ src_configure() {
 		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
 	)
 
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
 	chrpath -d "${BUILD_DIR}/src/kvtree_print_file" || die
-	cmake-utils_src_install
+	cmake_src_install
 	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
 	dodoc doc/rst/*.rst
 	docinto "${DOCSDIR}/users"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2020-12-11 15:40 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2020-12-11 15:40 UTC (permalink / raw
  To: gentoo-commits

commit:     507b1cb8eee72a1da55bec810fdabc52b542aa45
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Dec 11 00:41:04 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Dec 11 15:20:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=507b1cb8

sys-cluster/KVTree: remove live ebuild

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/KVTree/KVTree-9999.ebuild | 68 -----------------------------------
 1 file changed, 68 deletions(-)

diff --git a/sys-cluster/KVTree/KVTree-9999.ebuild b/sys-cluster/KVTree/KVTree-9999.ebuild
deleted file mode 100644
index 4b7e1534..00000000
--- a/sys-cluster/KVTree/KVTree-9999.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit cmake
-
-case "${PV}" in
-9999)
-	SRC_URI=""
-	EGIT_REPO_URI="https://github.com/ECP-VeloC/${PN}.git"
-	inherit git-r3
-	KEYWORDS=""
-	;;
-*)
-	SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-	;;
-esac
-
-DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes."
-HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="fcntl +flock mpi test"
-
-REQUIRED_USE="
-		?? ( fcntl flock )
-"
-RESTRICT="test? ( userpriv ) !test? ( test )"
-
-RDEPEND="
-	mpi? ( virtual/mpi )
-	sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	>=dev-util/cmake-2.8
-	app-admin/chrpath
-"
-
-src_prepare() {
-	#do not build static library
-	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
-	#do not install README.md automatically
-	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
-	default
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DMPI="$(usex mpi ON OFF)"
-		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	chrpath -d "${BUILD_DIR}/src/kvtree_print_file" || die
-	cmake_src_install
-	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
-	dodoc doc/rst/*.rst
-	docinto "${DOCSDIR}/users"
-	dodoc -r doc/rst/users/.
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2021-03-28 10:52 Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 10:52 UTC (permalink / raw
  To: gentoo-commits

commit:     c5a1e69cebef769c7bbc4435dc762ff6859857cf
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:49:07 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:49:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5a1e69c

sys-cluster/KVTree: remove double keywords

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/KVTree/KVTree-1.0.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-cluster/KVTree/KVTree-1.0.2.ebuild b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
index 4b7e15343..b378c73b4 100644
--- a/sys-cluster/KVTree/KVTree-1.0.2.ebuild
+++ b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -10,7 +10,6 @@ case "${PV}" in
 	SRC_URI=""
 	EGIT_REPO_URI="https://github.com/ECP-VeloC/${PN}.git"
 	inherit git-r3
-	KEYWORDS=""
 	;;
 *)
 	SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2021-04-02 23:16 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2021-04-02 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     ecffeb2cb01e88d123ad237164d8f33b4b9392d2
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Apr  2 23:16:03 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Apr  2 23:16:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ecffeb2c

sys-cluster/KVTree: bump

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/KVTree/KVTree-1.1.0.ebuild | 56 ++++++++++++++++++++++++++++++++++
 sys-cluster/KVTree/Manifest            |  1 +
 2 files changed, 57 insertions(+)

diff --git a/sys-cluster/KVTree/KVTree-1.1.0.ebuild b/sys-cluster/KVTree/KVTree-1.1.0.ebuild
new file mode 100644
index 000000000..e64d0507d
--- /dev/null
+++ b/sys-cluster/KVTree/KVTree-1.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes"
+HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
+LICENSE="MIT"
+SLOT="0"
+IUSE="fcntl +flock mpi test"
+REQUIRED_USE="
+		?? ( fcntl flock )
+"
+RESTRICT="test? ( userpriv ) !test? ( test )"
+RDEPEND="
+	mpi? ( virtual/mpi )
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-util/cmake-2.8
+	app-admin/chrpath
+"
+
+src_prepare() {
+	#do not build static library
+	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
+	sed -i '/kvtree_base-static/d' src/CMakeLists.txt || die
+	#do not install README.md automatically
+	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
+	default
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DMPI="$(usex mpi ON OFF)"
+		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
+		-DKVTREE_LINK_STATIC=FALSE
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	chrpath -d "${BUILD_DIR}/src/kvtree_print" || die
+	cmake_src_install
+	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
+	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree_base.so" || die
+	dodoc doc/rst/*.rst
+	docinto "${DOCSDIR}/users"
+	dodoc -r doc/rst/users/.
+}

diff --git a/sys-cluster/KVTree/Manifest b/sys-cluster/KVTree/Manifest
index 0c536388b..c37cfdc93 100644
--- a/sys-cluster/KVTree/Manifest
+++ b/sys-cluster/KVTree/Manifest
@@ -1 +1,2 @@
 DIST KVTree-1.0.2.tar.gz 46868 BLAKE2B 6c443eba3a861f1ecb0a04c0fa63d8fec32ed856de2d6324e011fc6a20ffb9d5eb85354bb0f6faa5e63462ced46e6a6b1af198b53219f96a865ec5eb26c9e832 SHA512 d3586ae8e5084ea4ce3293f1432127c0466e09ab32ba044df1ea793a13e424b2453dac71e38c7cea928601fcce1a16f2f1474e2785c523110ef091d7296a869f
+DIST KVTree-1.1.0.tar.gz 61555 BLAKE2B 250634e9c13335ae3cfd51b6159b5f6b20c68fb7cd0804f2712f79f7a914669cc65a2bbeac6c84020c744e7ee00ab12d1621f91f8bb816d72f65427c3b574760 SHA512 84885d62fe52f4ee13d8c78472b57f32b1422c275623192c2b0114e7925865912455e76459aaed7888f98acae418325e4e833c6e979e668323b96b65baecaf91


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2021-04-05 13:48 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2021-04-05 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     f282eecb9e722f8eac2ad2b6be899f15bd2761a9
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr  5 13:47:34 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr  5 13:48:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f282eecb

sys-cluster/KVTree: remove non working package

Closes: https://bugs.gentoo.org/777801
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/KVTree/KVTree-1.0.2.ebuild | 67 ----------------------------------
 sys-cluster/KVTree/Manifest            |  1 -
 2 files changed, 68 deletions(-)

diff --git a/sys-cluster/KVTree/KVTree-1.0.2.ebuild b/sys-cluster/KVTree/KVTree-1.0.2.ebuild
deleted file mode 100644
index b378c73b4..000000000
--- a/sys-cluster/KVTree/KVTree-1.0.2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit cmake
-
-case "${PV}" in
-9999)
-	SRC_URI=""
-	EGIT_REPO_URI="https://github.com/ECP-VeloC/${PN}.git"
-	inherit git-r3
-	;;
-*)
-	SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-	;;
-esac
-
-DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes."
-HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="fcntl +flock mpi test"
-
-REQUIRED_USE="
-		?? ( fcntl flock )
-"
-RESTRICT="test? ( userpriv ) !test? ( test )"
-
-RDEPEND="
-	mpi? ( virtual/mpi )
-	sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	>=dev-util/cmake-2.8
-	app-admin/chrpath
-"
-
-src_prepare() {
-	#do not build static library
-	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
-	#do not install README.md automatically
-	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
-	default
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DMPI="$(usex mpi ON OFF)"
-		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	chrpath -d "${BUILD_DIR}/src/kvtree_print_file" || die
-	cmake_src_install
-	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
-	dodoc doc/rst/*.rst
-	docinto "${DOCSDIR}/users"
-	dodoc -r doc/rst/users/.
-}

diff --git a/sys-cluster/KVTree/Manifest b/sys-cluster/KVTree/Manifest
index c37cfdc93..db27f3851 100644
--- a/sys-cluster/KVTree/Manifest
+++ b/sys-cluster/KVTree/Manifest
@@ -1,2 +1 @@
-DIST KVTree-1.0.2.tar.gz 46868 BLAKE2B 6c443eba3a861f1ecb0a04c0fa63d8fec32ed856de2d6324e011fc6a20ffb9d5eb85354bb0f6faa5e63462ced46e6a6b1af198b53219f96a865ec5eb26c9e832 SHA512 d3586ae8e5084ea4ce3293f1432127c0466e09ab32ba044df1ea793a13e424b2453dac71e38c7cea928601fcce1a16f2f1474e2785c523110ef091d7296a869f
 DIST KVTree-1.1.0.tar.gz 61555 BLAKE2B 250634e9c13335ae3cfd51b6159b5f6b20c68fb7cd0804f2712f79f7a914669cc65a2bbeac6c84020c744e7ee00ab12d1621f91f8bb816d72f65427c3b574760 SHA512 84885d62fe52f4ee13d8c78472b57f32b1422c275623192c2b0114e7925865912455e76459aaed7888f98acae418325e4e833c6e979e668323b96b65baecaf91


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2021-04-11  2:18 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2021-04-11  2:18 UTC (permalink / raw
  To: gentoo-commits

commit:     9da6c17b3d3296e7b0ab6e011ccbbdfb127462b9
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr  8 01:06:34 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr 11 02:18:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9da6c17b

sys-cluster/KVTree: bump

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/KVTree/KVTree-1.1.1.ebuild | 56 ++++++++++++++++++++++++++++++++++
 sys-cluster/KVTree/Manifest            |  1 +
 2 files changed, 57 insertions(+)

diff --git a/sys-cluster/KVTree/KVTree-1.1.1.ebuild b/sys-cluster/KVTree/KVTree-1.1.1.ebuild
new file mode 100644
index 000000000..e64d0507d
--- /dev/null
+++ b/sys-cluster/KVTree/KVTree-1.1.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes"
+HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
+LICENSE="MIT"
+SLOT="0"
+IUSE="fcntl +flock mpi test"
+REQUIRED_USE="
+		?? ( fcntl flock )
+"
+RESTRICT="test? ( userpriv ) !test? ( test )"
+RDEPEND="
+	mpi? ( virtual/mpi )
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-util/cmake-2.8
+	app-admin/chrpath
+"
+
+src_prepare() {
+	#do not build static library
+	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
+	sed -i '/kvtree_base-static/d' src/CMakeLists.txt || die
+	#do not install README.md automatically
+	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
+	default
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DMPI="$(usex mpi ON OFF)"
+		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
+		-DKVTREE_LINK_STATIC=FALSE
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	chrpath -d "${BUILD_DIR}/src/kvtree_print" || die
+	cmake_src_install
+	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
+	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree_base.so" || die
+	dodoc doc/rst/*.rst
+	docinto "${DOCSDIR}/users"
+	dodoc -r doc/rst/users/.
+}

diff --git a/sys-cluster/KVTree/Manifest b/sys-cluster/KVTree/Manifest
index db27f3851..389d7c304 100644
--- a/sys-cluster/KVTree/Manifest
+++ b/sys-cluster/KVTree/Manifest
@@ -1 +1,2 @@
 DIST KVTree-1.1.0.tar.gz 61555 BLAKE2B 250634e9c13335ae3cfd51b6159b5f6b20c68fb7cd0804f2712f79f7a914669cc65a2bbeac6c84020c744e7ee00ab12d1621f91f8bb816d72f65427c3b574760 SHA512 84885d62fe52f4ee13d8c78472b57f32b1422c275623192c2b0114e7925865912455e76459aaed7888f98acae418325e4e833c6e979e668323b96b65baecaf91
+DIST KVTree-1.1.1.tar.gz 61667 BLAKE2B 26a5bf968b51d9ad9579563f144199243304040fb3c4f0d72cb4aa465292bb73ef8f85dd4e86a8ad9e5092550e97632b72ac7e632f30d10d668bca96a37b4c8f SHA512 229bd0bb1145aa38c244b4fd10da7a78fe37bf7aae93affb8401955ac0053218a6970a2459c043e46bdc74b0f8c2db421ea0d9f6a989cac24fe0ed31a2bb4d03


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2021-06-14 23:09 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2021-06-14 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     f29d30407f5e4e399ff6077807f347e462a2cabf
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 22:51:33 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 14 23:09:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f29d3040

sys-cluster/KVTree: drop 1.1.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/KVTree/KVTree-1.1.0.ebuild | 56 ----------------------------------
 sys-cluster/KVTree/Manifest            |  1 -
 2 files changed, 57 deletions(-)

diff --git a/sys-cluster/KVTree/KVTree-1.1.0.ebuild b/sys-cluster/KVTree/KVTree-1.1.0.ebuild
deleted file mode 100644
index e64d0507d..000000000
--- a/sys-cluster/KVTree/KVTree-1.1.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit cmake
-
-SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes"
-HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
-LICENSE="MIT"
-SLOT="0"
-IUSE="fcntl +flock mpi test"
-REQUIRED_USE="
-		?? ( fcntl flock )
-"
-RESTRICT="test? ( userpriv ) !test? ( test )"
-RDEPEND="
-	mpi? ( virtual/mpi )
-	sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	>=dev-util/cmake-2.8
-	app-admin/chrpath
-"
-
-src_prepare() {
-	#do not build static library
-	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
-	sed -i '/kvtree_base-static/d' src/CMakeLists.txt || die
-	#do not install README.md automatically
-	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
-	default
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DMPI="$(usex mpi ON OFF)"
-		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
-		-DKVTREE_LINK_STATIC=FALSE
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	chrpath -d "${BUILD_DIR}/src/kvtree_print" || die
-	cmake_src_install
-	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree.so" || die
-	chrpath -d "${ED}/usr/$(get_libdir)/libkvtree_base.so" || die
-	dodoc doc/rst/*.rst
-	docinto "${DOCSDIR}/users"
-	dodoc -r doc/rst/users/.
-}

diff --git a/sys-cluster/KVTree/Manifest b/sys-cluster/KVTree/Manifest
index 389d7c304..a120d4ed3 100644
--- a/sys-cluster/KVTree/Manifest
+++ b/sys-cluster/KVTree/Manifest
@@ -1,2 +1 @@
-DIST KVTree-1.1.0.tar.gz 61555 BLAKE2B 250634e9c13335ae3cfd51b6159b5f6b20c68fb7cd0804f2712f79f7a914669cc65a2bbeac6c84020c744e7ee00ab12d1621f91f8bb816d72f65427c3b574760 SHA512 84885d62fe52f4ee13d8c78472b57f32b1422c275623192c2b0114e7925865912455e76459aaed7888f98acae418325e4e833c6e979e668323b96b65baecaf91
 DIST KVTree-1.1.1.tar.gz 61667 BLAKE2B 26a5bf968b51d9ad9579563f144199243304040fb3c4f0d72cb4aa465292bb73ef8f85dd4e86a8ad9e5092550e97632b72ac7e632f30d10d668bca96a37b4c8f SHA512 229bd0bb1145aa38c244b4fd10da7a78fe37bf7aae93affb8401955ac0053218a6970a2459c043e46bdc74b0f8c2db421ea0d9f6a989cac24fe0ed31a2bb4d03


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/
@ 2022-03-23 14:38 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2022-03-23 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     21c80dcb01460fd15c05b845f23d21d18c581892
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar 23 14:00:27 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Mar 23 14:38:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21c80dcb

sys-cluster/KVTree: add 1.3.0, drop 1.1.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../{KVTree-1.1.1.ebuild => KVTree-1.3.0.ebuild}   | 52 +++++++++++++---------
 sys-cluster/KVTree/Manifest                        |  2 +-
 2 files changed, 31 insertions(+), 23 deletions(-)

diff --git a/sys-cluster/KVTree/KVTree-1.1.1.ebuild b/sys-cluster/KVTree/KVTree-1.3.0.ebuild
similarity index 57%
rename from sys-cluster/KVTree/KVTree-1.1.1.ebuild
rename to sys-cluster/KVTree/KVTree-1.3.0.ebuild
index e64d0507d..0b4066a8f 100644
--- a/sys-cluster/KVTree/KVTree-1.1.1.ebuild
+++ b/sys-cluster/KVTree/KVTree-1.3.0.ebuild
@@ -1,45 +1,44 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 inherit cmake
 
-SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
 DESCRIPTION="KVTree provides a fully extensible C data structure modeled after Perl hashes"
 HOMEPAGE="https://github.com/ECP-VeloC/KVTree"
+SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
 LICENSE="MIT"
 SLOT="0"
 IUSE="fcntl +flock mpi test"
-REQUIRED_USE="
-		?? ( fcntl flock )
-"
-RESTRICT="test? ( userpriv ) !test? ( test )"
+
 RDEPEND="
 	mpi? ( virtual/mpi )
 	sys-libs/zlib
 "
 DEPEND="${RDEPEND}"
-BDEPEND="
-	>=dev-util/cmake-2.8
-	app-admin/chrpath
-"
+BDEPEND="app-admin/chrpath"
 
-src_prepare() {
-	#do not build static library
-	sed -i '/kvtree-static/d' src/CMakeLists.txt || die
-	sed -i '/kvtree_base-static/d' src/CMakeLists.txt || die
-	#do not install README.md automatically
-	sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
-	default
-	cmake_src_prepare
-}
+PATCHES=(
+	"${FILESDIR}/${PN}-no-install-readme.patch"
+	"${FILESDIR}/${PN}-1.2.0-no-static.patch"
+)
+REQUIRED_USE="?? ( fcntl flock )"
+RESTRICT="test? ( userpriv ) !test? ( test )"
 
 src_configure() {
+	local flock="NONE"
+	use fcntl && flock="FCNTL"
+	use flock && flock="FLOCK"
+
 	local mycmakeargs=(
+		-DENABLE_TESTS=$(usex test)
 		-DMPI="$(usex mpi ON OFF)"
-		-DKVTREE_FILE_LOCK="$(usex flock FLOCK $(usex fcntl FCNTL NONE))"
+		-DKVTREE_FILE_LOCK="${flock}"
+
+		-DBUILD_SHARED_LIBS=ON
 		-DKVTREE_LINK_STATIC=FALSE
 	)
 	cmake_src_configure
@@ -54,3 +53,12 @@ src_install() {
 	docinto "${DOCSDIR}/users"
 	dodoc -r doc/rst/users/.
 }
+
+src_test() {
+	if mountpoint -q /dev/shm ; then
+		cmake_src_test
+	else
+		eerror "make sure to mount /dev/shm or tests will fail"
+		die
+	fi
+}

diff --git a/sys-cluster/KVTree/Manifest b/sys-cluster/KVTree/Manifest
index 5745aa5f6..fed8e4b0f 100644
--- a/sys-cluster/KVTree/Manifest
+++ b/sys-cluster/KVTree/Manifest
@@ -1,2 +1,2 @@
-DIST KVTree-1.1.1.tar.gz 61667 BLAKE2B 26a5bf968b51d9ad9579563f144199243304040fb3c4f0d72cb4aa465292bb73ef8f85dd4e86a8ad9e5092550e97632b72ac7e632f30d10d668bca96a37b4c8f SHA512 229bd0bb1145aa38c244b4fd10da7a78fe37bf7aae93affb8401955ac0053218a6970a2459c043e46bdc74b0f8c2db421ea0d9f6a989cac24fe0ed31a2bb4d03
 DIST KVTree-1.2.0.tar.gz 61844 BLAKE2B 4bd7a975f3c2f510b7ade983c393ac86cb9bcb7216776fd59db8cc258f869f1157f5a08aee3c19fb8e23c796928b6b44c9e3dd95eee13c7e4a4c1fdf3b5d8f00 SHA512 ddc6f2b32bcf8e1a369a17b238d4454679f3a8a4fc1a9fa18e5317418cf73c7d0db2169b53513e15ad05e1f22c80cdd9d66cddbc8aa2ad2a1c95d4910b3d7f88
+DIST KVTree-1.3.0.tar.gz 62063 BLAKE2B 205d6cec078857846a6faa4544901e1d381e7e695fd7935ca690cabf9d65d51d5dda7a4ab5f9afd0ebb378ef6205d6982740ee71504e07f4db94be0775b8e27d SHA512 578c452e07ebf1df36f56fe740fac171535fc8ab421f1f211eab89438207a459b2376b2b645b6ca393f1c5c1c484fbfd467230598b1a4e785e429e521c5c22fd


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-23 14:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-23  3:44 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/KVTree/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2020-04-12 16:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-12 16:16 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-11 15:40 Alessandro Barbieri
2021-03-28 10:52 Andrew Ammerlaan
2021-04-02 23:16 Alessandro Barbieri
2021-04-05 13:48 Alessandro Barbieri
2021-04-11  2:18 Alessandro Barbieri
2021-06-14 23:09 Alessandro Barbieri
2022-03-23 14:38 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox