diff --git a/cad/py-amaranth/Makefile b/cad/py-amaranth/Makefile index 65ffd96648e4..c315c54660c7 100644 --- a/cad/py-amaranth/Makefile +++ b/cad/py-amaranth/Makefile @@ -1,52 +1,55 @@ PORTNAME= amaranth DISTVERSIONPREFIX= v -DISTVERSION= 0.5.2 +DISTVERSION= 0.5.3 CATEGORIES= cad python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Amaranth hardware definition language -WWW= https://amaranth-lang.org/docs/amaranth/latest/ +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) + .include diff --git a/cad/py-amaranth/distinfo b/cad/py-amaranth/distinfo index a444e1f52833..3dd8bb48fe79 100644 --- a/cad/py-amaranth/distinfo +++ b/cad/py-amaranth/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725599508 -SHA256 (amaranth-lang-amaranth-v0.5.2_GH0.tar.gz) = 08e2659eb904475d7910e7679e80f9a3f89efda3c80c6e6f4699874dadab052e -SIZE (amaranth-lang-amaranth-v0.5.2_GH0.tar.gz) = 746629 +TIMESTAMP = 1734163813 +SHA256 (amaranth-lang-amaranth-v0.5.3_GH0.tar.gz) = fa4ab52ad52bf03aed23184672005b040fbbec6f2e514f8a4501734aa8d473de +SIZE (amaranth-lang-amaranth-v0.5.3_GH0.tar.gz) = 748492