diff --git a/cad/py-amaranth/Makefile b/cad/py-amaranth/Makefile index c315c54660c7..bec064c3c9b7 100644 --- a/cad/py-amaranth/Makefile +++ b/cad/py-amaranth/Makefile @@ -1,55 +1,55 @@ PORTNAME= amaranth DISTVERSIONPREFIX= v -DISTVERSION= 0.5.3 +DISTVERSION= 0.5.4 CATEGORIES= cad python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Amaranth hardware definition language WWW= https://amaranth-lang.org/docs/amaranth/latest/ \ https://github.com/amaranth-lang/amaranth LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jschon>=0.11.1:devel/py-jschon@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyvcd>=0.2.2:cad/py-pyvcd@${PY_FLAVOR} TEST_DEPENDS= sby:cad/symbiyosys \ yosys:cad/yosys USES= python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= amaranth-lang NO_ARCH= yes MAKE_ENV= PDM_BUILD_SCM_VERSION=${DISTVERSION} # this allows to build from a tarball (otherwise PDM wouldn't be able to determine the version) TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} do-install: # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272771 @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD} @${PYTHON_CMD} -B ${PORTSDIR}/Mk/Scripts/strip_RECORD.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME:C|[-_]+|_|g}-${DISTVERSION:S/-/.post/}*.dist-info/RECORD >> ${_PYTHONPKGLIST} @${REINPLACE_CMD} \ -e '/\.pyc$$/d' \ -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../bin/|bin/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../include/|include/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../lib/|lib/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libdata/|libdata/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libexec/|libexec/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../man/|man/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../sbin/|sbin/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../share/|share/|' \ ${_PYTHONPKGLIST} @cd ${STAGEDIR}${PREFIX} && ${FIND} lib -name '*.pyc' >> ${_PYTHONPKGLIST} -# tests as of 0.5.3: 1187 passed, 3 warnings in 76.94s (0:01:16) +# tests as of 0.5.4: 1186 passed, 3 warnings in 50.72s .include diff --git a/cad/py-amaranth/distinfo b/cad/py-amaranth/distinfo index 3dd8bb48fe79..f79a6150b865 100644 --- a/cad/py-amaranth/distinfo +++ b/cad/py-amaranth/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1734163813 -SHA256 (amaranth-lang-amaranth-v0.5.3_GH0.tar.gz) = fa4ab52ad52bf03aed23184672005b040fbbec6f2e514f8a4501734aa8d473de -SIZE (amaranth-lang-amaranth-v0.5.3_GH0.tar.gz) = 748492 +TIMESTAMP = 1734408752 +SHA256 (amaranth-lang-amaranth-v0.5.4_GH0.tar.gz) = 9af1bf415ce41f6e97f95d66e30c8bbf6f551d6628962fb44afecec0a7a35b45 +SIZE (amaranth-lang-amaranth-v0.5.4_GH0.tar.gz) = 748517