diff --git a/devel/shedskin/Makefile b/devel/shedskin/Makefile index e234ad9baae6..e67109f4be8d 100644 --- a/devel/shedskin/Makefile +++ b/devel/shedskin/Makefile @@ -1,47 +1,48 @@ PORTNAME= shed-skin DISTVERSIONPREFIX= v DISTVERSION= 0.9.10 CATEGORIES= devel python #MASTER_SITES= PYPI # no test files DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Restricted Python-to-C++ compiler -WWW= https://shedskin.github.io/ +WWW= https://shedskin.github.io/ \ + https://github.com/shedskin/shedskin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= boehm-gc>0:devel/boehm-gc \ pcre>0:devel/pcre USES= python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= shedskin GH_PROJECT= shedskin NO_ARCH= yes TEST_WRKSRC= ${WRKSRC}/tests post-extract: @${RM} ${WRKSRC}/tests/test_ops_assignment/test_ops_assignment.py.orig post-patch: # adjust FLAGS placed into generated makefiles @${REINPLACE_CMD} -e ' \ s|^CXX?=.*|CXX?=${CXX}|; \ s|^CXXFLAGS?=.*|& -I${PREFIX}/include |; \ s|^LFLAGS=.*|& -L${PREFIX}/lib |; \ ' ${WRKSRC}/shedskin/resources/flags/FLAGS # adjust pyproject.toml for the difference between GH and PYPI tarballs @${REINPLACE_CMD} \ -e 's/name = "shedskin"/name = "shed-skin"/' \ ${WRKSRC}/pyproject.toml # tests as of 0.9.10: 2 failed, 627 passed in 343.34s (0:05:43), AttributeError: module 'itertools' has no attribute 'batched', see https://github.com/shedskin/shedskin/issues/555 .include