blob: f5dc6896dcad5a1ccd3d21431535487a21a592d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.68 2021/12/30 13:05:30 adam Exp $
DISTNAME= ipython-7.30.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/ipython/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ipython.org/
COMMENT= Interactive computing environment for Python
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-backcall-[0-9]*:../../devel/py-backcall
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
DEPENDS+= ${PYPKGPREFIX}-jedi>=0.16:../../editors/py-jedi
DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
DEPENDS+= ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit>=3.0.2:../../devel/py-prompt_toolkit
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-setuptools>=18.5:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.2:../../devel/py-traitlets
# TODO: matplotlib-inline
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == Darwin
DEPENDS+= ${PYPKGPREFIX}-appnope-[0-9]*:../../sysutils/py-appnope
.endif
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX} && \
${RM} bin/iptest3 bin/ipython3 && \
${MV} bin/iptest bin/iptest-${PYVERSSUFFIX} && \
${MV} bin/ipython bin/ipython-${PYVERSSUFFIX} && \
${MV} ${PKGMANDIR}/man1/ipython.1 ${PKGMANDIR}/man1/ipython-${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
|