pkgsrc-WIP-changes archive

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

xproperty: New Package



Module Name:	pkgsrc-wip
Committed By:	matthew <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Fri May 1 20:58:28 2026 -0600
Changeset:	05a2f4bc070244abe82c1ed7d5614056fb735bb4

Added Files:
	xproperty/COMMIT_MSG
	xproperty/DESCR
	xproperty/Makefile
	xproperty/PLIST
	xproperty/buildlink3.mk
	xproperty/distinfo

Log Message:
xproperty: New Package

C++ properties and observer pattern for the xeus stack.

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

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

diffstat:
 xproperty/COMMIT_MSG    |  4 ++++
 xproperty/DESCR         | 12 ++++++++++++
 xproperty/Makefile      | 17 +++++++++++++++++
 xproperty/PLIST         |  8 ++++++++
 xproperty/buildlink3.mk | 15 +++++++++++++++
 xproperty/distinfo      |  5 +++++
 6 files changed, 61 insertions(+)

diffs:
diff --git a/xproperty/COMMIT_MSG b/xproperty/COMMIT_MSG
new file mode 100644
index 0000000000..e8a722a510
--- /dev/null
+++ b/xproperty/COMMIT_MSG
@@ -0,0 +1,4 @@
+xproperty: New Package
+
+C++ properties and observer pattern for the xeus stack.
+
diff --git a/xproperty/DESCR b/xproperty/DESCR
new file mode 100644
index 0000000000..b1749212eb
--- /dev/null
+++ b/xproperty/DESCR
@@ -0,0 +1,12 @@
+`xproperty` is a C++ library providing traitlets-style properties.
+
+`xproperty` provides an implementation of the observer patterns relying on C++
+template and preprocessor metaprogramming techniques.
+
+Properies of observed objects have no additional memory footprint than the
+value they hold. The assignment of a new value is simply replaced at compiled
+time by:
+
+- the call to the validator for that property
+- the actual underlying assigment
+- the call to the observor for that property.
diff --git a/xproperty/Makefile b/xproperty/Makefile
new file mode 100644
index 0000000000..3515bb45f0
--- /dev/null
+++ b/xproperty/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+DISTNAME=	xproperty-0.12.1
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jupyter-xeus/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	matthewd%fastmail.us@localhost
+HOMEPAGE=	https://github.com/jupyter-xeus/xproperty/
+COMMENT=	C++ properties and observer pattern
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=	c c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../textproc/nlohmann-json/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xproperty/PLIST b/xproperty/PLIST
new file mode 100644
index 0000000000..fc2577d9c4
--- /dev/null
+++ b/xproperty/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+include/xproperty/xjson.hpp
+include/xproperty/xobserved.hpp
+include/xproperty/xproperty.hpp
+include/xproperty/xproperty_config.hpp
+lib/cmake/xproperty/xpropertyConfig.cmake
+lib/cmake/xproperty/xpropertyConfigVersion.cmake
+lib/cmake/xproperty/xpropertyTargets.cmake
diff --git a/xproperty/buildlink3.mk b/xproperty/buildlink3.mk
new file mode 100644
index 0000000000..3c8d5709f4
--- /dev/null
+++ b/xproperty/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/12/28 20:18:21 nikita Exp $
+
+BUILDLINK_TREE+=	xproperty
+
+.if !defined(XPROPERTY_BUILDLINK3_MK)
+XPROPERTY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.xproperty+=	xproperty>=0.12.0
+BUILDLINK_PKGSRCDIR.xproperty?=		../../wip/xproperty
+
+.include "../../textproc/nlohmann-json/buildlink3.mk"
+
+.endif	# XPROPERTY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-xproperty
diff --git a/xproperty/distinfo b/xproperty/distinfo
new file mode 100644
index 0000000000..6cad9fefef
--- /dev/null
+++ b/xproperty/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (xproperty-0.12.1.tar.gz) = c52984fb29bf55cfb8813021b71af82989cda03ee706612621f7cf86abcccba1
+SHA512 (xproperty-0.12.1.tar.gz) = e070427d75e5f1b7edab67599c9e61eb375b68e683db864ec1758d331bb0fcf8d20051831f69a36db5a2e9efc6eb2822f62f8cc1ed563d728a534c1cbec40d77
+Size (xproperty-0.12.1.tar.gz) = 42452 bytes


Home | Main Index | Thread Index | Old Index