diff options
author | brobr <sborg63@disroot.org> | 2024-10-12 00:28:57 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-12 09:40:53 +0700 |
commit | 0a27b527143a7006666e179c3300bffff7225020 (patch) | |
tree | d5ed88ccf5a481e2268d0544ef3edf7debe0f560 | |
parent | 117e793118e7de7df7ff09ce16f831b5832db7af (diff) | |
download | slackbuilds-0a27b527143a7006666e179c3300bffff7225020.tar.gz slackbuilds-0a27b527143a7006666e179c3300bffff7225020.tar.xz |
academic/ViennaRNA: Updated to version 2.7.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | academic/ViennaRNA/ViennaRNA.SlackBuild | 4 | ||||
-rw-r--r-- | academic/ViennaRNA/ViennaRNA.info | 6 | ||||
-rw-r--r-- | academic/ViennaRNA/swig_4.2.0.txt | 22 |
3 files changed, 4 insertions, 28 deletions
diff --git a/academic/ViennaRNA/ViennaRNA.SlackBuild b/academic/ViennaRNA/ViennaRNA.SlackBuild index aecfae4f20..086382ee53 100644 --- a/academic/ViennaRNA/ViennaRNA.SlackBuild +++ b/academic/ViennaRNA/ViennaRNA.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ViennaRNA -VERSION=${VERSION:-2.6.4} +VERSION=${VERSION:-2.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,8 +82,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# https://github.com/ViennaRNA/ViennaRNA/issues/243 -patch -p1 < $CWD/swig_4.2.0.txt # You can configure some ViennaRNA features that are (not) compiled by default. # See the README.md for details. You can enable/disable a these features by diff --git a/academic/ViennaRNA/ViennaRNA.info b/academic/ViennaRNA/ViennaRNA.info index b871a31ccc..16dadd6a55 100644 --- a/academic/ViennaRNA/ViennaRNA.info +++ b/academic/ViennaRNA/ViennaRNA.info @@ -1,10 +1,10 @@ PRGNAM="ViennaRNA" -VERSION="2.6.4" +VERSION="2.7.0" HOMEPAGE="https://www.tbi.univie.ac.at/RNA" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_6_x/ViennaRNA-2.6.4.tar.gz" -MD5SUM_x86_64="6d8fd8ffe44d70399bff220f709a2b55" +DOWNLOAD_x86_64="https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_7_x/ViennaRNA-2.7.0.tar.gz" +MD5SUM_x86_64="ba07738bf2e337718d956f2e2a7c3dc1" REQUIRES="lapacke" MAINTAINER="Rob van Nues" EMAIL="sborg63@disroot.org" diff --git a/academic/ViennaRNA/swig_4.2.0.txt b/academic/ViennaRNA/swig_4.2.0.txt deleted file mode 100644 index 80c1ba2b82..0000000000 --- a/academic/ViennaRNA/swig_4.2.0.txt +++ /dev/null @@ -1,22 +0,0 @@ -Description: rewriting code to build against swig 4.2.0 -Author: Pierre Gruet <pgt@debian.org> -Forwarded: no -Last-Update: 2024-07-26 - ---- a/interfaces/inverse.i -+++ b/interfaces/inverse.i -@@ -78,7 +78,14 @@ - #ifdef SWIGPYTHON - %typemap(varin) char * symbolset { - free(symbolset); -+ -+#if SWIG_VERSION >= 0x040200 -+ PyObject *pbytes = NULL; -+ symbolset = strdup(SWIG_PyUnicode_AsUTF8AndSize($input, NULL, &pbytes)); -+ Py_XDECREF(pbytes); -+#else - symbolset = strdup(SWIG_Python_str_AsChar($input)); -+#endif - } - - %typemap(varout) char * symbolset { |