6962 Commits

Author SHA1 Message Date
landry
9422e96cd1 Import textprocy/py-lark 1.1.5
Lark is a modern parsing library for Python. Lark can parse any context-free grammar.
Lark provides:
* Advanced grammar language, based on EBNF
* Three parsing algorithms to choose from: Earley, LALR(1) and CYK
* Automatic tree construction, inferred from your grammar
* Fast unicode lexer with regexp support, and automatic line-counting

ok sthen@
2022-12-19 10:49:06 +00:00
landry
841897b99e Import textproc/py-dateparser 1.1.4.
a date parsing library designed to parse dates from HTML pages:
* Generic parsing of dates in over 200 language locales plus numerous
  formats in a language agnostic fashion.
* Generic parsing of relative dates like: '1 min ago', '2 weeks ago',
  '3 months, 1 week and 1 day ago', 'in 2 days', 'tomorrow'.
* Generic parsing of dates with time zones abbreviations or UTC
  offsets like: 'August 14, 2015 EST', 'July 4, 2013 PST',
  '21 July 2013 10:15 pm +0500'.
* Date lookup in longer texts.
* Support for non-Gregorian calendar systems.

ok sthen@
2022-12-19 10:48:10 +00:00
op
66ab3395dc update textproc/opensearch to 2.4.1
Release notes:
https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.4.1.md

