blob: 55811ccd05eb14cf88b8c39ac75c4cf34250037e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= TatSu
DISTVERSIONPREFIX= v
DISTVERSION= 5.13.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
MAINTAINER= yuri@FreeBSD.org
COMMENT= Generate Python parsers from grammars in a variation of EBNF
WWW= https://tatsu.readthedocs.io/en/stable/ \
https://github.com/neogeny/TatSu
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.11+
USE_PYTHON= pep517 concurrent autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= neogeny
NO_ARCH= yes
POST_PLIST+= fix-plist
post-install: # workaround https://github.com/neogeny/TatSu/issues/333
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/test
fix-plist:
${REINPLACE_CMD} -e 's|^.*/test/.*$$||' ${TMPPLIST}
# tests as of version 5.13.1: 141 passed, 2 skipped in 71.02s (0:01:11)
.include <bsd.port.mk>
|