pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
new file: DESCR new file: Makefile new file: PLIST new file: distinfo
Module Name: pkgsrc-wip
Committed By: zmsaif <zmsaif%nmsu.edu@localhost>
Pushed By: zmsaif
Date: Tue Jun 27 10:18:12 2017 -0600
Changeset: df50388abe82806c36d0b3e6329eee996732108f
Added Files:
boost-poly_collection/DESCR
boost-poly_collection/Makefile
boost-poly_collection/PLIST
boost-poly_collection/distinfo
Log Message:
new file: DESCR
new file: Makefile
new file: PLIST
new file: distinfo
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df50388abe82806c36d0b3e6329eee996732108f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
boost-poly_collection/DESCR | 24 ++++++++++++++++++++++
boost-poly_collection/Makefile | 35 ++++++++++++++++++++++++++++++++
boost-poly_collection/PLIST | 46 ++++++++++++++++++++++++++++++++++++++++++
boost-poly_collection/distinfo | 6 ++++++
4 files changed, 111 insertions(+)
diffs:
diff --git a/boost-poly_collection/DESCR b/boost-poly_collection/DESCR
new file mode 100644
index 0000000000..7a32de213f
--- /dev/null
+++ b/boost-poly_collection/DESCR
@@ -0,0 +1,24 @@
+Dynamic polymorphism in C++ requires that objects (such as instances
+of classes derived from an abstract base) be accessed through an
+indirection pointer because their actual type and size are not known
+at the point of usage. As a consequence, regular containers cannot
+store polymorphic objects directly: the usual workaround is to have
+containers of pointers to heap-allocated elements.
+
+When the particular traversal order is not relevant to the user
+application, Boost.PolyCollection proposes an alternative data
+structure that restores memory contiguity and packs elements according
+to their concrete type. Three container class templates are provided:
+
+- boost::base_collection
+- boost::function_collection
+- boost::any_collection
+
+respectively dealing with three different types of dynamic polymorphism available in C++:
+
+- Classic base/derived or OOP polymorphism.
+- Function wrapping in the spirit of std::function.
+- So-called duck typing as implemented by Boost.TypeErasure.
+
+The interface of these containers closely follows that of standard
+containers.
diff --git a/boost-poly_collection/Makefile b/boost-poly_collection/Makefile
new file mode 100644
index 0000000000..715375a1f7
--- /dev/null
+++ b/boost-poly_collection/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+PKGNAME= boost-poly_collection-20170612
+DISTNAME= develop
+CATEGORIES= devel
+MASTER_SITES= https://github.com/boostorg/poly_collection/archive/
+DIST_SUBDIR= ${PKGNAME}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= brook%NetBSD.org@localhost
+HOMEPAGE= http://rawgit.com/joaquintides/poly_collection/website/doc/html/index.html
+COMMENT= Containers supporting dynamic polymorphism in C++
+LICENSE= boost-license
+
+WRKSRC= ${WRKDIR}/poly_collection-develop
+USE_TOOLS+= pax
+
+# XXX - remove this or add more to do-install and PLIST
+.if !empty(XXX_BUILD_BOOST_POLY_COLLECTION)
+USE_LANGUAGES+= c c++
+USE_CMAKE=
+CMAKE_INSTALL_PREFIX= ${PREFIX}/include/boost/poly_collection
+.include "../../devel/boost-headers/buildlink3.mk"
+.else
+NO_BUILD=
+DEPENDS+= boost-headers>=1.62.0:../../devel/boost-headers
+.endif
+
+INSTALLATION_DIRS+= include/boost/poly_collection share/examples/boost-poly_collection
+
+do-install:
+ cd ${WRKSRC}/include/boost/poly_collection && ${PAX} -rw . ${DESTDIR}${PREFIX}/include/boost/poly_collection
+ cd ${WRKSRC}/example && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/examples/boost-poly_collection
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/boost-poly_collection/PLIST b/boost-poly_collection/PLIST
new file mode 100644
index 0000000000..0adc1958bd
--- /dev/null
+++ b/boost-poly_collection/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD$
+include/boost/poly_collection/algorithm.hpp
+include/boost/poly_collection/any_collection.hpp
+include/boost/poly_collection/any_collection_fwd.hpp
+include/boost/poly_collection/base_collection.hpp
+include/boost/poly_collection/base_collection_fwd.hpp
+include/boost/poly_collection/detail/any_iterator.hpp
+include/boost/poly_collection/detail/any_model.hpp
+include/boost/poly_collection/detail/auto_iterator.hpp
+include/boost/poly_collection/detail/base_model.hpp
+include/boost/poly_collection/detail/callable_wrapper.hpp
+include/boost/poly_collection/detail/callable_wrapper_iterator.hpp
+include/boost/poly_collection/detail/function_model.hpp
+include/boost/poly_collection/detail/functional.hpp
+include/boost/poly_collection/detail/integer_sequence.hpp
+include/boost/poly_collection/detail/is_acceptable.hpp
+include/boost/poly_collection/detail/is_constructible.hpp
+include/boost/poly_collection/detail/is_equality_comparable.hpp
+include/boost/poly_collection/detail/is_final.hpp
+include/boost/poly_collection/detail/is_invocable.hpp
+include/boost/poly_collection/detail/is_likely_stateless_lambda.hpp
+include/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp
+include/boost/poly_collection/detail/iterator_impl.hpp
+include/boost/poly_collection/detail/iterator_traits.hpp
+include/boost/poly_collection/detail/packed_segment.hpp
+include/boost/poly_collection/detail/poly_collection.hpp
+include/boost/poly_collection/detail/segment.hpp
+include/boost/poly_collection/detail/segment_backend.hpp
+include/boost/poly_collection/detail/segment_split.hpp
+include/boost/poly_collection/detail/split_segment.hpp
+include/boost/poly_collection/detail/stride_iterator.hpp
+include/boost/poly_collection/detail/type_restitution.hpp
+include/boost/poly_collection/detail/value_holder.hpp
+include/boost/poly_collection/exception.hpp
+include/boost/poly_collection/function_collection.hpp
+include/boost/poly_collection/function_collection_fwd.hpp
+share/examples/boost-poly_collection/Jamfile.v2
+share/examples/boost-poly_collection/algorithms.cpp
+share/examples/boost-poly_collection/basic_any.cpp
+share/examples/boost-poly_collection/basic_base.cpp
+share/examples/boost-poly_collection/basic_function.cpp
+share/examples/boost-poly_collection/exceptions.cpp
+share/examples/boost-poly_collection/insertion_emplacement.cpp
+share/examples/boost-poly_collection/perf.cpp
+share/examples/boost-poly_collection/rolegame.hpp
+share/examples/boost-poly_collection/segmented_structure.cpp
diff --git a/boost-poly_collection/distinfo b/boost-poly_collection/distinfo
new file mode 100644
index 0000000000..8811c896fb
--- /dev/null
+++ b/boost-poly_collection/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (boost-poly_collection-20170612/develop.zip) = 395dda777bb1a4c030806ed6f5af3a0d9169e10b
+RMD160 (boost-poly_collection-20170612/develop.zip) = f3ca2933b634070cd09fca08d948b1eadf369646
+SHA512 (boost-poly_collection-20170612/develop.zip) = e39e9374e0db39a8aec6b80f4345b2e82bcb079c92e1e2aef55266a2cc727a524ff8c4ab43799f8905c1bffdfdf5fc362a86d8a80c98ad1ba769e860f7507c04
+Size (boost-poly_collection-20170612/develop.zip) = 720609 bytes
Home |
Main Index |
Thread Index |
Old Index