97f019090a
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.12/site-packages/installer/__main__.py", line 115, in <module>
_main(sys.argv[1:], "python -m installer")
File "/usr/local/lib/python3.12/site-packages/installer/__main__.py", line 100, in _main
with WheelFile.open(wheel) as source:
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/installer/sources.py", line 179, in open
with zipfile.ZipFile(path) as f:
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1352, in __init__
self.fp = io.open(file, filemode)
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/wrkdirs/usr/ports/textproc/py-mistune0/work-py312/mistune-0.8.4/dist/mistune-0.8.4*.whl'
*** Error code 1
Reference: https://pkg-status.freebsd.org/beefy23/data/150amd64-default/b669d2e5ce77/logs/py312-mistune0-0.8.4_2.log
36 lines
835 B
Makefile
36 lines
835 B
Makefile
PORTNAME= mistune0
|
|
PORTVERSION= 0.8.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= mistune-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Fastest markdown parser in pure Python
|
|
WWW= https://github.com/lepture/mistune
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
|
|
|
|
USES= cpe python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
CPE_VENDOR= mistune_project
|
|
|
|
PORTSCOUT= limit:^0\.
|
|
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/mistune.py ${WRKSRC}/mistune0.py
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v
|
|
|
|
.include <bsd.port.mk>
|