textproc/py-text2digits: add new port
Library to convert text numbers to digits in a string. PR: 282839
This commit is contained in:
parent
37e168201c
commit
5f7081f4b8
@ -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
|
||||
|
||||
29
textproc/py-text2digits/Makefile
Normal file
29
textproc/py-text2digits/Makefile
Normal 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>
|
||||
3
textproc/py-text2digits/distinfo
Normal file
3
textproc/py-text2digits/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1724809518
|
||||
SHA256 (text2digits-0.1.0.tar.gz) = a01d8dc8d57179d888ba589df40e02730f3bf2dd892ab22c37538e4799728bb2
|
||||
SIZE (text2digits-0.1.0.tar.gz) = 9113
|
||||
1
textproc/py-text2digits/pkg-descr
Normal file
1
textproc/py-text2digits/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
A small library to convert text numbers to digits in a string.
|
||||
Loading…
x
Reference in New Issue
Block a user