1
0
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:
Kai Knoblich 2023-03-21 13:20:12 +01:00
parent b22bbf56e9
commit bc7952b481
2 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= pyahocorasick
DISTVERSION= 1.4.4
DISTVERSION= 2.0.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,7 +12,9 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
USE_PYTHON= autoplist concurrent distutils pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
PORTDOCS= README.rst
@ -25,7 +27,4 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} unittests.py
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1671450684
SHA256 (pyahocorasick-1.4.4.tar.gz) = 32545cad135660ceef556f1d987aee3206e00096735405d7a8de84eb0a15bb27
SIZE (pyahocorasick-1.4.4.tar.gz) = 95127
TIMESTAMP = 1679233563
SHA256 (pyahocorasick-2.0.0.tar.gz) = 2985cac6d99c0e9165617fe154b4db0b50c4c2819791c2ad5f0aac0c6a6e58c5
SIZE (pyahocorasick-2.0.0.tar.gz) = 99662