aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-12-02 12:54:17 +0000
committerRene Ladan <rene@FreeBSD.org>2023-12-02 12:54:17 +0000
commitd6143c249cc22e44dd2482c1e0f03c853694117a (patch)
treed1f973dd31590ed1f2952a201ac5ca068589a020
parent39955d38ad814580c39316a8b78e30692715e6e3 (diff)
downloadports-d6143c2.tar.gz
ports-d6143c2.zip
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
-rw-r--r--MOVED1
-rw-r--r--math/Makefile1
-rw-r--r--math/py-piranha/Makefile49
-rw-r--r--math/py-piranha/distinfo3
-rw-r--r--math/py-piranha/files/patch-CMakeLists.txt11
-rw-r--r--math/py-piranha/files/patch-cmake__modules_yacma_YACMAPythonSetup.cmake13
-rw-r--r--math/py-piranha/pkg-descr8
-rw-r--r--math/py-piranha/pkg-plist12
8 files changed, 1 insertions, 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