aboutsummaryrefslogtreecommitdiffstats
path: root/math/cadabra2
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2017-05-21 00:03:46 +0800
committertcberner <tcberner@FreeBSD.org>2017-05-21 00:03:46 +0800
commit0f345b3c5e167ead51bd9353f3879803bae1209a (patch)
tree5307f5b31dafd7c1b5bf19e6faf9f292868fe8c1 /math/cadabra2
parentc63dcb3dfb42dbfcb239f78bbbfc9e4dc52f7486 (diff)
downloadfreebsd-ports-gnome-0f345b3c5e167ead51bd9353f3879803bae1209a.tar.gz
freebsd-ports-gnome-0f345b3c5e167ead51bd9353f3879803bae1209a.tar.zst
freebsd-ports-gnome-0f345b3c5e167ead51bd9353f3879803bae1209a.zip
Update math/cadabra2 to 2.1.4
* Add patch patch-core_cadabra2.in, to get proper shebang in bin/cadabra2. PR: 218985 Submitted by: Yuri Victorovich <yuri@rawbw.com> Approved by: Yuri Victorovich (maintainer), rakuco (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D10761
Diffstat (limited to 'math/cadabra2')
-rw-r--r--math/cadabra2/Makefile3
-rw-r--r--math/cadabra2/distinfo6
-rw-r--r--math/cadabra2/files/patch-client__server_CMakeLists.txt8
-rw-r--r--math/cadabra2/files/patch-core_cadabra2.in8
-rw-r--r--math/cadabra2/pkg-plist7
5 files changed, 23 insertions, 9 deletions
diff --git a/math/cadabra2/Makefile b/math/cadabra2/Makefile
index 3e12258733a1..7d6dcb184ebd 100644
--- a/math/cadabra2/Makefile
+++ b/math/cadabra2/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= cadabra2
-PORTVERSION= 2.1.2
-PORTREVISION= 2
+PORTVERSION= 2.1.4
CATEGORIES= math
MAINTAINER= yuri@rawbw.com
diff --git a/math/cadabra2/distinfo b/math/cadabra2/distinfo
index d310c729e13c..fc2f19c9d230 100644
--- a/math/cadabra2/distinfo
+++ b/math/cadabra2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1486104650
-SHA256 (kpeeters-cadabra2-2.1.2_GH0.tar.gz) = d8e4c304b71ab2bc7109347197bf4f19fce9ccb7c2986ad07d56b43383697995
-SIZE (kpeeters-cadabra2-2.1.2_GH0.tar.gz) = 4444189
+TIMESTAMP = 1493518416
+SHA256 (kpeeters-cadabra2-2.1.4_GH0.tar.gz) = 89a8dc02f41fcb1061007fc87034975ba2a249ea8e03b2e5f035b8a123459559
+SIZE (kpeeters-cadabra2-2.1.4_GH0.tar.gz) = 4475773
diff --git a/math/cadabra2/files/patch-client__server_CMakeLists.txt b/math/cadabra2/files/patch-client__server_CMakeLists.txt
index e923876985b6..be87a8602c72 100644
--- a/math/cadabra2/files/patch-client__server_CMakeLists.txt
+++ b/math/cadabra2/files/patch-client__server_CMakeLists.txt
@@ -1,11 +1,11 @@
---- client_server/CMakeLists.txt.orig 2017-01-04 17:38:25 UTC
+--- client_server/CMakeLists.txt.orig 2017-04-14 09:26:53 UTC
+++ client_server/CMakeLists.txt
-@@ -86,21 +86,21 @@ add_definitions("-D_WEBSOCKETPP_CPP11_ST
+@@ -90,21 +90,21 @@ add_definitions("-D_WEBSOCKETPP_CPP11_ST
# Create the server library
#link_directories(${UUID_LIBRARY_DIRS})
--add_library(cadabra_server SHARED Server.cc Snoop.cc jsoncpp/jsoncpp.cpp)
-+add_library(cadabra_server SHARED Server.cc Snoop.cc)
+-add_library(cadabra_server SHARED Server.cc Snoop.cc jsoncpp/jsoncpp.cpp ../core/CdbPython.cc ../core/Stopwatch.cc ../core/ProgressMonitor.cc)
++add_library(cadabra_server SHARED Server.cc Snoop.cc ../core/CdbPython.cc ../core/Stopwatch.cc ../core/ProgressMonitor.cc)
target_link_libraries(cadabra_server ${Boost_LIBRARIES} ${SNOOP_LIBRARIES} sqlite3 ${PYTHON_LIBRARIES} ${GLIBMM3_LIBRARIES})
if (WIN32)
target_link_libraries(cadabra_server ws2_32 mswsock)
diff --git a/math/cadabra2/files/patch-core_cadabra2.in b/math/cadabra2/files/patch-core_cadabra2.in
new file mode 100644
index 000000000000..994399e0f05f
--- /dev/null
+++ b/math/cadabra2/files/patch-core_cadabra2.in
@@ -0,0 +1,8 @@
+--- core/cadabra2.in.orig 2017-05-17 08:17:17 UTC
++++ core/cadabra2.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python@PYTHON_POSTFIX@
++#!@PYTHON_EXECUTABLE@
+ #
+ # \ingroup pythoncore
+ #
diff --git a/math/cadabra2/pkg-plist b/math/cadabra2/pkg-plist
index 11eae1b1402c..7f34212b0450 100644
--- a/math/cadabra2/pkg-plist
+++ b/math/cadabra2/pkg-plist
@@ -2,6 +2,7 @@
bin/cadabra-server
bin/cadabra2
bin/cadabra2html
+bin/cadabra2python
lib/libcadabra_client.so
lib/libcadabra_server.so
%%GUI%%lib/libtexengine.so
@@ -46,11 +47,13 @@ lib/libcadabra_server.so
%%GUI%%%%DATADIR%%/manual/algorithms/integrate_by_parts.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/join_gamma.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/keep_weight.cnb
+%%GUI%%%%DATADIR%%/manual/algorithms/lr_tensor.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/product_rule.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/reduce_delta.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/rename_dummies.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/rewrite_indices.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/sort_product.cnb
+%%GUI%%%%DATADIR%%/manual/algorithms/sort_spinors.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/sort_sum.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/split_gamma.cnb
%%GUI%%%%DATADIR%%/manual/algorithms/split_index.cnb
@@ -94,5 +97,9 @@ lib/libcadabra_server.so
%%GUI%%%%DATADIR%%/manual/properties/SortOrder.cnb
%%GUI%%%%DATADIR%%/manual/properties/Spinor.cnb
%%GUI%%%%DATADIR%%/manual/properties/Symmetric.cnb
+%%GUI%%%%DATADIR%%/manual/properties/Tableau.cnb
%%GUI%%%%DATADIR%%/manual/properties/TableauSymmetry.cnb
+%%GUI%%%%DATADIR%%/manual/properties/WeightInherit.cnb
+%%GUI%%%%DATADIR%%/notebook.html
+%%GUI%%%%DATADIR%%/notebook.tex
%%GUI%%%%DATADIR%%/texengine/preamble.tex