pkgsrc/www/py-twill/Makefile
2017-09-16 19:26:41 +00:00

27 lines
793 B
Makefile

# $NetBSD: Makefile,v 1.12 2017/09/16 19:27:24 wiz Exp $
DISTNAME= twill-1.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= python www
MASTER_SITES= ${MASTER_SITE_PYPI:=t/twill/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://twill.idyll.org/
COMMENT= Python package for the twill Web browsing language
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # setup fails for 1.8.0
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/twill-fork \
${DESTDIR}${PREFIX}/bin/twill-fork${PYVERSSUFFIX} || ${TRUE}
${MV} ${DESTDIR}${PREFIX}/bin/twill-sh \
${DESTDIR}${PREFIX}/bin/twill-sh${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"