summaryrefslogtreecommitdiff
path: root/dev-util/mdds
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-util/mdds
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-util/mdds')
-rw-r--r--dev-util/mdds/Manifest4
-rw-r--r--dev-util/mdds/mdds-2.0.0.ebuild65
-rw-r--r--dev-util/mdds/mdds-9999.ebuild6
3 files changed, 71 insertions, 4 deletions
diff --git a/dev-util/mdds/Manifest b/dev-util/mdds/Manifest
index 6f3a0e5ed264..b7514e966e4a 100644
--- a/dev-util/mdds/Manifest
+++ b/dev-util/mdds/Manifest
@@ -2,6 +2,8 @@ AUX mdds-1.5.0-buildsystem.patch 1006 BLAKE2B a6205a749a5a619443a060912bd863c93f
AUX mdds-1.7.0-bashism.patch 2061 BLAKE2B 766eb3b27b55f058175894d01c91d4b9fa544c8ba15fab79eafb0e333ddf86ed328fa928d21add6bb2da9a31420f35de3a97e960723ce2766b898313434c56d5 SHA512 4994df435477e600aba80c8c7e80cf2b8a76f4d20b19090b61ce94aadfa3d9ff0b75d26fc88094a6b1aa5742fd5ddc70a535dcb6456c890416ac9393aeab0738
AUX mdds-1.7.0-rtree_test.patch 1673 BLAKE2B c5913765972b2c6346a8414cc9b980337e7fabed862286e421adc59de81ef67cde97cbe084c1b3c8a8549d94a0a4699be8e10c9ca41a101b71f6f45b1dc4c906 SHA512 1bb8fdeffb0cba1eba713856d408f9962531fd73b8b5e61cca382c6ddd09cb10f2afe3a2f964e98201c0ca29d8138f14fe0d8fab1c922d92a66205a353939caa
DIST mdds-1.7.0.tar.xz 313220 BLAKE2B 02ab09ad1338223da2911c05fc8d67c9d0d5414d1dcedac066dc95a2b0853f3801347c9791a5fc5700d666933be78efc52f735453769f9f2123ce06eca1fa67f SHA512 ac2bfe5186d499a79f4379c1dc7cc869bbbd9a59d4943399409dd4dd1ef7e3567a993deda5d5a06ad67dbd94b0a534439805837f2f405c5aca0aeb197178291a
+DIST mdds-2.0.0.tar.xz 409984 BLAKE2B 39c8e6946f53d0cb51d1ce9b47c036eae78b0c276e50718f1837836caab3ffa341d8df3908ca332dec3549eb9541a50c1870b17f70b29c46162ff8a721cb10b2 SHA512 bc6b7629d69cb8a685c611e371c998579eea66ac006cfe3d7a39d216714767093832cc0978d1bfb73912c7f200921a44c477dadd311cd6e28586af55ae678f14
EBUILD mdds-1.7.0.ebuild 1422 BLAKE2B ed52d519dbb0c219cfa08542b5e6a209e1b9294fa47fd945745e08932517c2a9eaae80922f36c068cafd438ec923e0156a363457efd41e317bc7669319e32905 SHA512 ff433783b015af21b7dacd29755943fcb7003e8a9a7dcd4438adf0278bed0d100411999669cbfd786c52322bb6e78ac998f86c3d8ed4ff52f7a4dac1172c6a8d
-EBUILD mdds-9999.ebuild 1331 BLAKE2B c100cdb0e2f8cfbcdd67ad7789c34d7528d8d3a01f8c328e20b10021286ad36b5d5dab9e21cf3c185c65d2a1d284c4a04fec29fe5c91da3172d74130d3390a8c SHA512 694a84b819dcab0fa40ebfb2d6b90949c23feaeb7350e771057d48ace29356d66551d40470d6f45442c87a4c145bcfc916caa4bbb23a2c39e2333171ca722504
+EBUILD mdds-2.0.0.ebuild 1401 BLAKE2B 03a0444e97983391c43ff2896c61d271c606c2775106a3342c5958c077f52a171fa2b8b9004ca0edbd24008af84d91d49c0d8bf1f9feafa66ec6a30f508181b4 SHA512 8cabd3ea2c357b62615361ae1f2dfa2dbfbcc63126575197a7cc95d4fba0bc20316666fc3c37abd1511ab8c48f3d99032df4a2dd6ac028d035608a46bd2ce5d3
+EBUILD mdds-9999.ebuild 1332 BLAKE2B a92a391bc266ac89875980f7522493610b2f1d8dab8c904a580c70cd3328dc8ad18042fc8346075ddf3640161ad761e32a65c270b8652523ad642504bdb42b10 SHA512 be573f415b5d82016ffea46ccac727961b86217c687c4432c9f4ac506f6d4dac0d2ea981f1036aab6175dc2d7902b88f4e667bea5c4728d137bec9b3c3bc73f0
MISC metadata.xml 457 BLAKE2B 571d7e12d435c01accaf935cda5f1847ef38c5d8f996c098dcf689e63e6b03c2401e52b05552f03b0ac9a466b72a3359ba3cfc7a36c0dff1b2536d2f627faa38 SHA512 cc5b5a07a05e8bc74ceb3a53965b7d7256d66134c60ed933c9d75054be8cc9aef833b3383a00bac3efe360943f5bf8cd886a5da3c5dd44943e50da0f7055aa1c
diff --git a/dev-util/mdds/mdds-2.0.0.ebuild b/dev-util/mdds/mdds-2.0.0.ebuild
new file mode 100644
index 000000000000..58f1c940cdf9
--- /dev/null
+++ b/dev-util/mdds/mdds-2.0.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
+ inherit git-r3
+else
+ SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.xz"
+ # Unkeyworded while libreoffice has no release making use of this slot
+ # KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Collection of multi-dimensional data structure and indexing algorithm"
+HOMEPAGE="https://gitlab.com/mdds/mdds"
+
+LICENSE="MIT"
+SLOT="1/2.0" # Check API version on version bumps!
+IUSE="doc openmp valgrind test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx
+ )
+ valgrind? ( dev-util/valgrind )
+"
+DEPEND="dev-libs/boost:="
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" )
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable doc docs)
+ $(use_enable valgrind memory_tests)
+ )
+ if use openmp && tc-has-openmp; then
+ myeconfargs+=( --enable-openmp )
+ else
+ myeconfargs+=( --disable-openmp )
+ fi
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ tc-export CXX
+ default
+}
diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild
index 37a5d8728339..dc57a4506ee2 100644
--- a/dev-util/mdds/mdds-9999.ebuild
+++ b/dev-util/mdds/mdds-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-if [[ ${PV} == *9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
inherit git-r3
else