pkgsrc/shells/xonsh/Makefile
kamil 9ae1223d9b Import xonsh-0.4.5 as shells/xonsh
xonsh is a Python-ish, BASHwards-looking shell language and command prompt. The
language is a superset of Python 3.4+ with additional shell primitives. xonsh
(pronounced conch) is meant for the daily use of experts and novices alike.
2016-08-21 11:34:57 +00:00

29 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.1 2016/08/21 11:34:57 kamil Exp $
DISTNAME= xonsh-0.4.5
CATEGORIES= shells python
MASTER_SITES= ${MASTER_SITE_GITHUB:=xonsh/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xon.sh/
COMMENT= Python-ish, BASHwards-looking shell language and command prompt
LICENSE= 2-clause-bsd
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
DEPENDS+= ${PYPKGPREFIX}-ply-[0-9]*:../../devel/py-ply
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit-[0-9]*:../../devel/py-prompt_toolkit
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
PKG_SHELL= ${PREFIX}/bin/xon.sh
PKG_SHELL+= ${PREFIX}/bin/xonsh
SUBST_CLASSES+= xonsh
SUBST_STAGE.xonsh= post-patch
SUBST_FILES.xonsh= scripts/xon.sh
SUBST_SED.xonsh= -e 's,python3,${PYTHONBIN},'
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"