pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Fri Sep 4 12:22:12 UTC 2026
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-nanobind: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
py-nanobind: added version 3.0.1
nanobind is a small binding library that exposes C++ types in Python and vice
versa. It is reminiscent of Boost.Python and pybind11 and uses near-identical
syntax. In contrast to these existing tools, nanobind is more efficient:
bindings compile in a shorter amount of time, produce smaller binaries, and
have better runtime performance.
To generate a diff of this commit:
cvs rdiff -u -r1.4683 -r1.4684 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-nanobind/DESCR \
pkgsrc/devel/py-nanobind/Makefile pkgsrc/devel/py-nanobind/PLIST \
pkgsrc/devel/py-nanobind/buildlink3.mk pkgsrc/devel/py-nanobind/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4683 pkgsrc/devel/Makefile:1.4684
--- pkgsrc/devel/Makefile:1.4683 Thu Sep 3 05:16:05 2026
+++ pkgsrc/devel/Makefile Fri Sep 4 12:22:12 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4683 2026/09/03 05:16:05 adam Exp $
+# $NetBSD: Makefile,v 1.4684 2026/09/04 12:22:12 adam Exp $
#
COMMENT= Development utilities
@@ -2842,6 +2842,7 @@ SUBDIR+= py-msgpack
SUBDIR+= py-msgspec
SUBDIR+= py-mulpyplexer
SUBDIR+= py-multipledispatch
+SUBDIR+= py-nanobind
SUBDIR+= py-nest-asyncio
SUBDIR+= py-nest-asyncio2
SUBDIR+= py-newt
Added files:
Index: pkgsrc/devel/py-nanobind/DESCR
diff -u /dev/null pkgsrc/devel/py-nanobind/DESCR:1.1
--- /dev/null Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/DESCR Fri Sep 4 12:22:12 2026
@@ -0,0 +1,5 @@
+nanobind is a small binding library that exposes C++ types in Python and vice
+versa. It is reminiscent of Boost.Python and pybind11 and uses near-identical
+syntax. In contrast to these existing tools, nanobind is more efficient:
+bindings compile in a shorter amount of time, produce smaller binaries, and
+have better runtime performance.
Index: pkgsrc/devel/py-nanobind/Makefile
diff -u /dev/null pkgsrc/devel/py-nanobind/Makefile:1.1
--- /dev/null Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/Makefile Fri Sep 4 12:22:12 2026
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2026/09/04 12:22:12 adam Exp $
+
+DISTNAME= nanobind-3.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=n/nanobind/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/wjakob/nanobind
+COMMENT= Tiny and efficient C++/Python bindings
+LICENSE= modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build-core>=0.10:../../devel/py-scikit-build-core
+
+USE_LANGUAGES= #c c++
+USE_TOOLS+= cmake
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-nanobind/PLIST
diff -u /dev/null pkgsrc/devel/py-nanobind/PLIST:1.1
--- /dev/null Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/PLIST Fri Sep 4 12:22:12 2026
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.1 2026/09/04 12:22:12 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/nanobind/__init__.py
+${PYSITELIB}/nanobind/__init__.pyc
+${PYSITELIB}/nanobind/__init__.pyo
+${PYSITELIB}/nanobind/__main__.py
+${PYSITELIB}/nanobind/__main__.pyc
+${PYSITELIB}/nanobind/__main__.pyo
+${PYSITELIB}/nanobind/cmake/darwin-ld-cpython.sym
+${PYSITELIB}/nanobind/cmake/darwin-ld-pypy.sym
+${PYSITELIB}/nanobind/cmake/darwin-python-path.py
+${PYSITELIB}/nanobind/cmake/darwin-python-path.pyc
+${PYSITELIB}/nanobind/cmake/darwin-python-path.pyo
+${PYSITELIB}/nanobind/cmake/nanobind-config-version.cmake
+${PYSITELIB}/nanobind/cmake/nanobind-config.cmake
+${PYSITELIB}/nanobind/ext/robin_map/include/tsl/robin_growth_policy.h
+${PYSITELIB}/nanobind/ext/robin_map/include/tsl/robin_hash.h
+${PYSITELIB}/nanobind/ext/robin_map/include/tsl/robin_map.h
+${PYSITELIB}/nanobind/include/nanobind/eigen/dense.h
+${PYSITELIB}/nanobind/include/nanobind/eigen/sparse.h
+${PYSITELIB}/nanobind/include/nanobind/eigen/tensor.h
+${PYSITELIB}/nanobind/include/nanobind/eval.h
+${PYSITELIB}/nanobind/include/nanobind/intrusive/counter.h
+${PYSITELIB}/nanobind/include/nanobind/intrusive/counter.inl
+${PYSITELIB}/nanobind/include/nanobind/intrusive/ref.h
+${PYSITELIB}/nanobind/include/nanobind/make_iterator.h
+${PYSITELIB}/nanobind/include/nanobind/nanobind.h
+${PYSITELIB}/nanobind/include/nanobind/nb_accessor.h
+${PYSITELIB}/nanobind/include/nanobind/nb_attr.h
+${PYSITELIB}/nanobind/include/nanobind/nb_backend.h
+${PYSITELIB}/nanobind/include/nanobind/nb_backend_slots.h
+${PYSITELIB}/nanobind/include/nanobind/nb_call.h
+${PYSITELIB}/nanobind/include/nanobind/nb_cast.h
+${PYSITELIB}/nanobind/include/nanobind/nb_class.h
+${PYSITELIB}/nanobind/include/nanobind/nb_defs.h
+${PYSITELIB}/nanobind/include/nanobind/nb_descr.h
+${PYSITELIB}/nanobind/include/nanobind/nb_error.h
+${PYSITELIB}/nanobind/include/nanobind/nb_func.h
+${PYSITELIB}/nanobind/include/nanobind/nb_misc.h
+${PYSITELIB}/nanobind/include/nanobind/nb_platform.h
+${PYSITELIB}/nanobind/include/nanobind/nb_python.h
+${PYSITELIB}/nanobind/include/nanobind/nb_traits.h
+${PYSITELIB}/nanobind/include/nanobind/nb_tuple.h
+${PYSITELIB}/nanobind/include/nanobind/nb_types.h
+${PYSITELIB}/nanobind/include/nanobind/ndarray.h
+${PYSITELIB}/nanobind/include/nanobind/operators.h
+${PYSITELIB}/nanobind/include/nanobind/stl/array.h
+${PYSITELIB}/nanobind/include/nanobind/stl/bind_map.h
+${PYSITELIB}/nanobind/include/nanobind/stl/bind_vector.h
+${PYSITELIB}/nanobind/include/nanobind/stl/chrono.h
+${PYSITELIB}/nanobind/include/nanobind/stl/complex.h
+${PYSITELIB}/nanobind/include/nanobind/stl/detail/nb_array.h
+${PYSITELIB}/nanobind/include/nanobind/stl/detail/nb_dict.h
+${PYSITELIB}/nanobind/include/nanobind/stl/detail/nb_list.h
+${PYSITELIB}/nanobind/include/nanobind/stl/detail/nb_optional.h
+${PYSITELIB}/nanobind/include/nanobind/stl/detail/nb_set.h
+${PYSITELIB}/nanobind/include/nanobind/stl/detail/traits.h
+${PYSITELIB}/nanobind/include/nanobind/stl/filesystem.h
+${PYSITELIB}/nanobind/include/nanobind/stl/function.h
+${PYSITELIB}/nanobind/include/nanobind/stl/list.h
+${PYSITELIB}/nanobind/include/nanobind/stl/map.h
+${PYSITELIB}/nanobind/include/nanobind/stl/optional.h
+${PYSITELIB}/nanobind/include/nanobind/stl/pair.h
+${PYSITELIB}/nanobind/include/nanobind/stl/set.h
+${PYSITELIB}/nanobind/include/nanobind/stl/shared_ptr.h
+${PYSITELIB}/nanobind/include/nanobind/stl/string.h
+${PYSITELIB}/nanobind/include/nanobind/stl/string_view.h
+${PYSITELIB}/nanobind/include/nanobind/stl/tuple.h
+${PYSITELIB}/nanobind/include/nanobind/stl/unique_ptr.h
+${PYSITELIB}/nanobind/include/nanobind/stl/unordered_map.h
+${PYSITELIB}/nanobind/include/nanobind/stl/unordered_set.h
+${PYSITELIB}/nanobind/include/nanobind/stl/variant.h
+${PYSITELIB}/nanobind/include/nanobind/stl/vector.h
+${PYSITELIB}/nanobind/include/nanobind/stl/wstring.h
+${PYSITELIB}/nanobind/include/nanobind/trampoline.h
+${PYSITELIB}/nanobind/include/nanobind/typing.h
+${PYSITELIB}/nanobind/src/buffer.h
+${PYSITELIB}/nanobind/src/common.cpp
+${PYSITELIB}/nanobind/src/error.cpp
+${PYSITELIB}/nanobind/src/hash.h
+${PYSITELIB}/nanobind/src/implicit.cpp
+${PYSITELIB}/nanobind/src/nb_backend.cpp
+${PYSITELIB}/nanobind/src/nb_combined.cpp
+${PYSITELIB}/nanobind/src/nb_datetime.cpp
+${PYSITELIB}/nanobind/src/nb_enum.cpp
+${PYSITELIB}/nanobind/src/nb_ft.cpp
+${PYSITELIB}/nanobind/src/nb_ft.h
+${PYSITELIB}/nanobind/src/nb_func.cpp
+${PYSITELIB}/nanobind/src/nb_internals.cpp
+${PYSITELIB}/nanobind/src/nb_internals.h
+${PYSITELIB}/nanobind/src/nb_ndarray.cpp
+${PYSITELIB}/nanobind/src/nb_static_property.cpp
+${PYSITELIB}/nanobind/src/nb_type.cpp
+${PYSITELIB}/nanobind/src/trampoline.cpp
+${PYSITELIB}/nanobind/stubgen.py
+${PYSITELIB}/nanobind/stubgen.pyc
+${PYSITELIB}/nanobind/stubgen.pyo
Index: pkgsrc/devel/py-nanobind/buildlink3.mk
diff -u /dev/null pkgsrc/devel/py-nanobind/buildlink3.mk:1.1
--- /dev/null Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/buildlink3.mk Fri Sep 4 12:22:12 2026
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/09/04 12:22:12 adam Exp $
+
+BUILDLINK_TREE+= py-nanobind
+
+.if !defined(PY_NANOBIND_BUILDLINK3_MK)
+PY_NANOBIND_BUILDLINK3_MK:=
+
+# As this package defaults to DEPMETHOD=build we also set python to default
+# to build, and avoid pulling in unwanted indirect buildlink3 dependencies.
+PYTHON_FOR_BUILD_ONLY?= yes
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_DEPMETHOD.py-nanobind?= build
+
+BUILDLINK_API_DEPENDS.py-nanobind+= ${PYPKGPREFIX}-nanobind>=3.0.1
+BUILDLINK_PKGSRCDIR.py-nanobind?= ../../devel/py-nanobind
+.endif # PY_NANOBIND_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-nanobind
Index: pkgsrc/devel/py-nanobind/distinfo
diff -u /dev/null pkgsrc/devel/py-nanobind/distinfo:1.1
--- /dev/null Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/py-nanobind/distinfo Fri Sep 4 12:22:12 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/09/04 12:22:12 adam Exp $
+
+BLAKE2s (nanobind-3.0.1.tar.gz) = cf9204fa2b3ecda68d9dffa8a2231c25ad526be286dc01a75072da3d3c70f334
+SHA512 (nanobind-3.0.1.tar.gz) = 2aba1bde6db455e22217f91860e6b2fd9c5b6536945e2de7125eef9c395055bc53028bb3d59ca0ef3f7a702e3c7a66175bdedd0d441a7572f1530642af4d35d4
+Size (nanobind-3.0.1.tar.gz) = 1142340 bytes
Home |
Main Index |
Thread Index |
Old Index