pkgsrc/lang/py-hy/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

31 lines
905 B
Makefile

# $NetBSD: Makefile,v 1.11 2022/01/04 20:54:08 wiz Exp $
DISTNAME= hy-0.20.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hy/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.hylang.org/
COMMENT= Lisp and Python love each other
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-astor>=0.8:../../devel/py-astor
DEPENDS+= ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
DEPENDS+= ${PYPKGPREFIX}-funcparserlib>=0.3.6:../../devel/py-funcparserlib
DEPENDS+= ${PYPKGPREFIX}-rply>=0.7.7:../../devel/py-rply
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${RM} hy[23] hy2py[23] hyc[23] && \
${MV} hy hy-${PYVERSSUFFIX} && \
${MV} hy2py hy2py-${PYVERSSUFFIX} && \
${MV} hyc hyc-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"