pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

'Add intervaltree: Minimal C++ interval tree implementation'



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon@centosdev.local>
Pushed By:	outpaddling
Date:		Thu Mar 30 20:07:15 2017 -0500
Changeset:	41f4d59aac915f674faf0a28dc53461d63ab6436

Modified Files:
	Makefile
Added Files:
	intervaltree/DESCR
	intervaltree/Makefile
	intervaltree/PLIST
	intervaltree/TODO
	intervaltree/buildlink3.mk
	intervaltree/distinfo

Log Message:
'Add intervaltree: 	Minimal C++ interval tree implementation'

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=41f4d59aac915f674faf0a28dc53461d63ab6436

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                   |  1 +
 intervaltree/DESCR         |  4 ++++
 intervaltree/Makefile      | 56 ++++++++++++++++++++++++++++++++++++++++++++++
 intervaltree/PLIST         |  3 +++
 intervaltree/TODO          |  1 +
 intervaltree/buildlink3.mk | 22 ++++++++++++++++++
 intervaltree/distinfo      |  6 +++++
 7 files changed, 93 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d127e217b0..dec2835186 100644
--- a/Makefile
+++ b/Makefile
@@ -1368,6 +1368,7 @@ SUBDIR+=	info2man
 SUBDIR+=	infraarcana
 SUBDIR+=	intel-gpu-tools
 SUBDIR+=	interbase-docs
+SUBDIR+=	intervaltree
 SUBDIR+=	io-base
 SUBDIR+=	io-blowfish
 SUBDIR+=	io-cgi
diff --git a/intervaltree/DESCR b/intervaltree/DESCR
new file mode 100644
index 0000000000..b645907031
--- /dev/null
+++ b/intervaltree/DESCR
@@ -0,0 +1,4 @@
+An interval tree can be used to efficiently find a set of numeric intervals
+overlapping or containing another interval.  This library provides a basic
+implementation of an interval tree using C++ templates, allowing the insertion
+of arbitrary types into the tree.
diff --git a/intervaltree/Makefile b/intervaltree/Makefile
new file mode 100644
index 0000000000..41fe6ef122
--- /dev/null
+++ b/intervaltree/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD$
+#
+###########################################################
+#               Generated by fbsd2pkg                     #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+# # Created by: Jason Bacon <bacon4000%gmail.com@localhost>
+# # $FreeBSD$
+# PLIST_FILES=	bin/interval_tree_test include/${PORTNAME}/IntervalTree.h
+# # GH_TAGNAME=	${PORTVERSION}
+# .include <bsd.port.pre.mk>
+# # Needs c++0x
+# .if ${OSVERSION} < 1000000
+# USE_GCC=	yes
+# .endif
+# # FIXME: Blind hack.  Not sure why this is necessary.
+# .if ${ARCH} == i386
+# post-patch:
+# 	${REINPLACE_CMD} -e 's|<bool, unsigned long>|<bool, unsigned int>|g' \
+# 		${WRKSRC}/interval_tree_test.cpp
+# .endif
+# .include <bsd.port.post.mk>
+
+DISTNAME=	intervaltree-${PORTVERSION}
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ekg/}
+GITHUB_TAG=	${PORTVERSION}
+
+MAINTAINER=	bacon4000%gmail.com@localhost
+HOMEPAGE=	https://github.com/ekg/intervaltree
+COMMENT=	Minimal C++ interval tree implementation
+# Double-check this
+LICENSE=	mit
+
+# Pessimistic assumption.  Test and change if possible.
+MAKE_JOBS_SAFE=	no
+
+# Just assuming C and C++: Adjust this!
+USE_LANGUAGES=	c c++
+
+# Adapt REINPLACE commands to SUBST:
+SUBST_CLASSES+=		
+SUBST_STAGE.=	post-patch
+SUBST_MESSAGE.=	
+SUBST_FILES.=	
+SUBST_SED.=	
+INSTALL_TARGET=	install-strip
+
+PORTVERSION=	49a0e290efaaa760e0b03e52ca18ac03e7582f23
+DATADIR=	${PREFIX}/share/intervaltree
+DOCSDIR=	${PREFIX}/share/doc/intervaltree
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/intervaltree/PLIST b/intervaltree/PLIST
new file mode 100644
index 0000000000..43f5b9aa39
--- /dev/null
+++ b/intervaltree/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/interval_tree_test
+include/intervaltree/IntervalTree.h
diff --git a/intervaltree/TODO b/intervaltree/TODO
new file mode 100644
index 0000000000..b687356e6b
--- /dev/null
+++ b/intervaltree/TODO
@@ -0,0 +1 @@
+Clean up and test
diff --git a/intervaltree/buildlink3.mk b/intervaltree/buildlink3.mk
new file mode 100644
index 0000000000..7c9015257d
--- /dev/null
+++ b/intervaltree/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD$
+# XXX
+# XXX This file was created automatically using createbuildlink-3.16.
+# XXX After this file has been verified as correct, the comment lines
+# XXX beginning with "XXX" should be removed.  Please do not commit
+# XXX unverified buildlink3.mk files.
+# XXX
+# XXX Packages that only install static libraries or headers should
+# XXX include the following line:
+# XXX
+
+BUILDLINK_TREE+=	intervaltree
+
+.if !defined(INTERVALTREE_BUILDLINK3_MK)
+INTERVALTREE_BUILDLINK3_MK:=
+BUILDLINK_DEPMETHOD.intervaltree?=	build
+
+BUILDLINK_API_DEPENDS.intervaltree+=	intervaltree>=49a0e290efaaa760e0b03e52ca18ac03e7582f23
+BUILDLINK_PKGSRCDIR.intervaltree?=	../../wip/intervaltree
+.endif	# INTERVALTREE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-intervaltree
diff --git a/intervaltree/distinfo b/intervaltree/distinfo
new file mode 100644
index 0000000000..1e9ee24696
--- /dev/null
+++ b/intervaltree/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (intervaltree-49a0e290efaaa760e0b03e52ca18ac03e7582f23-49a0e290efaaa760e0b03e52ca18ac03e7582f23.tar.gz) = 7cd9298dd90847143bab58117cc868457f124fb5
+RMD160 (intervaltree-49a0e290efaaa760e0b03e52ca18ac03e7582f23-49a0e290efaaa760e0b03e52ca18ac03e7582f23.tar.gz) = a15f4f008fd7e3c5ec3f8dc964157671cbfd38de
+SHA512 (intervaltree-49a0e290efaaa760e0b03e52ca18ac03e7582f23-49a0e290efaaa760e0b03e52ca18ac03e7582f23.tar.gz) = 79365bde7b36799292c842ca1ba99ee74d31bd8a35ec71638bca30459cc11c50cb8c7b3f3e4d36b5c2f9e73eaf0c8355292a0e564774216b1910f68c7b88c3b3
+Size (intervaltree-49a0e290efaaa760e0b03e52ca18ac03e7582f23-49a0e290efaaa760e0b03e52ca18ac03e7582f23.tar.gz) = 4120 bytes


Home | Main Index | Thread Index | Old Index