summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-09-15 19:59:24 +0000
committerJustin Lecher <jlec@gentoo.org>2014-09-15 19:59:24 +0000
commit06cd4ffc52ffcdf20da79469c63c1239c7492fda (patch)
tree3a89b71f35224e8b914ef38ebc798a97d39c4b4d /sci-biology
parentfix irrlicht dependency for dedicated USE flag (diff)
downloadhistorical-06cd4ffc52ffcdf20da79469c63c1239c7492fda.tar.gz
historical-06cd4ffc52ffcdf20da79469c63c1239c7492fda.tar.bz2
historical-06cd4ffc52ffcdf20da79469c63c1239c7492fda.zip
sci-biology/vienna-rna: Version Bump, #522850
Package-Manager: portage-2.2.12/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/vienna-rna/ChangeLog8
-rw-r--r--sci-biology/vienna-rna/Manifest29
-rw-r--r--sci-biology/vienna-rna/files/vienna-rna-2.1.8-bindir.patch10
-rw-r--r--sci-biology/vienna-rna/vienna-rna-2.1.8.ebuild114
4 files changed, 152 insertions, 9 deletions
diff --git a/sci-biology/vienna-rna/ChangeLog b/sci-biology/vienna-rna/ChangeLog
index 92d4c0ad8d00..2c9bb047caf6 100644
--- a/sci-biology/vienna-rna/ChangeLog
+++ b/sci-biology/vienna-rna/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/vienna-rna
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.53 2014/08/29 16:54:27 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.54 2014/09/15 19:59:23 jlec Exp $
+
+*vienna-rna-2.1.8 (15 Sep 2014)
+
+ 15 Sep 2014; Justin Lecher <jlec@gentoo.org> +vienna-rna-2.1.8.ebuild,
+ +files/vienna-rna-2.1.8-bindir.patch:
+ Version Bump, #522850
29 Aug 2014; Mikle Kolyada <zlogene@gentoo.org> -vienna-rna-1.8.5.ebuild,
vienna-rna-2.1.1.ebuild:
diff --git a/sci-biology/vienna-rna/Manifest b/sci-biology/vienna-rna/Manifest
index 73129560d7a0..9547308e4d91 100644
--- a/sci-biology/vienna-rna/Manifest
+++ b/sci-biology/vienna-rna/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX vienna-rna-1.6.5-c-fixes.patch 728 SHA256 49955a6244eb3be73f8d2472f3a4f9b8d1f8f92ba11327961b901a2c1f1e24d8 SHA512 5c3694d595e8382a3946366ddae9be2556d4b772fbf20fc2c8612b707b3b8d5f797d5b04d1ed48966f8ec6eb9a846830c12d574293b05e016ad4eacf8196c122 WHIRLPOOL a73d73eed88a62257db1e3033382c0e1acaf110a634034b13c58e78818ffd22e18c96ea049af824037ebc77184ecc431d4a965f0cc03f3e6f6ff949e5bce6269
AUX vienna-rna-1.7.2-LDFLAGS.patch 978 SHA256 0c7db17c7a1a8a075e26f6b98b19c84a3f98f9ecdaa06755e4e426fcb1b8ce8c SHA512 a5fea1fc9c969d2bde9094b8303ee5d0b77f0570107d403279bcc3884d2925f81789d3d08627caadf92f435bbf369721dbc95e1122bde5741340104526a532b2 WHIRLPOOL 82d3e59c9a399cd352f72477fc9803012ef288e3198b0c69e86ce184cfe75c1c824b149b6ea55771da88180d9d402e1d8ed8444aac1f1bcd9211ded54f15d917
@@ -14,16 +14,29 @@ AUX vienna-rna-2.1.1-bindir.patch 361 SHA256 cf5f393cb9ad1aba9e054d9ba7a0f876812
AUX vienna-rna-2.1.1-impl-decl.patch 354 SHA256 9f9005092b060db501b51c37f215f9ca87da53720609ce971c3d9ad6bcf2ea39 SHA512 7c288b4889f11b5cc4e6db5b5db6dfcd70843aa135181e8d819ae86c90faed4a43e08f99b47f418caa23643642e68bf5e153f4d279f7566433af1c9093ec6e8b WHIRLPOOL 02ce683c58e4f5715ab75445d9efeb02c1c104a6faa25b19739dc43931f813d6c7637a6690026d18607da98f2f7a7185ffe3491c237d1f40dd09340dc44c651e
AUX vienna-rna-2.1.1-prll.patch 885 SHA256 0438173aa9d336ae41d7024d66dd6b07c1bac3c812750198ef0113e6a8407dee SHA512 1b80636b43e1ce9ca54431358b45f2503ef3f49b8cd049b5ef501058e1771bda3628c88e63cc1bea9a32aff5a004ccef663b47dae385a5df6071793f292dff94 WHIRLPOOL 6a0661741d7aa0f0461c7dbc68b2967e10f380cf8c42c699fe7ae568e48441bc0e726c2c49942af1f9f2557725de1545718fa66fa336de00f84ea1660b984898
AUX vienna-rna-2.1.1-setup.py 810 SHA256 035f9c8aff6b6bc575b089e48e79bffe7da093de499a1d88eb1785346025940a SHA512 57feac6d5701a25fcda01f93f506a422d4639595a7d0ef73575af88f283fabc3730a8ea3e116ccfd417b015611c813f08ff047c9e362eaa74d2ce275ae65f8b8 WHIRLPOOL 8d9eb802bb055e30992a9509c43638e5602d434c5237729d816833f3e10f858ead48fb228728c5842a9e09b678f85091fab32b976ca8db4cc023c4fad2382b85
+AUX vienna-rna-2.1.8-bindir.patch 367 SHA256 44f43ad3cec8e05107c67f6f8420573a8f85ee80c4ac62abd6c7166192b6ecfc SHA512 aee16e7ff546aff38dd4a29d43502f4eb50778e6377a7d57f6a010dacc6a5f02162418fde27df03d1ba27f02361835d63dcefd866b8ac22f17a926c28fa4e9bf WHIRLPOOL a74ee28add9902d2a4c3219fef94d85c96934d7b113b69b3a09faa8d104c0d83d50fcea953a3073a48958f5d6e94d075697b2ceade3b21b236a2882aab4843fa
DIST ViennaRNA-2.1.1.tar.gz 5327215 SHA256 bfea440dface4562d5dfb0a1c83bf226c0697bb18aacae0dc84c555282cedebe SHA512 b272afa1146543b290db605debab2badbdbf04fcdfd6130ed3b10604255476b3472b184e9af8a0bbeaa0def266f1a167c125d6cfd02aa3f7ae463697dc5226d5 WHIRLPOOL 48b6bcd96b2ff2523ba00335cac7fe141b6ed7f037a3192e6c174297266d0f967492a67afaaa6c05f8b28fdc0eb7c9b72d0d9daba286b5dd3dca4456cc058b1f
+DIST ViennaRNA-2.1.8.tar.gz 5464683 SHA256 37a0a0b7c8a167bcdab1a85d88bcb1025ad8e00a4b00a147bf36d45dc8ca7560 SHA512 84f9db1247ff7a77aa6550b6285d9bed31fa6ce179aab26eef798c65a07f5cbd89f944630dfa5d29a43401b12a439324b57ee69047a3985e3a4f1e88dffca60e WHIRLPOOL a79f30d49c9bbe047d9fe83054dc08e94535f17417ef1f412bbcdd374d1988a8f2faf679e154c1ed1d1a75799e6cc0232d30b3adf65b3fa19978322f67ace57e
EBUILD vienna-rna-2.1.1.ebuild 2768 SHA256 f3d39910625307313d661cdaf254919a9537b801c7faea087f7aa74287d0e96e SHA512 f63e55c20b2f358176b2ef8544f721c2f239610c0c409d608fe8fa8024437d54145fcc3e7aa40a2ab2a98281d2249ec9d5e3a6fde6b6c38038a0c95ff513145e WHIRLPOOL 67bf0a1f21bf3628ff805279eee4641bcf053cee6155906a02f4a0d8be30f5eb109861e16a267e6921829a347f4ac764967a2de682e7c31868fe05585471f109
-MISC ChangeLog 8234 SHA256 bf59cd253d82de9ef941dc911a4e6da1d2c4dfb081260e199b259d7ef1ec67e6 SHA512 6eba0f2f3d644072ff87b08f9d418c78eaec9e0026474105f0572e3d81d09b43f71c52e7a4b41facbc450ec9985d7b770bd47d9eef231609472df49b18627ad9 WHIRLPOOL fb736139c56e3a54d634673af8bb690d24fcb1c46e1592052f1e3d8a71b94fe85020774eba00a84358110a52c12683e05c6b979779630f06972c33c5ab9e458d
+EBUILD vienna-rna-2.1.8.ebuild 2686 SHA256 4f536d5008392296591924a8776038a02c12b7e6e8a02dd1131da2d0794df369 SHA512 1a2ea3a8c397175c3537a6e8e4b239f36e9497423855cd8d1e55d4c9a8236b077323cba8d4a2326c89f49458715f7e7e66a6ddb6d9c35849519d92394232e81d WHIRLPOOL 0adfc59c8940ef6e83dbcfde43a9740dd21710d54d4e96d79e7c3949015643de77472497363dcc3aa0b181e0d36e944fcc3dacda92859d3ad75862654312b579
+MISC ChangeLog 8402 SHA256 a7dcf3344267d4509fd25e0656cc5bd39c49d8dcdb79de1af5f600f308e6a889 SHA512 4186ae3a7df3c50b9776015be6d7c08e6867638bdaf72b1e1eaea53a603b78388fe67e09a32fe88e76690c13fc3491ab9816cdae292362d105aeff0cfa68d17c WHIRLPOOL 1528b3254ae5142c66445d574222e419d01c5675c10b2e3aea1b18b3ec93a71be0c75af228e81ac1a199f742704789e800bee04e6c171d077f14210c0046c0b2
MISC metadata.xml 1214 SHA256 7b2e9d412019304d74ae0175f40767d78b1668ff0173bb07618e23478337b165 SHA512 0c86849ca974997da0f4ef044a07d1eb963a02889b2a7cbf4e0b2e5dac09a6da58eaf1e492e387f0c059f1c8517f27a122a16c4fd8e92b54cf3a1e3ff6707def WHIRLPOOL c96b3021b444150a580ff9923d37a6e50ba2059d5e4bf8d812a60ff7216c338e974f94d2525d494487bbcd6c83f78580afde89a58ce85d7b0dfab7cad7502ea3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
+Version: GnuPG v2.0
-iJwEAQEIAAYFAlQAsAcACgkQG9wOWsQutdZkmAP8DfE7jNssayf7PEn8+0WSlP9u
-NyCItIBVLa9oexMg2aDzUZkyLIC8kw1q3uCaDsovS8q1+Ni2Ll7lOXVwRZJkWCEz
-RUFSKWximoCTQhVue3EobiFcpFVPEfSzGR5cdoD9wk5tIX3lhTmdy+GDO99/Asjy
-v3wy2BNtxzzGFunlDa4=
-=iNse
+iQJ8BAEBCgBmBQJUF0URXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
+OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVireHsP/jCjU0k7J6wBS0kjiHebRH86
+NUrgz4G/ZaKrWsrFcLyRW2bqCnshG7I/jikkJjJgwtINhuuU0EsAbWIzUbDiSBVK
++kZr5XRV1xKKrRAODiwZxAZkqrRe5WdqjtsENPq4r3gQiLAKt228DIaRa1kubEPO
+2/mI7R+rIsy32bxwhYLqzVM4rAm9slzj5oqihOGk67z3R4oDQBk7TyrjVaUOIBXF
+fWqk+3bDX4/TTzBYex6AV3MforOJ3jwaxCRAbLzpFVZmruD2g/nPd5myozakosbN
+DFXOKUrUNbtb0WN6kCwKD+t3cFDgTd1/YaYkiOZ8gH4ga4qM/CFk5Yu81g8heQ5k
+x94xYWcwZ8SPLiPns8jKlBBLlb9vCM03jyr3cbZRZdKLQ/P+1COsrTPtuHD584AE
+6eTY3UNBQjP03n5aJ3aweBiJ3jMT9zzYjaniR+IhZdOusEcEhI7ISg9I42WoYjpW
+E+P1+A9nbVhgbOZjqieC76caRnlZ7KGocutCYLWlDZjT+4ZtR1Sax6Mo184aiNHR
+ES0eADHkLqeTETuLzhNX9KOiUR4uoNfWzt3BUD4KchG4baVYpTM7o6IeYjd3Tux4
+XfKOaj7g25irFwxsQ1ORjmrZsd3bWLAk5k1rfldgNpsgpM9QDEoWt190hWq08fQx
+jubjjWk6V3KPuu+mzcc4
+=K81k
-----END PGP SIGNATURE-----
diff --git a/sci-biology/vienna-rna/files/vienna-rna-2.1.8-bindir.patch b/sci-biology/vienna-rna/files/vienna-rna-2.1.8-bindir.patch
new file mode 100644
index 000000000000..e54dff95b485
--- /dev/null
+++ b/sci-biology/vienna-rna/files/vienna-rna-2.1.8-bindir.patch
@@ -0,0 +1,10 @@
+diff --git a/Utils/Makefile.am b/Utils/Makefile.am
+index f42ebf4..d84a0f1 100644
+--- a/Utils/Makefile.am
++++ b/Utils/Makefile.am
+@@ -1,4 +1,4 @@
+-pkgbindir = $(pkgdatadir)/bin
++pkgbindir = $(prefix)/bin
+ pkgbin_PROGRAMS = b2ct popt ct2db
+
+ pscript = b2mt.pl ct2b.pl dpzoom.pl mountain.pl relplot.pl rotate_ss.pl cmount.pl colorrna.pl coloraln.pl refold.pl switch.pl
diff --git a/sci-biology/vienna-rna/vienna-rna-2.1.8.ebuild b/sci-biology/vienna-rna/vienna-rna-2.1.8.ebuild
new file mode 100644
index 000000000000..23691ee1623c
--- /dev/null
+++ b/sci-biology/vienna-rna/vienna-rna-2.1.8.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-2.1.8.ebuild,v 1.1 2014/09/15 19:59:23 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=true
+AUTOTOOLS_AUTORECONF=true
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils distutils-r1 multilib perl-module toolchain-funcs
+
+DESCRIPTION="RNA secondary structure prediction and comparison"
+HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA/"
+SRC_URI="http://www.tbi.univie.ac.at/RNA/packages/source/ViennaRNA-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="vienna-rna"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc openmp python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ dev-lang/perl
+ media-libs/gd
+ doc? ( dev-texlive/texlive-latex )
+ python? (
+ ${PYTHON_DEPS}
+ dev-lang/swig )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/ViennaRNA-${PV}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-bindir.patch
+ "${FILESDIR}"/${PN}-2.1.1-prll.patch
+ "${FILESDIR}"/${PN}-2.1.1-impl-decl.patch
+)
+
+src_prepare() {
+ sed -i 's/ getline/ v_getline/' Readseq/ureadseq.c || die
+ sed -i 's/@PerlCmd@ Makefile.PL/& INSTALLDIRS=vendor/' interfaces/Perl/Makefile.am || die
+
+ autotools-utils_src_prepare
+
+ if use python; then
+ cd interfaces/Python || die
+ local PATCHES=()
+ distutils-r1_src_prepare
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-cluster
+ $(use_enable openmp)
+ )
+
+ use doc || \
+ myeconfargs+=(
+ --without-doc-pdf
+ --without-doc-html
+ --without-doc
+ )
+ autotools-utils_src_configure
+ sed \
+ -e "s:CC=gcc:CC=$(tc-getCC):" \
+ -e "s:^CFLAGS=:CFLAGS=${CFLAGS}:" \
+ -i Readseq/Makefile || die
+ if use python; then
+ cd interfaces/Python || die
+ distutils-r1_src_configure
+ fi
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ autotools-utils_src_compile -C Readseq build CC=$(tc-getCC)
+
+ # TODO: Add (optional?) support for the NCBI toolkit.
+ if use python; then
+ cd interfaces/Python || die
+ emake RNA_wrap.c
+ distutils-r1_src_compile
+ fi
+}
+
+src_test() {
+ autotools-utils_src_compile -C interfaces/Perl check
+ use python && autotools-utils_src_compile -C interfaces/Python check
+ autotools-utils_src_compile -C Readseq test
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/*.a || die
+ fi
+
+ newbin Readseq/readseq readseq-vienna
+ dodoc Readseq/Readseq.help
+ newdoc Readseq/Readme README.readseq
+ newdoc Readseq/Formats Formats.readseq
+
+ # remove perlocal.pod to avoid file collisions (see #240358)
+ fixlocalpod || die "Failed to remove perlocal.pod"
+ if use python; then
+ cd interfaces/Python || die
+ distutils-r1_src_install
+ fi
+}