ports/textproc/py-text2digits/Makefile
Matthew Wener 5f7081f4b8 textproc/py-text2digits: add new port
Library to convert text numbers to digits in a string.

PR:	282839
2024-11-21 16:19:01 +01:00

29 lines
644 B
Makefile

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>