pkgsrc-WIP-changes archive

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

Add csv2 version 0.1 to pkgsrc-wip



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Sun Feb 27 22:30:49 2022 +0100
Changeset:	e4087e86768eeb71e9d0adcf5a98199a9bfaf2d1

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

Log Message:
Add csv2 version 0.1 to pkgsrc-wip

csv2 is a fast CSV parser and writer for modern C++.

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

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

diffstat:
 Makefile           |  1 +
 csv2/DESCR         |  1 +
 csv2/Makefile      | 18 ++++++++++++++++++
 csv2/PLIST         | 11 +++++++++++
 csv2/buildlink3.mk | 13 +++++++++++++
 csv2/distinfo      |  5 +++++
 6 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5c47fb2181..7775b01872 100644
--- a/Makefile
+++ b/Makefile
@@ -563,6 +563,7 @@ SUBDIR+=	csoap
 SUBDIR+=	csp2b
 SUBDIR+=	csstidy
 SUBDIR+=	csv-mode
+SUBDIR+=	csv2
 SUBDIR+=	ctags-git
 SUBDIR+=	cubature
 SUBDIR+=	cufflinks
diff --git a/csv2/DESCR b/csv2/DESCR
new file mode 100644
index 0000000000..d64af3870d
--- /dev/null
+++ b/csv2/DESCR
@@ -0,0 +1 @@
+csv2 is a fast CSV parser and writer for modern C++.
diff --git a/csv2/Makefile b/csv2/Makefile
new file mode 100644
index 0000000000..60d3ab0600
--- /dev/null
+++ b/csv2/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+DISTNAME=	csv2-0.1
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=p-ranav/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/p-ranav/csv2/
+COMMENT=	Fast CSV parser and writer in C++
+LICENSE=	mit
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c++
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/csv2/PLIST b/csv2/PLIST
new file mode 100644
index 0000000000..c99193b9c4
--- /dev/null
+++ b/csv2/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+include/csv2/mio.hpp
+include/csv2/parameters.hpp
+include/csv2/reader.hpp
+include/csv2/writer.hpp
+lib/cmake/csv2/csv2Config.cmake
+lib/cmake/csv2/csv2ConfigVersion.cmake
+lib/cmake/csv2/csv2Targets.cmake
+lib/pkgconfig/csv2.pc
+share/licenses/csv2/LICENSE
+share/licenses/csv2/LICENSE.mio
diff --git a/csv2/buildlink3.mk b/csv2/buildlink3.mk
new file mode 100644
index 0000000000..2b386283fb
--- /dev/null
+++ b/csv2/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	csv2
+
+.if !defined(CSV2_BUILDLINK3_MK)
+CSV2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.csv2+=	csv2>=0.1
+BUILDLINK_PKGSRCDIR.csv2?=	../../wip/csv2
+BUILDLINK_DEPMETHOD.csv2?=	build
+.endif	# CSV2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-csv2
diff --git a/csv2/distinfo b/csv2/distinfo
new file mode 100644
index 0000000000..0724b296df
--- /dev/null
+++ b/csv2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (csv2-0.1.tar.gz) = 83305103da0a635f89e3c870870065c531cfcce07a36ecfdca12dbaf0237e1bb
+SHA512 (csv2-0.1.tar.gz) = d44279ed3955b4ebfb303ad266537e4d8d68916d2eac77ef654686628cf0353dd2d26b7a5e414b76ba50f368c25e7fb31bba422a60f70a4bb2816bf139235093
+Size (csv2-0.1.tar.gz) = 168636 bytes


Home | Main Index | Thread Index | Old Index