ok pvk@
2022-12-16 17:31:04 +00:00
sthen
5ce7cc27ed update to zathura-pdf-mupdf-0.4.0 2022-12-15 14:31:48 +00:00
sthen
af50c4af87 update to zathura-pdf-poppler-0.3.1 2022-12-15 14:31:45 +00:00
sthen
826b5b5506 update to py-lxml-4.9.2 2022-12-14 14:06:35 +00:00
sthen
72ee2b0098 update to py3-sphinx_rtd_theme-1.1.1 2022-12-14 13:41:32 +00:00
sthen
2d242bbdd8 update to zathura-0.5.2, bump plugin REVISIONs and BUILD_DEPENDS to make
sure they're built against ABI in new version
2022-12-14 13:41:15 +00:00
sthen
af26881c2c update to mupdf-1.21.1 2022-12-14 13:29:48 +00:00
sthen
c9596458b9 bump; mupdf update (static linked) 2022-12-14 13:29:46 +00:00
sthen
3b86fa2301 add max version spec in m2r, and comment in mistune. (mistune is a bit
old, but m2r can't use a newer one).
2022-12-11 09:04:20 +00:00
sthen
59ea6e158a update to py3-m2r-0.3.1 2022-12-11 08:40:10 +00:00
sthen
983962e651 update to py3-black-22.12.0 2022-12-10 09:50:01 +00:00
sthen
7a379e3871 update to uchardet-0.0.8 2022-12-09 14:14:37 +00:00
sthen
87a56fd266 update to py3-ruamel.yaml.clib-0.2.7 2022-12-09 13:05:11 +00:00
sthen
f712e8e88d update to py3-patiencediff-0.2.10, point MODPY_TEST_DIR at the build
dir so that the compiled extension is found and related tests aren't
skipped
2022-12-07 08:49:31 +00:00
sthen
2bc4ea0c14 use MODPY_PYBUILD=hatch-vcs instead of =hatchling + BDEP on py-hatch-vcs 2022-12-06 16:23:05 +00:00
sthen
eeb6977bff add a comment about py2 use (newer versions of pygments.rb can use py3) 2022-12-06 13:05:24 +00:00
kn
a1a7ac165d neuter unneeded python 2 runtime dependency
luckily, this xml parser written in vala only uses python to build/test.
2022-12-03 20:40:57 +00:00
sthen
7ac6a03c77 update to py3-jaraco.text-3.11.0 2022-12-02 08:49:00 +00:00
sthen
7089c29a9c update to py3-chardet-5.1.0 2022-12-02 08:48:26 +00:00
ajacoutot
f1b9468860 Update to hotdoc-0.14.0. 2022-12-02 07:49:05 +00:00
sthen
b7c89f1cfd add BDEP on py-setuptools; plist changes depending on whether
setuptools is installed or not. found by aja@
2022-12-01 15:30:22 +00:00
sthen
f8601d8095 update to py3-pyphen-0.13.2 2022-12-01 09:03:23 +00:00
sthen
eb0be81207 update to py3-unidecode-1.3.6 2022-12-01 08:43:34 +00:00
sthen
420605b86c uodate to py3-stemmer-2.2.0, use system libstemmer rather than bundled 2022-11-30 09:14:58 +00:00
sthen
9379567ca2 update to libstemmer-2.2.0 2022-11-30 08:46:08 +00:00
sthen
042b91fb97 update to py3-cssselect-1.2.0, drop unused py2 version 2022-11-28 21:01:42 +00:00
sthen
1e369af7ff drop py-lxml TEST_DEPENDS for the python2 flavour (tests are already disabled) 2022-11-28 20:58:24 +00:00
sthen
88a51e46d4 update to py3-demjson-3.0.6 2022-11-28 18:15:10 +00:00
yasuoka
b8b94da933 Don't replace ROOT unconditionally, do it when 'fake' only. This
fixes the paths in the man pages.

ok bentley
2022-11-28 08:59:12 +00:00
sthen
d3df6d4e10 update to py3-signedjson-1.1.4, ok maintainer 2022-11-27 18:31:37 +00:00
ajacoutot
dedd1e358d Oops, missed to cvs add in previous. 2022-11-27 17:21:41 +00:00
jca
eb4266db00 Bump libc crate version to add support for powerpc64 and riscv64
ok edd@ (maintainer)
2022-11-27 12:44:59 +00:00
jca
51fafbc64d Drop redundant PKGNAME and merge V into GH_TAGNAME
ok edd@ (maintainer)
2022-11-27 12:44:14 +00:00
sthen
0fd27cbd57 +py-tomlkit 2022-11-27 12:42:43 +00:00
sthen
17228cc92e import ports/textproc/py-tomlkit, ok lraab@
TOML Kit is a 1.0.0-compliant TOML library.

It includes a parser that preserves all comments, indentations,
whitespace and internal element ordering, and makes them accessible and
editable via an intuitive API.

You can also create new TOML documents from scratch using the provided
helpers.
2022-11-27 12:41:28 +00:00
sthen
e33d8d13ff hook up various py-jaraco-XX/related ports:
devel/py-jaraco-classes
devel/py-jaraco-collections
devel/py-jaraco-context
textproc/py-jaraco-text
devel/py-autocommand
textproc/py-inflect
2022-11-27 10:56:00 +00:00
sthen
7285e1193c import ports/textproc/py-inflect, ok bket
inflect.py provides plural inflections, singular noun inflections,
"a"/"an" selection for English words, and manipulation of numbers as
words.

Plural forms of all nouns, most verbs, and some adjectives are provided.
Where appropriate, "classical" variants (for example: "brother" ->
"brethren", "dogma" -> "dogmata", etc.) are also provided.

Single forms of nouns are also provided. The gender of singular pronouns
can be chosen (for example "they" -> "it" or "she" or "he" or "they").

Pronunciation-based "a"/"an" selection is provided for all English
words, and most initialisms.

It is also possible to inflect numerals (1,2,3) to ordinals (1st, 2nd,
3rd) and to English words ("one", "two", "three").

In generating these inflections, inflect.py follows the Oxford English
Dictionary and the guidelines in Fowler's Modern English Usage,
preferring the former where the two disagree.
2022-11-27 10:55:14 +00:00
sthen
350b6bf55b import ports/textproc/py-jaraco-text, ok bket
This package provides handy routines for dealing with text, such as
wrapping, substitution, trimming, stripping, prefix and suffix removal,
line continuation, indentation, comment processing, identifier processing,
values parsing, case insensitive comparison, and more.
2022-11-27 10:54:55 +00:00
ajacoutot
7853258c6a Update to link-grammar-5.12.0. 2022-11-27 10:46:33 +00:00
sthen
d858b7cc2a Ports built with setuptools on python 3.10 don't need a RUN_DEPENDS on
setuptools (it's used as a package locator but importlib.metadata in
newer Python core or the external importlib_metadata are preferred).
So drop the RDEP in that case (it's still kept for py27) and bump
revisions.
2022-11-26 23:28:11 +00:00
sthen
18323762b9 use MODPY_PYBUILD 2022-11-26 15:02:49 +00:00
sthen
601f3a3387 update to py3-charset-normalizer
enabled compiled md.py now that we have mypy
2022-11-25 12:28:37 +00:00
edd
57da22003e textproc/lgrind: Make it build with TeX Live 2022. 2022-11-24 20:06:43 +00:00
sthen
ec9d4f8c9b update to py3-colored-1.4.4 2022-11-24 12:15:57 +00:00
sthen
2d767ce297 update to py3-numpydoc-1.5.0 2022-11-24 12:14:16 +00:00
sthen
fbbacb75c6 update to py3-dict2xml-1.7.2 2022-11-24 12:02:46 +00:00
sthen
fc105db388 update to xml2rfc-3.15.3 2022-11-24 11:59:36 +00:00
sthen
3088fc931b update to py3-ini2toml-0.11.3 2022-11-24 11:59:20 +00:00