pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Tue May  4 14:19:51 UTC 2021

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/PEGTL: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add PEGTL 2.8.3

The Parsing Expression Grammar Template Library (PEGTL) is a
zero-dependency C++ header-only parser combinator library for
creating parsers according to a Parsing Expression Grammar (PEG).

Grammars are written as regular C++ code, created with template
programming (not template meta programming), i.e. nested template
instantiations that naturally correspond to the inductive definition
of PEGs (and other parser-combinator approaches).

A comprehensive set of parser rules that can be combined and extended
by the user is included, as are mechanisms for debugging grammars,
and for attaching user-defined actions to grammar rules.


To generate a diff of this commit:
cvs rdiff -u -r1.1221 -r1.1222 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/PEGTL/DESCR \
    pkgsrc/textproc/PEGTL/Makefile pkgsrc/textproc/PEGTL/PLIST \
    pkgsrc/textproc/PEGTL/buildlink3.mk pkgsrc/textproc/PEGTL/distinfo

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

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1221 pkgsrc/textproc/Makefile:1.1222
--- pkgsrc/textproc/Makefile:1.1221     Tue May  4 08:34:30 2021
+++ pkgsrc/textproc/Makefile    Tue May  4 14:19:51 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1221 2021/05/04 08:34:30 fcambus Exp $
+# $NetBSD: Makefile,v 1.1222 2021/05/04 14:19:51 prlw1 Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -11,6 +11,7 @@ SUBDIR+=      GutenMark-words
 SUBDIR+=       LDoc
 SUBDIR+=       Markdown
 SUBDIR+=       OdfConverter
+SUBDIR+=       PEGTL
 SUBDIR+=       R-DT
 SUBDIR+=       R-brew
 SUBDIR+=       R-cellranger

Added files:

