pkgsrc/lang/py-pythonz/Makefile

29 lines
909 B
Makefile

# $NetBSD: Makefile,v 1.16 2022/01/05 20:07:10 wiz Exp $
DISTNAME= pythonz-1.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= lang python
MASTER_SITES= https://github.com/saghul/pythonz/archive/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/saghul/pythonz/
COMMENT= Installation manager supporting CPython, Stackless, PyPy and Jython
LICENSE= mit
WRKSRC= ${WRKDIR}/pythonz-${DISTNAME}
USE_LANGUAGES= # none
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.2.1
USE_PKG_RESOURCES= yes
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/pythonz \
${DESTDIR}${PREFIX}/bin/pythonz${PYVERSSUFFIX} || ${TRUE}
${MV} ${DESTDIR}${PREFIX}/bin/pythonz_install \
${DESTDIR}${PREFIX}/bin/pythonz_install${PYVERSSUFFIX} || ${TRUE}
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/pythonz/patches/osx/python25/*
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"