git: d6143c249cc2 - main - math/py-piranha: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 12:54:28 UTC
The branch main has been updated by rene:

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

commit d6143c249cc22e44dd2482c1e0f03c853694117a
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-12-02 12:54:17 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-12-02 12:54:17 +0000

    math/py-piranha: Remove expired port
    
    2023-11-30 math/py-piranha: BROKEN for more than a year and last upstream activity was in 2018
---
 MOVED                                              |  1 +
 math/Makefile                                      |  1 -
 math/py-piranha/Makefile                           | 49 ----------------------
 math/py-piranha/distinfo                           |  3 --
 math/py-piranha/files/patch-CMakeLists.txt         | 11 -----
 ...tch-cmake__modules_yacma_YACMAPythonSetup.cmake | 13 ------
 math/py-piranha/pkg-descr                          |  8 ----
 math/py-piranha/pkg-plist                          | 12 ------
 8 files changed, 1 insertion(+), 97 deletions(-)

diff --git a/MOVED b/MOVED
index 58d753b100d0..622031b5a344 100644
--- a/MOVED
+++ b/MOVED
@@ -8137,3 +8137,4 @@ sysutils/gtk-imonc||2023-12-02|Has expired: BROKEN for more than 2 years
 audio/gradio||2023-12-02|Has expired: BROKEN for more than a year
 java/wildfly13||2023-12-02|Has expired: End of life upstream
 astro/xeartk||2023-12-02|Has expired: Depends on expired astro/tkgeomap
+math/py-piranha||2023-12-02|Has expired: BROKEN for more than a year and last upstream activity was in 2018
diff --git a/math/Makefile b/math/Makefile
index 7dbcbb77f5f7..0b17fce774c6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1006,7 +1006,6 @@
     SUBDIR += py-pdal
     SUBDIR += py-permutation
     SUBDIR += py-petsc4py
-    SUBDIR += py-piranha
     SUBDIR += py-plastex
     SUBDIR += py-point-annotator
     SUBDIR += py-pplpy
