BSD Ports

textproc/py-backrefs 8.2 MidnightBSD

Wrapper around re and regex that adds additional back references

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
d5dd1d1c06
License
mit
Categories
textproc, python

Description

Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex library.

Backrefs adds various additional back references (and a couple other features) that are known to some regular expression engines, but not to Python's Re and/or Regex. The supported back references actually vary depending on the regular expression engine being used as the engine may already have support for some.

In the other systems

The newest version among them is 8.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDtextproc/py-backrefs8.2 behind since 2026-11-12no data-[email protected]2026-11-12
FreeBSDtextproc/py-backrefs8.3 newestnone known-[email protected]2026-11-14
DragonFlytextproc/py-backrefs8.0 behind since 2026-10-27none known-[email protected]-
HardenedBSDtextproc/py-backrefs8.0 behind since 2026-10-27no data-[email protected]-
GhostBSDtextproc/py-backrefs8.1 behind since 2026-11-04no data-[email protected]-

Version history 1

  1. 8.2 d5dd1d1c06

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}backrefs

From mports:

cd /usr/mports/textproc/py-backrefs && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backrefs>0:textproc/py-backrefs

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Test 1

Build dependencies 1

Configuration

Options name: textproc_backrefs

OptionDefaultDescription
EXTRASonSupport for bregex (a wrapper for the external Regex library)
USES
python:3.11+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
backrefs-8.2.tar.gz7.003472e+063d464a90603d682006ad6fc4694bee8eeeea1506805e3783b3e6f4462cfe9d84
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
d5dd1d1c06 Lucas Holt textproc/py-backrefs: add 8.2 regex back-reference helpers
AI-Assisted-by: GPT-6 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>