# $NetBSD: Makefile,v 1.10 2023/10/28 19:56:57 wiz Exp $ DISTNAME= Automat-22.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=A/Automat/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/glyph/Automat COMMENT= Self-service finite-state machines for the programmer on the go LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six # visualize option needs both next dependencies #DEPENDS+= ${PYPKGPREFIX}-graphviz>=0.5.2:../../graphics/py-graphviz # but this one is a circular dependency #DEPENDS+= ${PYPKGPREFIX}-twisted>=16.1.1:../../net/py-twisted USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} automat-visualize automat-visualize-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"