git: 826bd48ca341 - main - devel/ipython5: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 22:22:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=826bd48ca34136f9fab42d5086670a9141445934

commit 826bd48ca34136f9fab42d5086670a9141445934
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-30 22:01:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-30 22:01:39 +0000

    devel/ipython5: Remove obsoleted port
    
    Use devel/ipython instead
---
 devel/Makefile                      |  1 -
 devel/ipython5/Makefile             | 54 -------------------------------------
 devel/ipython5/distinfo             |  3 ---
 devel/ipython5/files/patch-setup.py | 26 ------------------
 devel/ipython5/pkg-descr            | 24 -----------------
 5 files changed, 108 deletions(-)

diff --git a/devel/Makefile b/devel/Makefile
index 1294c1fe36a8..5e855cc6596f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1033,7 +1033,6 @@
     SUBDIR += interactive_rebase_tool
     SUBDIR += ioncube
     SUBDIR += ipython
-    SUBDIR += ipython5
     SUBDIR += ireport
     SUBDIR += isa-l
     SUBDIR += isfreedesktop
diff --git a/devel/ipython5/Makefile b/devel/ipython5/Makefile
deleted file mode 100644
index f4393fd6091b..000000000000
--- a/devel/ipython5/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# Created by: Dryice Liu
-
-PORTNAME=	ipython
-PORTVERSION=	5.10.0
-PORTREVISION=	2
-CATEGORIES=	devel python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	5
-
-MAINTAINER=	python@FreeBSD.org
-COMMENT=	Enhanced Interactive Python shell
-
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/COPYING.rst
-
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>=2:databases/py-sqlite3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pickleshare>=0:databases/py-pickleshare@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prompt-toolkit1>=1.0.4<2.0.0:devel/py-prompt-toolkit1@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}simplegeneric>0.8:devel/py-simplegeneric@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}traitlets>=4.2:devel/py-traitlets@${PY_FLAVOR}
-
-USES=		cpe python:3.5+
-USE_PYTHON=	autoplist concurrent distutils
-USE_GCC=	yes # To be removed - Needed as a work-around for numpy, see PR ports/188114
-
-CONFLICTS_INSTALL=	py*-ipython
-
-NO_ARCH=	yes
-
-PORTEXAMPLES=	*
-
-OPTIONS_DEFINE=	EXAMPLES
-
-PORTSCOUT=	limit:^5\.
-
-post-install:
-	@${ECHO_CMD} "/EASY-INSTALL"	> ${WRKDIR}/ex.script
-	@${ECHO_CMD} "a"		>> ${WRKDIR}/ex.script
-	@${ECHO_CMD} "import os"	>> ${WRKDIR}/ex.script
-	@${ECHO_CMD} "os.environ[\"LD_LIBRARY_PATH\"]=\"${_GCC_RUNTIME}\"" >> ${WRKDIR}/ex.script
-	@${ECHO_CMD} "."		>> ${WRKDIR}/ex.script
-	@${ECHO_CMD} "x!"		>> ${WRKDIR}/ex.script
-	@for file in ${STAGEDIR}${PREFIX}/bin/*; do \
-		ex $${file} < ${WRKDIR}/ex.script > /dev/null; \
-	done
-
-post-install-EXAMPLES-on:
-	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.mk>
diff --git a/devel/ipython5/distinfo b/devel/ipython5/distinfo
deleted file mode 100644
index b0b89202658a..000000000000
--- a/devel/ipython5/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1588458911
-SHA256 (ipython-5.10.0.tar.gz) = d1f9e2d02bb0900ddef7b6af114aca3a5cf3dc43b9de1f19d37c4aedbc724fee
-SIZE (ipython-5.10.0.tar.gz) = 4978748
diff --git a/devel/ipython5/files/patch-setup.py b/devel/ipython5/files/patch-setup.py
deleted file mode 100644
index 531c27e28136..000000000000
--- a/devel/ipython5/files/patch-setup.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# Release pygments because devel/ipython5 is python:3.5+ now.
-# https://github.com/ipython/ipython/pull/12174
-#
-# This avoids some conflicts:
-# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250074
-# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250144
---- setup.py.orig	2020-05-01 18:12:21 UTC
-+++ setup.py
-@@ -182,7 +182,7 @@ extras_require = dict(
-     parallel = ['ipyparallel'],
-     qtconsole = ['qtconsole'],
-     doc = ['Sphinx>=1.3'],
--    test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments<2.6', 'nbformat', 'ipykernel'],
-+    test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel'],
-     terminal = [],
-     kernel = ['ipykernel'],
-     nbformat = ['nbformat'],
-@@ -197,7 +197,7 @@ install_requires = [
-     'simplegeneric>0.8',
-     'traitlets>=4.2',
-     'prompt_toolkit>=1.0.4,<2.0.0',
--    'pygments<2.6',
-+    'pygments',
- ]
- 
- # Platform-specific dependencies:
diff --git a/devel/ipython5/pkg-descr b/devel/ipython5/pkg-descr
deleted file mode 100644
index 32906ac35b35..000000000000
--- a/devel/ipython5/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-IPython is a free software project which tries to:
-
-   1. Provide an interactive shell superior to Python's
-      default. IPython has many features for object introspection,
-      system shell access, and its own special command system for
-      adding functionality when working interactively. It tries to be
-      a very efficient environment both for Python code development
-      and for exploration of problems using Python objects (in
-      situations like data analysis).
-
-   2. Serve as an embeddable, ready to use interpreter for your own
-      programs. IPython can be started with a single call from inside
-      another program, providing access to the current namespace. This
-      can be very useful both for debugging purposes and for
-      situations where a blend of batch-processing and interactive
-      exploration are needed.
-
-   3. Offer a flexible framework which can be used as the base
-      environment for other systems with Python as the underlying
-      language. Specifically scientific environments like Mathematica,
-      IDL and Mathcad inspired its design, but similar ideas can be
-      useful in many fields.
-
-WWW: https://ipython.org/