textproc/py-text2digits: add new port

Library to convert text numbers to digits in a string.

PR:	282839
This commit is contained in:
Matthew Wener 2024-11-21 16:16:31 +01:00 committed by Dries Michiels
parent 37e168201c
commit 5f7081f4b8
4 changed files with 34 additions and 0 deletions

View file

@ -1661,6 +1661,7 @@
SUBDIR += py-tabletext
SUBDIR += py-tablib
SUBDIR += py-terminaltables
SUBDIR += py-text2digits
SUBDIR += py-textdistance
SUBDIR += py-textfsm
SUBDIR += py-textract

View file

@ -0,0 +1,29 @@
PORTNAME= text2digits
PORTVERSION= 0.1.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@wener.org
COMMENT= Small library to convert text numbers to digits in a string
WWW= https://github.com/ShailChoksi/text2digits
LICENSE= MIT
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>=:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
PORTDOCS= PKG-INFO README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1724809518
SHA256 (text2digits-0.1.0.tar.gz) = a01d8dc8d57179d888ba589df40e02730f3bf2dd892ab22c37538e4799728bb2
SIZE (text2digits-0.1.0.tar.gz) = 9113

View file

@ -0,0 +1 @@
A small library to convert text numbers to digits in a string.