c730da1958
IPython 5.8.0 * Update inspecting function/methods for future-proofing.
39 lines
1.5 KiB
Makefile
39 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2018/08/04 09:29:59 adam Exp $
|
|
|
|
DISTNAME= ipython-5.8.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=i/ipython/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ipython.org/
|
|
COMMENT= Interactive computing environment for Python
|
|
LICENSE= modified-bsd
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
|
|
.if ${PYPKGPREFIX} == py27
|
|
DEPENDS+= ${PYPKGPREFIX}-backports.shutil_get_terminal_size-[0-9]*:../../devel/py-backports.shutil_get_terminal_size
|
|
DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
|
|
DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir
|
|
.endif
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
|
|
DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
|
|
DEPENDS+= ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
|
|
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit>=1.0.4:../../devel/py-prompt_toolkit
|
|
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
|
|
DEPENDS+= ${PYPKGPREFIX}-setuptools>=18.5:../../devel/py-setuptools
|
|
DEPENDS+= ${PYPKGPREFIX}-simplegeneric>0.8:../../devel/py-simplegeneric
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.2:../../devel/py-traitlets
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
${MV} bin/iptest bin/iptest${PYVERSSUFFIX} && \
|
|
${MV} bin/ipython bin/ipython${PYVERSSUFFIX} && \
|
|
${MV} ${PKGMANDIR}/man1/ipython.1 ${PKGMANDIR}/man1/ipython${PYVERSSUFFIX}.1 || ${TRUE}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|