git: 5f7081f4b8a8 - main - textproc/py-text2digits: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Nov 2024 15:22:07 UTC
The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f7081f4b8a8b486eb94623b9dcdb675f242e7e1 commit 5f7081f4b8a8b486eb94623b9dcdb675f242e7e1 Author: Matthew Wener <matthew@wener.org> AuthorDate: 2024-11-21 15:16:31 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2024-11-21 15:19:01 +0000 textproc/py-text2digits: add new port Library to convert text numbers to digits in a string. PR: 282839 --- textproc/Makefile | 1 + textproc/py-text2digits/Makefile | 29 +++++++++++++++++++++++++++++ textproc/py-text2digits/distinfo | 3 +++ textproc/py-text2digits/pkg-descr | 1 + 4 files changed, 34 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 4dab3bca88b0..68fc02a0dcfe 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-text2digits/Makefile b/textproc/py-text2digits/Makefile new file mode 100644 index 000000000000..ff849a25dc7a --- /dev/null +++ b/textproc/py-text2digits/Makefile @@ -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> diff --git a/textproc/py-text2digits/distinfo b/textproc/py-text2digits/distinfo new file mode 100644 index 000000000000..46a5fcef7fd6 --- /dev/null +++ b/textproc/py-text2digits/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (text2digits-0.1.0.tar.gz) = a01d8dc8d57179d888ba589df40e02730f3bf2dd892ab22c37538e4799728bb2 +SIZE (text2digits-0.1.0.tar.gz) = 9113 diff --git a/textproc/py-text2digits/pkg-descr b/textproc/py-text2digits/pkg-descr new file mode 100644 index 000000000000..76e1f7ea00b3 --- /dev/null +++ b/textproc/py-text2digits/pkg-descr @@ -0,0 +1 @@ +A small library to convert text numbers to digits in a string.