e68d3b3032
v0.8.0: Merge pull request 121 from markrwilliams/sphinx-uses-setuptools-scm Retrieve Automat's version from the installed distribution.
25 lines
828 B
Makefile
25 lines
828 B
Makefile
# $NetBSD: Makefile,v 1.4 2020/01/23 10:20:22 adam Exp $
|
|
|
|
DISTNAME= Automat-0.8.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
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
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-m2r-[0-9]*:../../textproc/py-m2r
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
DEPENDS+= ${PYPKGPREFIX}-attrs>=16.1.0:../../devel/py-attrs
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} automat-visualize automat-visualize${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|