diff --git a/math/py-piranha/Makefile b/math/py-piranha/Makefile
deleted file mode 100644
index baaa62dd5667..000000000000
--- a/math/py-piranha/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-PORTNAME=	piranha
-DISTVERSIONPREFIX=	v
-DISTVERSION=	0.11
-PORTREVISION=	9
-CATEGORIES=	math
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	Python binding for Piranha, the computer algebra system
-WWW=		https://github.com/bluescarni/piranha
-
-LICENSE=	GPLv3 LGPL3
-LICENSE_COMB=	dual
-LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING.gpl3
-LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING.lgpl3
-
-DEPRECATED=	BROKEN for more than a year and last upstream activity was in 2018
-EXPIRATION_DATE=	2023-11-30
-BROKEN=		does not build: src/real.hpp:811:11: error: expected unqualified-id
-
-BUILD_DEPENDS=	${LOCALBASE}/include/piranha/piranha.hpp:math/${PORTNAME}
-LIB_DEPENDS=	libboost_iostreams.so:devel/boost-libs \
-		libgmp.so:math/gmp \
-		libmpfr.so:math/mpfr \
-		${PY_BOOST}
-
-USES=		cmake compiler:c++14-lang python
-USE_GITHUB=	yes
-GH_ACCOUNT=	bluescarni
-USE_PYTHON=	flavors
-
-PYTHON_SUFFIX_LETTER=	${PYTHON_VER:C/^3.[67]/m/:C/^3.[89]//}
-
-CMAKE_ON=	BUILD_PYRANHA
-CMAKE_OFF=	PIRANHA_INSTALL_HEADERS
-CMAKE_ARGS=	-DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD} \
-		-DPYTHON_LIBRARIES:STRING=${LOCALBASE}/lib/libpython${PYTHON_VER}${PYTHON_SUFFIX_LETTER}.so \
-		-DPYTHON_INCLUDE_DIRS:STRING=${LOCALBASE}/include/python${PYTHON_VER}${PYTHON_SUFFIX_LETTER} \
-		-DPYTHONLIBS_VERSION_STRING:STRING=${PYTHON_VER} \
-		-DPYTHON_VERSION_MAJOR:STRING=${PYTHON_MAJOR_VER} \
-		-DPYTHON_VERSION_MINOR:STRING=${PYTHON_VER:C/[0-9]\.//}
-
-post-patch: # FIND_PACKAGE(Boost) only supports modules python and python3
-	@${REINPLACE_CMD} -e 's|$${REQUIRED_BOOST_LIBS} python)|$${REQUIRED_BOOST_LIBS} python${PYTHON_MAJOR_VER:S/2//})|' ${WRKSRC}/CMakeLists.txt
-
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyranha/_core*.so
-
-.include <bsd.port.mk>
diff --git a/math/py-piranha/distinfo b/math/py-piranha/distinfo
deleted file mode 100644
index 5f3a95cab257..000000000000
--- a/math/py-piranha/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1526484218
-SHA256 (bluescarni-piranha-v0.11_GH0.tar.gz) = ab5782696a40888726c752c06a4b60783eda28ee4736b56083b96a53fd9a6230
-SIZE (bluescarni-piranha-v0.11_GH0.tar.gz) = 821345
diff --git a/math/py-piranha/files/patch-CMakeLists.txt b/math/py-piranha/files/patch-CMakeLists.txt
deleted file mode 100644
index 67ab069697e5..000000000000
--- a/math/py-piranha/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig	2018-03-30 18:21:52 UTC
-+++ CMakeLists.txt
-@@ -196,7 +196,7 @@ IF(USE_TCMALLOC AND CMAKE_BUILD_TYPE STR
- ENDIF()
- 
- # Try to determine the git revision.
--find_package(Git)
-+#find_package(Git)
- if(Git_FOUND)
- 	message(STATUS "Git executable: ${GIT_EXECUTABLE}")
- 	execute_process(COMMAND ${GIT_EXECUTABLE} "log" "--no-color" "-n1" "--date=short" "--pretty=format:%H" WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} OUTPUT_VARIABLE PIRANHA_GIT_REVISION OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
diff --git a/math/py-piranha/files/patch-cmake__modules_yacma_YACMAPythonSetup.cmake b/math/py-piranha/files/patch-cmake__modules_yacma_YACMAPythonSetup.cmake
deleted file mode 100644
index c57ca35940e1..000000000000
--- a/math/py-piranha/files/patch-cmake__modules_yacma_YACMAPythonSetup.cmake
+++ /dev/null
@@ -1,13 +0,0 @@
---- cmake_modules/yacma/YACMAPythonSetup.cmake.orig	2018-03-30 18:25:11 UTC
-+++ cmake_modules/yacma/YACMAPythonSetup.cmake
-@@ -6,8 +6,8 @@ endif()
- include(YACMACompilerLinkerSettings)
- 
- # Find Python interpreter and libraries. This is the order suggested by CMake's documentation.
--find_package(PythonInterp REQUIRED)
--find_package(PythonLibs REQUIRED)
-+#find_package(PythonInterp REQUIRED)
-+#find_package(PythonLibs REQUIRED)
- message(STATUS "Python interpreter: ${PYTHON_EXECUTABLE}")
- message(STATUS "Python libraries: ${PYTHON_LIBRARIES}")
- message(STATUS "Python include dirs: ${PYTHON_INCLUDE_DIRS}")
diff --git a/math/py-piranha/pkg-descr b/math/py-piranha/pkg-descr
deleted file mode 100644
index 3675294f438e..000000000000
--- a/math/py-piranha/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Piranha is a computer-algebra library for the symbolic manipulation of sparse
-multivariate polynomials and other closely-related symbolic objects (such as
-Poisson series).
-
-Piranha is written in modern C++, with emphasis on portability, correctness and
-performance. Piranha also includes a set of optional bindings for the Python
-programming language, called Pyranha, that allow to use the library in an
-interactive and script-oriented way.
diff --git a/math/py-piranha/pkg-plist b/math/py-piranha/pkg-plist
deleted file mode 100644
index 01e67f0f2d25..000000000000
--- a/math/py-piranha/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-%%PYTHON_SITELIBDIR%%/pyranha/__init__.py
-%%PYTHON_SITELIBDIR%%/pyranha/_common.py
-%%PYTHON_SITELIBDIR%%/pyranha/_core.so
-%%PYTHON_SITELIBDIR%%/pyranha/_tutorial/__init__.py
-%%PYTHON_SITELIBDIR%%/pyranha/_tutorial/hello_piranha.py
-%%PYTHON_SITELIBDIR%%/pyranha/_tutorial/integer.py
-%%PYTHON_SITELIBDIR%%/pyranha/_tutorial/rational.py
-%%PYTHON_SITELIBDIR%%/pyranha/_version.py
-%%PYTHON_SITELIBDIR%%/pyranha/celmec.py
-%%PYTHON_SITELIBDIR%%/pyranha/math.py
-%%PYTHON_SITELIBDIR%%/pyranha/test.py
-%%PYTHON_SITELIBDIR%%/pyranha/types.py