textproc/py-sphinx-multiversion-zrepl: add new port
Sphinx extension (zrepl fork) for building self-hosted versioned docs.
This extension aims to provide a clean implementation that tries to
avoid messing with Sphinx internals as much as possible.
textproc/py-sphinx-multiversion: add new port
Sphinx extension for building self-hosted versioned docs. This extension
aims to provide a clean implementation that tries to avoid messing with
Sphinx internals as much as possible.
textproc/py-sphinx-gallery: Add py-sphinx-gallery 0.14.0
Sphinx-Gallery is a Sphinx extension that builds an HTML gallery of examples
from any set of Python scripts.
Features:
- Create example galleries automatically by running pure Python example scripts
while capturing outputs + figures, rendering them into reST files built into
your documentation by Sphinx
- Embed reST in your example Python files, allowing you to interweave
narrative-like content with code that generates plots in your documentation.
Sphinx-Gallery also automatically generates a Jupyter Notebook for each your
example page.
- Add mini-galleries for API documentation. Sphinx-Gallery can generate
mini-galleries listing all examples that use a particular function/method/etc.
- Add intersphinx links to your examples. Sphinx-Gallery can automatically add
links to API documentation for functions/methods/classes that are used in your
examples (for any Python module that uses intersphinx).
- Manage multiple galleries to create and embed galleries for several folders of
examples.
textproc/rubygem-prism: Add rubygem-prism 0.13.0
This is a parser for the Ruby programming language. It is designed to be
portable, error tolerant, and maintainable. It is written in C99 and has no
dependencies. It is currently being integrated into CRuby, JRuby, TruffleRuby,
Sorbet, and Syntax Tree.
textproc/raptor: Remove expired port
2023-09-30 textproc/raptor: No new release in 10+ years and superseded by
2.0-branch, consider using textproc/raptor2
textproc/py-ansi2html: Add py-ansi2html 1.8.0
ansi2html converts text with ANSI color codes to HTML or to LaTeX. It is
inspired by and developed off of the work of pixelbeat and blackjack.
textproc/bsd-spell: A port of the 4.4BSD spell and derof commands
spell(1) collects words from the named documents and looks them up in a
spelling list. Words that neither occur among nor are derivable
(by applying certain inflections, prefixes or suffixes) from words in
the spelling list are printed on the standard output.
deroff(1) reads each file in sequence and removes all roff command lines,
backslash constructions, macro definitions, eqn constructs (between ".EQ"
and ".EN" lines or between delimiters), pic pictures, and table descriptions
and writes the remainder to the standard output.
spell(1) and deroff(1) did not appear in freely redistributable BSD
releases for licensing reasons. After Caldera relicensed early UNIX releases
the 4.4BSD version was added to NetBSD and OpenBSD.
PR: 274098
textproc/md2roff: markdown to roff converter
md2roff is a Markdown to roff/html converted. It can be used to
generate simple man pages from project README files. The output is
a manpage in man(7) format as well as a HTML document.
PR: https://github.com/github/hub
textproc/py-readtime: New port
Calculates the time some text takes the average human to read, based on
Medium's read time forumula.
Medium's Help Center says:
"Read time is based on the average reading speed of an adult (roughly
265 WPM). We take the total word count of a post and translate it into
minutes, with an adjustment made for images. For posts in Chinese,
Japanese and Korean, it's a function of number of characters (500
characters/min) with an adjustment made for images."
Source: https://help.medium.com/hc/en-us/articles/214991667-Read-time
textproc/py-wavedrom: New port
This is a Python module and command line fully compatible with WaveDrom,
which is originally implemented in JavaScript. It is useful if you want
to generate wavedrom diagrams from a Python environment or simply don't
want to install the Node.js environment just to use WaveDrom as simple
command line.
WaveDromPy is for example used in sphinxcontrib-wavedrom to render
wavedrom for Sphinx documentation. While the original project renders
the diagrams in JavaScript in the browser, WaveDromPy renders them to
SVG files.
This tool is a direct translation of original Javascript file
WaveDrom.js to Python. No extra feature added. We seek to have it fully
compatible.
The tool WaveDromPy directly converts WaveDrom compatible JSON files
into SVG format.
textproc/py-paginate: New port
This module helps dividing large lists of items into pages. The user is
shown one page at a time and can navigate to other pages.
Imagine you are offering a company phonebook and let the user search the
entries. If the search result contains 23 entries but you may want to
display no more than 10 entries at once.
The first page contains entries 1-10, the second 11-20 and the
third 21-23.
textproc/py-mkdocstrings-python-legacy: New port
This Python handler for the "mkdocstrings" package uses PyTkDocs
(= textproc/py-pytkdocs) to collect documentation from Python source
code.
Features:
* Data collection from source code: collection of the object-tree and
the docstrings is done thanks to pytkdocs.
* Support for type annotations: pytkdocs collects your type annotations
and mkdocstrings uses them to display parameters types or return
types.
* Recursive documentation of Python objects: just use the module
dotted-path as identifier, and you get the full module docs. You don't
need to inject documentation for each class, function, etc.
* Support for documented attributes: attributes (variables) followed by
a docstring (triple-quoted string) will be recognized by Griffe in
modules, classes and even in __init__ methods.
* Multiple docstring-styles support: common support for Google-style,
Numpydoc-style, and Sphinx-style docstrings.
textproc/py-markdown-callouts: New port
This extension for Python Markdown produces the same results as the
"admonition" extension, but with a syntax that is much less intrusive
and has a very reasonable fallback look for "vanilla" renderers.
textproc/py-mkdocstrings-crystal: New port
This package allows you to insert API documentation (generated from
Crystal's source code and doc comments) as part of any page on a
MkDocs site.
textproc/py-mkdocstrings-python: New port
This Python handler for the "mkdocstrings" package uses Griffe
(= textproc/py-griffe) to collect documentation from Python source code.
Features:
* Data collection from source code: collection of the object-tree and
the docstrings is done thanks to Griffe.
* Support for type annotations: Griffe collects your type annotations
and mkdocstrings uses them to display parameter types or return types.
* Recursive documentation of Python objects: just use the module
dotted-path as an identifier, and you get the full module docs. You
don't need to inject documentation for each class, function, etc.
* Support for documented attributes: attributes (variables) followed by
a docstring (triple-quoted string) will be recognized by Griffe in
modules, classes and even in __init__ methods.
* Multiple docstring-styles support: common support for Google-style,
Numpydoc-style, and Sphinx-style docstrings. See Griffe's
documentation on docstrings support.
textproc/py-griffe: New port
Signatures for entire Python programs. Extract the structure, the
frame, the skeleton of your project, to generate API documentation or
find breaking changes in your API.
textproc/py-zope.i18nmessageid: readd port
This is a partial revert of 1daa5c9c40262b9dd10186c92bc3e250ff1bcc2b.
It is still required for devel/py-zope.configuration.
Apologies for breaking INDEX.
textproc/p5-ODF-lpOD-Helper: Add new port
ODF::lpOD_Helper enables transparent Unicode support, provides
higher-level multi-segment text search & replace methods, and
works around ODF::lpOD bugs and limitations.
Styles may be specified with a high-level notation and the necessary
span and style objects are automatically created and fonts registered.
textproc/rubygem-yarp: Add rubygem-yarp 0.6.0
Yet Another Ruby Parser is a parser for the Ruby programming language. It is
designed to be portable, error tolerant, and maintainable. It is written in C99
and has no dependencies. It is currently being integrated into CRuby, JRuby,
TruffleRuby, Sorbet, and Syntax Tree.
textproc/py-interegular: Add py-interegular 0.3.2
Interegular is a library to check a subset of python regexes for intersections.
Based on grennery by @qntm. Adapted for lark-parser.
The primary difference with grennery library is that interegular is focused on
speed and compatibility with python re syntax, whereas grennery has a way to
reconstruct a regex from a FSM, which interegular lacks.
textproc/p5-excel2csv: new port had been added (+)
Provides two scripts for converting Microsoft Excel
spreadsheet formats (both XLS and XLSX) to CSV.
PR: 254499
Submitted by: Henrik Rosenke
textproc/py-sphinx-sitemap: Sphinx extension for generating sitemaps for HTML
A Sphinx extension to generate multiversion and multilanguage sitemaps.org
protocol compliant sitemaps for Sphinx generated HTML documentation.
WWW: https://github.com/jdillard/sphinx-sitemap
PR: 272713
textproc/py-uc-micro-py: Add py-uc-micro-py 1.0.2
uc.micro-py is a Python port of uc.micro. It provides micro subset of Unicode
data files ONLY for linkify-it-py projects needs.
textproc/py-cyclonedx-python-lib: Add py-cyclonedx-python-lib 4.0.1
This CycloneDX module for Python can generate valid CycloneDX bill-of-material
document containing an aggregate of all project dependencies. CycloneDX is a
lightweight BOM specification that is easily created, human-readable, and simple
to parse.
textproc/py-linkify-it-py: Add py-linkify-it-py 2.0.2
linkify-it-py is a Python port of linkify-it. It links recognition library with
FULL unicode support. Focused on high quality link patterns detection in plain
text.
Why it's awesome:
- Full unicode support, with astral characters!
- International domains support.
- Allows rules extension & custom normalizers.
textproc/py-transifex-client: Remove expired port
2023-06-30 textproc/py-transifex-client: Upstream switched to go based api
client (textproc/go-transifex-client)
textproc/quickwit: add port
Quickwit is the fastest search engine on cloud storage.
o Full-text search and aggregation queries
o Sub-second search on cloud storage (Amazon S3, Azure Blob Storage, ...)
o Decoupled compute and storage, stateless indexers & searchers
o Schemaless or strict schema indexing
o Kubernetes ready - See our helm-chart
o OTEL-native for logs and traces
o Jaeger-native
o RESTful API
WWW: https://quickwit.io/
textproc/rubygem-elastic-transport: Add rubygem-elastic-transport 8.2.1
Elastic Transport provides a low-level Ruby client for connecting to an Elastic
cluster. It powers both the Elasticsearch client and the Elastic Enterprise
Search client.
textproc/crow-translate: Add new port
A simple and lightweight translator that allows you to translate and
speak text using Google, Yandex Bing, LibreTranslate and Lingva.
textproc/py-merge3: new port
A Python implementation of 3-way merge of texts.
Given BASE, OTHER, THIS, tries to produce a combined text incorporating
the changes from both BASE->OTHER and BASE->THIS. All three will
typically be sequences of lines.
WWW: https://github.com/breezy-team/merge3
PR: 267681
textproc/rubygem-semver_dialects: Remove duplicate
Same port existed in the tree under devel/rubygem-semver_dialects.
- Update www/gitlab-ce to reflect to the older port in the tree
- Add enttry into MOVED
Approved by: portmgr (just-fix-it)
textproc/py-reindent: New port: Reindent python scripts
Change Python (.py) files to use 4-space indents and no hard tab
characters. Also trim excess spaces and tabs from ends of lines,
and remove empty lines at the end of files. Also ensure the last
line ends with a newline.
WWW: https://pypi.org/project/reindent/
PR: 269828
textproc/py-evtx2splunk: New port: Evtx to Splunk ingestor
Ingest EVTX files into a Splunk instance.
This tool is based on the work of :
Omer BenAmram
Blardy
Thanks to Ekto for its contribution.
Key features:
- Splunk HEC support with token auto-creation
- Splunk index auto-creation
- Multiprocessing support
- Caching for evtx reuse without reconverting
- Windows and Linux compatibility
- Rely on the great and fast evtx_dump Rust tool of Omer
- Evtx message resolutions from database
Note: evtx2splunk converts the EVTX to JSON and stores them in a temporary
place. Hence, up to the size of source EVTX can be created during the process.
These files are removed at the end of the process, except if keep_cache is
enabled.
textproc/evtx: New port: A Fast parser for the Windows XML Event Log (EVTX)
format
A cross-platform parser for the Windows XML EventLog format
Features:
- Implemented using 100% safe rust - and works on all platforms supported by
rust (that have stdlib).
- It's faster than any other implementation by order(s) of magnitude!
- Multi-threaded.
- Supports XML and JSON outputs, both being directly constructed from the token
tree and independent of each other (no xml2json conversion is performed!)
- Supports some basic recovery of missing records/chunks!
textproc/py-splunk-hec: New port: Python class to submit events to Splunk HTTP
Event Collector
This is a python class file for use with other python scripts to send events to
a Splunk http event collector.
Supported products:
Splunk v6.3.X+
Splunk v6.4.X+ for the raw input option
textproc/py-docx-generator: New port: Tool to generate docx report from docx
template and json data
Tool to generate docx report from docx template and json data
textproc/py-docxtpl: New port: Python docx template engine
python-docx-template has been created because python-docx is powerful for
creating documents but not for modifying them.
The idea is to begin to create an example of the document you want to generate
with microsoft word, it can be as complex as you want: pictures, index tables,
footer, header, variables, anything you can do with word. Then, as you are
still editing the document with microsoft word, you insert jinja2-like tags
directly in the document. You save the document as a .docx file (xml format).
it will be your .docx template file.
Now you can use python-docx-template to generate as many word documents you
want from this .docx template and context variables you will associate.
textproc/py-docxcompose: New port: Python library for concatenating/appending
Microsoft Word files
docxcompose is a Python library for concatenating/appending Microsoft Word
(.docx) files.
textproc/rubygem-bourbon: Add rubygem-bourbon 7.3.0
Bourbon is a library of Sass mixins and functions that are designed to make you
a more efficient style sheet author.
It is ...
- Dependency-free: Bourbon is pure Sass.
- Human-readable: We aim for clarity over brevity.
- Lightweight: Zero output post-install and has no visual opinion.
textproc/py-accessible-pygments: Add py-accessible-pygments 0.0.4
Accessible pygments themes includes a collection of accessible themes for
pygments based on multiple open-source syntax highlighting themes.
Note: What do we mean by accessible? In this context we are specially referring
to themes which meet the WCAG 2.1 criteria for color contrast. Some themes
included are also color-blind friendly.
textproc/py-mistletoe: Add py-mistletoe 1.0.1
mistletoe is a Markdown parser in pure Python, designed to be fast,
spec-compliant and fully customizable.
Apart from being the fastest CommonMark-compliant Markdown parser implementation
in pure Python, mistletoe also supports easy definitions of custom tokens.
Parsing Markdown into an abstract syntax tree also allows us to swap out
renderers for different output formats, without touching any of the core
components.
Remember to spell mistletoe in lowercase!
textproc/py-dialect: add port: Translation app for GNOME
A translation app for GNOME.
Features:
- Translation based on Google Translate
- Translation based on the LibreTranslate API, allowing you to use any
public instance
- Translation history
- Automatic language detection
- Text to speech
- Clipboard buttons
WWW: https://github.com/dialect-app/dialect
www/gitlab-ce: make it working with ruby 3.1
Ruby 3.1 did some breaking changes:
https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/
With the help of @yasu I added some work-arounds that should
make gitlab work again with ruby 3.1.
They can be removed after gitlab support ruby 3.1 upstream.
PR: 270252
textproc/code-minimap: New port textproc/code-minimap
A high performance code minimap render.
This tool [1] is for generating text minimaps at speed. You can use it
to implement IDE-like minimap plugin for a terminal text editor,
minimap.vim [2] for example.
[1] https://github.com/wfxr/code-minimap
[2] https://github.com/wfxr/minimap.vim
Submitter becomes maintainer. Already maintainer of other ports.
PR: 269951
textproc/choose: add port: Human-friendly and fast alternative to cut and
(sometimes) awk
This is choose, a human-friendly and fast alternative to cut and
(sometimes) awk.
Features
- terse field selection syntax similar to Python's list slices
- negative indexing from end of line
- optional start/end index
- zero-indexed
- reverse ranges
- aslightly faster than cut for sufficiently long inputs, much faster
than awk
- regular expression field separators using Rust's regex syntax
WWW: https://github.com/theryangeary/choose