mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
textproc/py-pyahocorasick: Update to 2.0.0
* Sort USE_PYTHON and switch to USE_PYTHON=pytest to simplify "do-test" target. Changelog: https://github.com/WojciechMula/pyahocorasick/releases/tag/2.0.0
This commit is contained in:
parent
b22bbf56e9
commit
bc7952b481
@ -1,5 +1,5 @@
|
|||||||
PORTNAME= pyahocorasick
|
PORTNAME= pyahocorasick
|
||||||
DISTVERSION= 1.4.4
|
DISTVERSION= 2.0.0
|
||||||
CATEGORIES= textproc python
|
CATEGORIES= textproc python
|
||||||
MASTER_SITES= PYPI
|
MASTER_SITES= PYPI
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
@ -12,7 +12,9 @@ LICENSE= BSD3CLAUSE
|
|||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
USES= python:3.6+
|
USES= python:3.6+
|
||||||
USE_PYTHON= distutils concurrent autoplist
|
USE_PYTHON= autoplist concurrent distutils pytest
|
||||||
|
|
||||||
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||||
|
|
||||||
PORTDOCS= README.rst
|
PORTDOCS= README.rst
|
||||||
|
|
||||||
@ -25,7 +27,4 @@ post-install-DOCS-on:
|
|||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||||
|
|
||||||
do-test:
|
|
||||||
@cd ${WRKSRC} && ${PYTHON_CMD} unittests.py
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1671450684
|
TIMESTAMP = 1679233563
|
||||||
SHA256 (pyahocorasick-1.4.4.tar.gz) = 32545cad135660ceef556f1d987aee3206e00096735405d7a8de84eb0a15bb27
|
SHA256 (pyahocorasick-2.0.0.tar.gz) = 2985cac6d99c0e9165617fe154b4db0b50c4c2819791c2ad5f0aac0c6a6e58c5
|
||||||
SIZE (pyahocorasick-1.4.4.tar.gz) = 95127
|
SIZE (pyahocorasick-2.0.0.tar.gz) = 99662
|
||||||
|
Loading…
Reference in New Issue
Block a user