Index: pkgsrc/textproc/PEGTL/DESCR
diff -u /dev/null pkgsrc/textproc/PEGTL/DESCR:1.1
--- /dev/null   Tue May  4 14:19:51 2021
+++ pkgsrc/textproc/PEGTL/DESCR Tue May  4 14:19:51 2021
@@ -0,0 +1,12 @@
+The Parsing Expression Grammar Template Library (PEGTL) is a
+zero-dependency C++ header-only parser combinator library for
+creating parsers according to a Parsing Expression Grammar (PEG).
+
+Grammars are written as regular C++ code, created with template
+programming (not template meta programming), i.e. nested template
+instantiations that naturally correspond to the inductive definition
+of PEGs (and other parser-combinator approaches).
+
+A comprehensive set of parser rules that can be combined and extended
+by the user is included, as are mechanisms for debugging grammars,
+and for attaching user-defined actions to grammar rules.
Index: pkgsrc/textproc/PEGTL/Makefile
diff -u /dev/null pkgsrc/textproc/PEGTL/Makefile:1.1
--- /dev/null   Tue May  4 14:19:51 2021
+++ pkgsrc/textproc/PEGTL/Makefile      Tue May  4 14:19:51 2021
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2021/05/04 14:19:51 prlw1 Exp $
+
+DISTNAME=      PEGTL-2.8.3
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=taocpp/}
+
+MAINTAINER=    prlw1%cam.ac.uk@localhost
+HOMEPAGE=      https://github.com/taocpp/PEGTL/
+COMMENT=       C++ header-only parser combinator library
+LICENSE=       mit
+
+# version 3 requires c++17
+USE_LANGUAGES= c++11
+USE_CMAKE=     yes
+
+CMAKE_ARGS+=   -DPEGTL_BUILD_EXAMPLES=no
+CMAKE_ARGS+=   -DPEGTL_BUILD_TESTS=no
+CMAKE_ARGS+=   -DPEGTL_BUILD_TESTS=no
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/PEGTL/PLIST
diff -u /dev/null pkgsrc/textproc/PEGTL/PLIST:1.1
--- /dev/null   Tue May  4 14:19:51 2021
+++ pkgsrc/textproc/PEGTL/PLIST Tue May  4 14:19:51 2021
@@ -0,0 +1,183 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/04 14:19:51 prlw1 Exp $
+include/tao/pegtl.hpp
+include/tao/pegtl/analysis/analyze_cycles.hpp
+include/tao/pegtl/analysis/counted.hpp
+include/tao/pegtl/analysis/generic.hpp
+include/tao/pegtl/analysis/grammar_info.hpp
+include/tao/pegtl/analysis/insert_guard.hpp
+include/tao/pegtl/analysis/rule_info.hpp
+include/tao/pegtl/analysis/rule_type.hpp
+include/tao/pegtl/analyze.hpp
+include/tao/pegtl/apply_mode.hpp
+include/tao/pegtl/argv_input.hpp
+include/tao/pegtl/ascii.hpp
+include/tao/pegtl/buffer_input.hpp
+include/tao/pegtl/change_action.hpp
+include/tao/pegtl/change_action_and_state.hpp
+include/tao/pegtl/change_action_and_states.hpp
+include/tao/pegtl/change_control.hpp
+include/tao/pegtl/change_state.hpp
+include/tao/pegtl/change_states.hpp
+include/tao/pegtl/config.hpp
+include/tao/pegtl/contrib/abnf.hpp
+include/tao/pegtl/contrib/alphabet.hpp
+include/tao/pegtl/contrib/changes.hpp
+include/tao/pegtl/contrib/counter.hpp
+include/tao/pegtl/contrib/http.hpp
+include/tao/pegtl/contrib/icu/internal.hpp
+include/tao/pegtl/contrib/icu/utf16.hpp
+include/tao/pegtl/contrib/icu/utf32.hpp
+include/tao/pegtl/contrib/icu/utf8.hpp
+include/tao/pegtl/contrib/if_then.hpp
+include/tao/pegtl/contrib/integer.hpp
+include/tao/pegtl/contrib/json.hpp
+include/tao/pegtl/contrib/json_pointer.hpp
+include/tao/pegtl/contrib/parse_tree.hpp
+include/tao/pegtl/contrib/parse_tree_to_dot.hpp
+include/tao/pegtl/contrib/raw_string.hpp
+include/tao/pegtl/contrib/remove_first_state.hpp
+include/tao/pegtl/contrib/remove_last_states.hpp
+include/tao/pegtl/contrib/rep_one_min_max.hpp
+include/tao/pegtl/contrib/rep_string.hpp
+include/tao/pegtl/contrib/shuffle_states.hpp
+include/tao/pegtl/contrib/to_string.hpp
+include/tao/pegtl/contrib/tracer.hpp
+include/tao/pegtl/contrib/unescape.hpp
+include/tao/pegtl/contrib/uri.hpp
+include/tao/pegtl/cstream_input.hpp
+include/tao/pegtl/disable_action.hpp
+include/tao/pegtl/discard_input.hpp
+include/tao/pegtl/discard_input_on_failure.hpp
+include/tao/pegtl/discard_input_on_success.hpp
+include/tao/pegtl/enable_action.hpp
+include/tao/pegtl/eol.hpp
+include/tao/pegtl/eol_pair.hpp
+include/tao/pegtl/file_input.hpp
+include/tao/pegtl/input_error.hpp
+include/tao/pegtl/internal/action.hpp
+include/tao/pegtl/internal/action_input.hpp
+include/tao/pegtl/internal/alnum.hpp
+include/tao/pegtl/internal/alpha.hpp
+include/tao/pegtl/internal/always_false.hpp
+include/tao/pegtl/internal/any.hpp
+include/tao/pegtl/internal/apply.hpp
+include/tao/pegtl/internal/apply0.hpp
+include/tao/pegtl/internal/apply0_single.hpp
+include/tao/pegtl/internal/apply_single.hpp
+include/tao/pegtl/internal/at.hpp
+include/tao/pegtl/internal/bof.hpp
+include/tao/pegtl/internal/bol.hpp
+include/tao/pegtl/internal/bump.hpp
+include/tao/pegtl/internal/bump_help.hpp
+include/tao/pegtl/internal/bytes.hpp
+include/tao/pegtl/internal/control.hpp
+include/tao/pegtl/internal/cr_crlf_eol.hpp
+include/tao/pegtl/internal/cr_eol.hpp
+include/tao/pegtl/internal/crlf_eol.hpp
+include/tao/pegtl/internal/cstream_reader.hpp
+include/tao/pegtl/internal/cstring_reader.hpp
+include/tao/pegtl/internal/demangle.hpp
+include/tao/pegtl/internal/demangle_cxxabi.hpp
+include/tao/pegtl/internal/demangle_nop.hpp
+include/tao/pegtl/internal/demangle_sanitise.hpp
+include/tao/pegtl/internal/disable.hpp
+include/tao/pegtl/internal/discard.hpp
+include/tao/pegtl/internal/dusel_mode.hpp
+include/tao/pegtl/internal/duseltronik.hpp
+include/tao/pegtl/internal/enable.hpp
+include/tao/pegtl/internal/endian.hpp
+include/tao/pegtl/internal/endian_gcc.hpp
+include/tao/pegtl/internal/endian_win.hpp
+include/tao/pegtl/internal/eof.hpp
+include/tao/pegtl/internal/eol.hpp
+include/tao/pegtl/internal/eolf.hpp
+include/tao/pegtl/internal/file_mapper_posix.hpp
+include/tao/pegtl/internal/file_mapper_win32.hpp
+include/tao/pegtl/internal/file_opener.hpp
+include/tao/pegtl/internal/file_reader.hpp
+include/tao/pegtl/internal/has_apply.hpp
+include/tao/pegtl/internal/has_apply0.hpp
+include/tao/pegtl/internal/has_match.hpp
+include/tao/pegtl/internal/identifier.hpp
+include/tao/pegtl/internal/if_apply.hpp
+include/tao/pegtl/internal/if_missing.hpp
+include/tao/pegtl/internal/if_must.hpp
+include/tao/pegtl/internal/if_must_else.hpp
+include/tao/pegtl/internal/if_then_else.hpp
+include/tao/pegtl/internal/input_pair.hpp
+include/tao/pegtl/internal/integer_sequence.hpp
+include/tao/pegtl/internal/istream_reader.hpp
+include/tao/pegtl/internal/istring.hpp
+include/tao/pegtl/internal/iterator.hpp
+include/tao/pegtl/internal/lf_crlf_eol.hpp
+include/tao/pegtl/internal/lf_eol.hpp
+include/tao/pegtl/internal/list.hpp
+include/tao/pegtl/internal/list_must.hpp
+include/tao/pegtl/internal/list_tail.hpp
+include/tao/pegtl/internal/list_tail_pad.hpp
+include/tao/pegtl/internal/marker.hpp
+include/tao/pegtl/internal/must.hpp
+include/tao/pegtl/internal/not_at.hpp
+include/tao/pegtl/internal/one.hpp
+include/tao/pegtl/internal/opt.hpp
+include/tao/pegtl/internal/pad.hpp
+include/tao/pegtl/internal/pad_opt.hpp
+include/tao/pegtl/internal/peek_char.hpp
+include/tao/pegtl/internal/peek_mask_uint.hpp
+include/tao/pegtl/internal/peek_mask_uint8.hpp
+include/tao/pegtl/internal/peek_uint.hpp
+include/tao/pegtl/internal/peek_uint8.hpp
+include/tao/pegtl/internal/peek_utf16.hpp
+include/tao/pegtl/internal/peek_utf32.hpp
+include/tao/pegtl/internal/peek_utf8.hpp
+include/tao/pegtl/internal/pegtl_string.hpp
+include/tao/pegtl/internal/plus.hpp
+include/tao/pegtl/internal/raise.hpp
+include/tao/pegtl/internal/range.hpp
+include/tao/pegtl/internal/ranges.hpp
+include/tao/pegtl/internal/read_uint.hpp
+include/tao/pegtl/internal/rematch.hpp
+include/tao/pegtl/internal/rep.hpp
+include/tao/pegtl/internal/rep_min.hpp
+include/tao/pegtl/internal/rep_min_max.hpp
+include/tao/pegtl/internal/rep_opt.hpp
+include/tao/pegtl/internal/require.hpp
+include/tao/pegtl/internal/result_on_found.hpp
+include/tao/pegtl/internal/rules.hpp
+include/tao/pegtl/internal/seq.hpp
+include/tao/pegtl/internal/skip_control.hpp
+include/tao/pegtl/internal/sor.hpp
+include/tao/pegtl/internal/star.hpp
+include/tao/pegtl/internal/star_must.hpp
+include/tao/pegtl/internal/state.hpp
+include/tao/pegtl/internal/string.hpp
+include/tao/pegtl/internal/trivial.hpp
+include/tao/pegtl/internal/try_catch_type.hpp
+include/tao/pegtl/internal/until.hpp
+include/tao/pegtl/istream_input.hpp
+include/tao/pegtl/match.hpp
+include/tao/pegtl/memory_input.hpp
+include/tao/pegtl/mmap_input.hpp
+include/tao/pegtl/normal.hpp
+include/tao/pegtl/nothing.hpp
+include/tao/pegtl/parse.hpp
+include/tao/pegtl/parse_error.hpp
+include/tao/pegtl/position.hpp
+include/tao/pegtl/read_input.hpp
+include/tao/pegtl/require_apply.hpp
+include/tao/pegtl/require_apply0.hpp
+include/tao/pegtl/rewind_mode.hpp
+include/tao/pegtl/rules.hpp
+include/tao/pegtl/string_input.hpp
+include/tao/pegtl/tracking_mode.hpp
+include/tao/pegtl/uint16.hpp
+include/tao/pegtl/uint32.hpp
+include/tao/pegtl/uint64.hpp
+include/tao/pegtl/uint8.hpp
+include/tao/pegtl/utf16.hpp
+include/tao/pegtl/utf32.hpp
+include/tao/pegtl/utf8.hpp
+include/tao/pegtl/version.hpp
+share/doc/tao/pegtl/LICENSE
+share/pegtl/cmake/pegtl-config-version.cmake
+share/pegtl/cmake/pegtl-config.cmake
Index: pkgsrc/textproc/PEGTL/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/PEGTL/buildlink3.mk:1.1
--- /dev/null   Tue May  4 14:19:51 2021
+++ pkgsrc/textproc/PEGTL/buildlink3.mk Tue May  4 14:19:51 2021
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/04 14:19:51 prlw1 Exp $
+
+BUILDLINK_TREE+=       PEGTL
+
+.if !defined(PEGTL_BUILDLINK3_MK)
+PEGTL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.PEGTL+=  PEGTL>=2.8.3
+BUILDLINK_PKGSRCDIR.PEGTL?=    ../../textproc/PEGTL
+BUILDLINK_DEPMETHOD.PEGTL?=    build
+.endif # PEGTL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -PEGTL
Index: pkgsrc/textproc/PEGTL/distinfo
diff -u /dev/null pkgsrc/textproc/PEGTL/distinfo:1.1
--- /dev/null   Tue May  4 14:19:51 2021
+++ pkgsrc/textproc/PEGTL/distinfo      Tue May  4 14:19:51 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/04 14:19:51 prlw1 Exp $
+
+SHA1 (PEGTL-2.8.3.tar.gz) = 59e30a3e0a71aa249b099ece5ddfc26b626529c2
+RMD160 (PEGTL-2.8.3.tar.gz) = d7a38686766a0ffbaed41a56698b67c0d78f7734
+SHA512 (PEGTL-2.8.3.tar.gz) = 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71
+Size (PEGTL-2.8.3.tar.gz) = 201531 bytes



Home | Main Index | Thread Index | Old Index