summaryrefslogtreecommitdiff
path: root/sci-chemistry
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-02 17:13:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-02 17:13:10 +0100
commit0bff53119f08d677db6c1a991bd30741682a8a08 (patch)
tree6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /sci-chemistry
parent6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (diff)
Revert "gentoo resync : 02.06.2018"
This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec.
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/Manifest.gzbin17069 -> 17235 bytes
-rw-r--r--sci-chemistry/cyana/Manifest7
-rw-r--r--sci-chemistry/cyana/cyana-2.1.ebuild71
-rw-r--r--sci-chemistry/cyana/files/2.1-exec.patch77
-rw-r--r--sci-chemistry/cyana/files/2.1-expire.patch15
-rw-r--r--sci-chemistry/cyana/files/2.1-typo.patch13
-rw-r--r--sci-chemistry/cyana/files/2.1-xiar.patch16
-rw-r--r--sci-chemistry/cyana/metadata.xml8
8 files changed, 207 insertions, 0 deletions
diff --git a/sci-chemistry/Manifest.gz b/sci-chemistry/Manifest.gz
index e59ea102f561..1ed0dbb2295f 100644
--- a/sci-chemistry/Manifest.gz
+++ b/sci-chemistry/Manifest.gz
Binary files differ
diff --git a/sci-chemistry/cyana/Manifest b/sci-chemistry/cyana/Manifest
new file mode 100644
index 000000000000..24c2aa5dc858
--- /dev/null
+++ b/sci-chemistry/cyana/Manifest
@@ -0,0 +1,7 @@
+AUX 2.1-exec.patch 1959 BLAKE2B 6bd6b04db4b1d88c830602cca301e1efc5e98fa863c454f24811e77475712c2de3af486ee13bc9fef1bf62b02f4175fa7d7ae0e49d9dacafd3877dad6112ac5e SHA512 43f04008b623e95e09cc323abd504c4f5bf708bde4771f2e334ae5d4ca59c24cfcaf34a3ad7c5b65ebb4587614343982fe377a226648098e02de8bdaa1c36a1d
+AUX 2.1-expire.patch 578 BLAKE2B 5626fcc6153b9bd8492a6233126b1b5d8f79c67b9a64676318f4453ad578579af4d34852e5e8dc4f6fe61d4895324eb0f36315ee3b857f094dbabb78573a04e3 SHA512 7816f284a7af23c5d87a5a464ea36e7a1b09e73516852b85fac0d71bb8376639788f3f9395f8a6fd9365906d2aaadbd060f2194c7af3b68a24927adefcd56c40
+AUX 2.1-typo.patch 484 BLAKE2B 1f27f74ab6909575d38285fac1ae39d889be3fa8b7ffc6dfa586da3c58fb8e73c9ca196622e0a014584208c8450b8a70c6baf438235b353d83b9c8ac27ad70a3 SHA512 298e5053e4261477a11f0dff2339f198e50e92a96b98c5aea82e3a432b806b1ea0baa3638ef6e65dee315be3223510a804e2c849a82fdda0a1cf296de9d89db4
+AUX 2.1-xiar.patch 385 BLAKE2B 0038dda5697290df2d853848edd06ec74e4bb3efe38d159265468992525e52098bdaf97bd12cba814c2d790306f52f800d6e696d73aefa4b2a1c10349ea6c40f SHA512 ce4c27b70d0c432b33f76b4ff76d004f525243269064f1af439bf42ab9783edd9dc19712b277d8e08bb692a28c40db7007040da1635cbd3c432029e4fe6c680f
+DIST cyana-2.1.tar.gz 2203650 BLAKE2B 0af9049b24674a43cfea44129c57a1dbf7c5b457f2f02272d89f60b21a7c6571884d36575cdb6f98b84a1490c318f6bb6b41fe66e417cd0bb371895479d9d372 SHA512 20f5369e47198000927ee9a60beda34d265fddcd6be59f0d5d81ac23691b7e870ca674bdd7215a13bc849586411a007ebb1ff46072b55f255a6d796359067be8
+EBUILD cyana-2.1.ebuild 1439 BLAKE2B b865b24efff5f51d90a1566ef775db539dcaec919c821b5de192acf2d763ac04ebe90446fc69b03040a9ed22fe0acce8770bc86138191a2b8159c4080dcba867 SHA512 47108af1f37d2adb2fd111da3db51f60feedc4d4f7c4da5327b3217626e8d6826b45993e900ca43d252c98d42216e6a878ada5039be7385bd18d2dac67c3891f
+MISC metadata.xml 271 BLAKE2B a446884cbe7a6789e0bcd82759f57bf1ab7b29c5ab714057ffa821c90f799d1fa9f9310c187ee4c3a8ae2476f6ea9d15f368045779f1581e68d02802c61c884c SHA512 3e6e6047a29e07123b81279cae1de17bc4bd4c3d7d8a8d26560114a18185f473d038fc220fa81c7213fa203ce197bad8b1c272d9b7e41cd770a953fa6308ff92
diff --git a/sci-chemistry/cyana/cyana-2.1.ebuild b/sci-chemistry/cyana/cyana-2.1.ebuild
new file mode 100644
index 000000000000..f017c9af247c
--- /dev/null
+++ b/sci-chemistry/cyana/cyana-2.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils fortran-2 toolchain-funcs
+
+DESCRIPTION="Combined assignment and dynamics algorithm for NMR applications"
+HOMEPAGE="http://www.las.jp/english/products/cyana.html"
+SRC_URI="${P}.tar.gz"
+
+LICENSE="CYANA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RESTRICT="fetch"
+
+# we need libg2c for gfortran # 136988
+DEPEND="dev-lang/ifc"
+RDEPEND="${DEPEND}"
+
+pkg_nofetch() {
+ elog "Please visit"
+ elog "http://www.las.jp/english/products/cyana.html"
+ elog "and get a copy of ${A}."
+ elog "Place it in ${DISTDIR}."
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-typo.patch \
+ "${FILESDIR}"/${PV}-exec.patch \
+ "${FILESDIR}"/${PV}-expire.patch \
+ "${FILESDIR}"/${PV}-xiar.patch
+
+ cat >> etc/config <<- EOF
+ VERSION=${PV}
+ SHELL=${EPREFIX}/bin/sh
+ FC=ifort
+ FFLAGS=${FFLAGS} -openmp -threads
+ FFLAGS2=${FFLAGS} -openmp -threads
+ CC=$(tc-getCC)
+ AR=xiar
+ RANLIB=ranlib
+ FORK=g77fork.o
+ LDFLAGS=${LDFLAGS} -reentrancy threaded -openmp
+ LIBS=
+ DEFS=-Dintel
+ SYSTEM=intel
+ EOF
+}
+
+src_compile() {
+ cd src || die
+ emake
+}
+
+src_install() {
+ dobin cyana{job,table,filter,clean}
+ newbin src/${PN}/${PN}exe.* ${PN}
+ insinto /usr/share/${PN}
+ doins -r lib macro help
+ use examples && doins -r demo
+
+ cat >> "${T}"/20cyana <<- EOF
+ CYANALIB="${EPREFIX}/usr/share/${PN}"
+ EOF
+
+ doenvd "${T}"/20cyana
+}
diff --git a/sci-chemistry/cyana/files/2.1-exec.patch b/sci-chemistry/cyana/files/2.1-exec.patch
new file mode 100644
index 000000000000..28cd88d3eee6
--- /dev/null
+++ b/sci-chemistry/cyana/files/2.1-exec.patch
@@ -0,0 +1,77 @@
+diff --git a/cyana b/cyana
+index 4f746cf..a7ff060 100755
+--- a/cyana
++++ b/cyana
+@@ -45,16 +45,13 @@ shift `expr $optind - 1`
+
+ if [ "$h" ]; then usage=1; fi
+ if [ "$usage" ]; then
+- echo "Usage: $prog -hctx parameters ..."
++ echo "Usage: $prog -hS parameters ..."
+ echo
+ echo " -h help"
+ echo " -c command command to start program (must contain \$exefile)"
+ echo " -S run in safe mode, i.e. within one directory"
+- echo " -t system explicit system type"
+- echo " -x display name of executable without executing it"
+ exit 2
+ fi
+-if [ "$c" ]; then cmd="$c"; fi
+ sys=$t
+ mode=$x
+ safe=$S
+@@ -65,23 +62,6 @@ safe=$S
+ eval ${PROG}ARG='$*'
+ export ${PROG}ARG
+
+-
+-# ------ Set library name ------
+-
+-f=$0
+-if [ `echo $f | sed 's,^/.*,+,'` != "+" ]; then f=`which $0`; fi
+-odir=`pwd`
+-while [ "`ls -l $f | awk '{ print substr($1,1,1) }'`" = "l" ]; do
+- l=`ls -l $f | awk '{ i = NF; print $i }'`
+- cd `dirname $f`; cd `dirname $l`; l=`pwd`/`basename $l`
+- f=$l
+-done
+-cd `dirname $f`
+-libdir=`pwd | sed 's,/src/'${prog}'$,,'`
+-cd $odir
+-eval ${PROG}LIB=$libdir
+-export ${PROG}LIB
+-
+ if [ "$safe" ]; then
+ CYANAINIT=initsafe; export CYANAINIT
+ fi
+@@ -89,29 +69,4 @@ fi
+
+ # ------ Start the program ------
+
+-if [ -d $libdir/src/$prog ]; then
+- exe=$libdir/src/$prog/$exe
+-else
+- exe=$libdir/$exe
+-fi
+-if [ "$sys" = "" ]; then
+- sys=`$libdir/etc/identify`
+- files="$exe.$sys* $exe.gnu $exe.*"
+-else
+- files=$exe.$sys
+-fi
+-for exefile in $files; do
+- if [ -x $exefile ]; then
+- if [ "$mode" ]; then
+- echo $exefile; exit 0
+- else
+- if [ "`echo $cmd | grep -c '\$exefile'`" -gt 0 ]; then
+- eval exec $cmd
+- else
+- eval exec $cmd $exefile
+- fi
+- fi
+- fi
+-done
+-echo "No executable found in \"`dirname $exe`\"."
+-exit 1
++exec cyana
diff --git a/sci-chemistry/cyana/files/2.1-expire.patch b/sci-chemistry/cyana/files/2.1-expire.patch
new file mode 100644
index 000000000000..e18008286f68
--- /dev/null
+++ b/sci-chemistry/cyana/files/2.1-expire.patch
@@ -0,0 +1,15 @@
+--- src/inclan/unix.for.orig 2011-01-05 14:56:46.572193759 +0100
++++ src/inclan/unix.for 2011-01-05 14:57:27.833627375 +0100
+@@ -206,11 +206,8 @@
+ end if
+ if (iwbeg.lt.0) then
+ iwbeg=igttim
+- iexpir=(julday(12,31,2010)-julday(1,1,1970))*24*3600
+- if (iwbeg.gt.iexpir) call fatmsg ('License expired.')
++ iexpir=iwbeg+100
+ j=(iexpir-iwbeg)/(24*3600)
+- if (j.lt.1000)
+- * call wrnmsg ('License expires in '//plural(j,'day')//'.')
+ end if
+ iwall=igttim-iwbeg
+ c print *,'iwall = ',iwall,iwbeg,idat,itim \ No newline at end of file
diff --git a/sci-chemistry/cyana/files/2.1-typo.patch b/sci-chemistry/cyana/files/2.1-typo.patch
new file mode 100644
index 000000000000..3f011a9b2c28
--- /dev/null
+++ b/sci-chemistry/cyana/files/2.1-typo.patch
@@ -0,0 +1,13 @@
+diff --git a/src/cyana/putpro.f b/src/cyana/putpro.f
+index d4080f9..4490225 100644
+--- a/src/cyana/putpro.f
++++ b/src/cyana/putpro.f
+@@ -66,7 +66,7 @@ c ------------------------------------------------------ BMRB header
+ * ' _Mol_residue_sequence',
+ * ';'
+ do i=1,nr,20
+- write (iunit,'(20A1))') (rcode(rnam(j)),j=i,min(nr,i+19))
++ write (iunit,'(20A1)') (rcode(rnam(j)),j=i,min(nr,i+19))
+ end do
+
+ write (iunit,'(A)')
diff --git a/sci-chemistry/cyana/files/2.1-xiar.patch b/sci-chemistry/cyana/files/2.1-xiar.patch
new file mode 100644
index 000000000000..e8393253d7f6
--- /dev/null
+++ b/sci-chemistry/cyana/files/2.1-xiar.patch
@@ -0,0 +1,16 @@
+ src/inclan/Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/inclan/Makefile b/src/inclan/Makefile
+index fc5a8bf..482d48f 100644
+--- a/src/inclan/Makefile
++++ b/src/inclan/Makefile
+@@ -35,7 +35,7 @@ clean:
+
+ inclan.a: $(OBJS)
+ rm -f $@
+- ar rc $@ $(OBJS)
++ $(AR) rc $@ $(OBJS)
+ if [ "$(RANLIB)" ]; then $(RANLIB) $@; fi
+
+ inclan.o: inclan.for
diff --git a/sci-chemistry/cyana/metadata.xml b/sci-chemistry/cyana/metadata.xml
new file mode 100644
index 000000000000..8937bad0b175
--- /dev/null
+++ b/sci-chemistry/cyana/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+</pkgmetadata>