textproc/py-bistring: Add py-bistring 0.5.0
The bistring library provides non-destructive versions of common string processing operations like normalization, case folding, and find/replace. Each bistring remembers the original string, and how its substrings map to substrings of the modified version.
This commit is contained in:
@@ -1321,6 +1321,7 @@
|
||||
SUBDIR += py-awesome-slugify
|
||||
SUBDIR += py-backrefs
|
||||
SUBDIR += py-bibtexparser
|
||||
SUBDIR += py-bistring
|
||||
SUBDIR += py-bracex
|
||||
SUBDIR += py-cchardet
|
||||
SUBDIR += py-chameleon
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
PORTNAME= bistring
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Bidirectionally transformed strings
|
||||
WWW= https://bistring.readthedocs.io/en/latest/ \
|
||||
https://github.com/microsoft/bistring
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=0:devel/py-pyicu@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1745936012
|
||||
SHA256 (bistring-0.5.0.tar.gz) = ac3f583d720d41fade1762894fe3b43711b75146d6230b1b9bfe23776774b8e8
|
||||
SIZE (bistring-0.5.0.tar.gz) = 19592
|
||||
@@ -0,0 +1,10 @@
|
||||
--- setup.py.orig 2022-03-14 19:32:46 UTC
|
||||
+++ setup.py
|
||||
@@ -43,7 +43,6 @@ setup(
|
||||
test_suite='tests',
|
||||
python_requires='>=3.7',
|
||||
setup_requires=[
|
||||
- 'pytest-runner',
|
||||
],
|
||||
install_requires=[
|
||||
'pyicu',
|
||||
@@ -0,0 +1,4 @@
|
||||
The bistring library provides non-destructive versions of common string
|
||||
processing operations like normalization, case folding, and find/replace. Each
|
||||
bistring remembers the original string, and how its substrings map to substrings
|
||||
of the modified version.
|
||||
Reference in New Issue
Block a user