From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- sci-biology/stride/Manifest | 6 ++--- .../files/stride-20011129-fix-buildsystem.patch | 21 ++++++++++++++++ sci-biology/stride/files/stride-LDFLAGS.patch | 11 --------- sci-biology/stride/stride-20011129-r1.ebuild | 28 ++++++++++------------ 4 files changed, 36 insertions(+), 30 deletions(-) create mode 100644 sci-biology/stride/files/stride-20011129-fix-buildsystem.patch delete mode 100644 sci-biology/stride/files/stride-LDFLAGS.patch (limited to 'sci-biology/stride') diff --git a/sci-biology/stride/Manifest b/sci-biology/stride/Manifest index 53fba32cc4e5..4230976b6793 100644 --- a/sci-biology/stride/Manifest +++ b/sci-biology/stride/Manifest @@ -1,5 +1,5 @@ -AUX stride-LDFLAGS.patch 280 BLAKE2B e33e6b77463be3e1e58864b70ab931b9983107d69b86c89988bf20a163744350d28a47e36a134ddebfe1cc6734ca2dd3e9cddcea2e56820fe7afe54539735300 SHA512 d3fc5fec53066fc5f015a2b741bf5e3a236db4eee04ae7908912036c0be004e9827228b9153188f2304c91eb44e9d029996b4d86eee7baf0d109ae87776504f8 +AUX stride-20011129-fix-buildsystem.patch 807 BLAKE2B df077f9234808abe3a9346af6c4a8bde92812cc9f782ad37b75b060166b35686cbcdc2f4b12c26263127dbd3c488660bb2cf70bc553c267cb3e9f70eba68082d SHA512 2afba4707d8371da1fc79c5bfa6f476ac76682d67e52287462eabfcecd394f89a9fe68810045098c48107ed7f33b8c44c566f609c647f71a7918375cfc9dc220 +DIST stride-20011129.tar.gz 56441 BLAKE2B 4d4cd3f9f6cef997fff10571aecb70cb21056e88c5130e7dfdafe15a6fb353656d0635b4d65895ef115479a87dcf600b659455d15460344c838543a2e356bfae SHA512 cbd40fce4684728f363520540132fc1a0003126954a145d59aeff48adb20fdaa66520bd12b56ee5d2906e8ea97bf78a225204105b820f7f368aee5e790a6471b DIST stride-20060723-update.patch.bz2 5621 BLAKE2B 266a7371c0963a996430c1f809b46196e8bf179fcf2afb4380f6eccd092c03b29d5b09b8a8438ee7848d0f411920db2e4465ef646c75a406197412f35e880179 SHA512 e06eb68b907615e12dc1a9981be157400e9ffed9391a906cb4eb3ef4067b7027c26cc600298053bfc5d2bbbebbbfefe0e6b18d0e4f6fef2172768e6f95498af1 -DIST stride.tar.gz 56441 BLAKE2B 4d4cd3f9f6cef997fff10571aecb70cb21056e88c5130e7dfdafe15a6fb353656d0635b4d65895ef115479a87dcf600b659455d15460344c838543a2e356bfae SHA512 cbd40fce4684728f363520540132fc1a0003126954a145d59aeff48adb20fdaa66520bd12b56ee5d2906e8ea97bf78a225204105b820f7f368aee5e790a6471b -EBUILD stride-20011129-r1.ebuild 917 BLAKE2B fc125782bd5edf45f8e6048383ab048ec7c86eb8ec1076ad76327a36c6a68e454f79bab0007cc68a55996f3ec6b29762e9c55d4fa1f5187b238abd7b7143a56a SHA512 633e21ef055594d0fdefd0d852b68b1585bda766616ab53fb3c69ee88e73161fea34d2c5428bc1b51261c04f65d760beeb7217eba61177fa108c4c505d4f013b +EBUILD stride-20011129-r1.ebuild 822 BLAKE2B 34f7f410901818525c884457031a5ed16a1a467ca2b406db76102560ba94458693dc7fb7822b3c5d4fccc75f42a31b794b3f18ce726a2abc928ce8082301d691 SHA512 0fc9734abddfbbb22727c1de5021b7c544ce4a9d03e53c567d9f1eb1133936058eca9c1a862e6d964695e04d985349cd7698a27e63646f5a8c4658d8e18c626a MISC metadata.xml 267 BLAKE2B 7cf386952842945148119de3263231db4d1046d5f54811f7e303ed8ec4d27cbc1960b99c92daf6f32e5b981c2fb9f50ec666be6193865d6e18541b7427a152a9 SHA512 91ab266d9ab24401bc0fec759c5b6cfcf44a3c5669fc31c7301d79770839bb5dfa0e155d949392ef06176b4a0b2c32b91b1b54b0027f972db61f0a5e54644403 diff --git a/sci-biology/stride/files/stride-20011129-fix-buildsystem.patch b/sci-biology/stride/files/stride-20011129-fix-buildsystem.patch new file mode 100644 index 000000000000..ec4415ec45d4 --- /dev/null +++ b/sci-biology/stride/files/stride-20011129-fix-buildsystem.patch @@ -0,0 +1,21 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,3 @@ +-CC = gcc -g + FLAGS = -lm -o + + SOURCE = stride.c splitstr.c rdpdb.c initchn.c geometry.c thr2one.c one2thr.c filename.c tolostr.c strutil.c place_h.c hbenergy.c memory.c helix.c sheet.c rdmap.c phipsi.c command.c molscr.c die.c hydrbond.c mergepat.c fillasn.c escape.c p_jrnl.c p_rem.c p_atom.c p_helix.c p_sheet.c p_turn.c p_ssbond.c p_expdta.c p_model.c p_compnd.c report.c nsc.c area.c ssbond.c chk_res.c chk_atom.c turn.c pdbasn.c dssp.c outseq.c chkchain.c elem.c measure.c asngener.c p_endmdl.c stred.c contact_order.c contact_map.c +@@ -7,12 +6,9 @@ + + BINDIR = . + +-.c.o: +- $(CC) -c $< -o $@ +- + + stride : $(OBJECT) +- $(CC) $(OBJECT) $(FLAGS) $(BINDIR)/stride ++ $(CC) $(LDFLAGS) $(OBJECT) $(FLAGS) $(BINDIR)/stride + + $(OBJECT) : stride.h protot.h + diff --git a/sci-biology/stride/files/stride-LDFLAGS.patch b/sci-biology/stride/files/stride-LDFLAGS.patch deleted file mode 100644 index 1761b12129bd..000000000000 --- a/sci-biology/stride/files/stride-LDFLAGS.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile 2009-10-27 21:18:45.000000000 +0100 -+++ Makefile.new 2009-10-27 21:19:00.000000000 +0100 -@@ -12,7 +12,7 @@ - - - stride : $(OBJECT) -- $(CC) $(OBJECT) $(FLAGS) $(BINDIR)/stride -+ $(CC) $(LDFLAGS) $(OBJECT) $(FLAGS) $(BINDIR)/stride - - $(OBJECT) : stride.h protot.h - diff --git a/sci-biology/stride/stride-20011129-r1.ebuild b/sci-biology/stride/stride-20011129-r1.ebuild index c76883b861e1..678887de925e 100644 --- a/sci-biology/stride/stride-20011129-r1.ebuild +++ b/sci-biology/stride/stride-20011129-r1.ebuild @@ -1,35 +1,31 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Protein secondary structure assignment from atomic coordinates" HOMEPAGE="http://webclu.bio.wzw.tum.de/stride/" SRC_URI=" - ftp://ftp.ebi.ac.uk/pub/software/unix/${PN}/src/${PN}.tar.gz + ftp://ftp.ebi.ac.uk/pub/software/unix/${PN}/src/${PN}.tar.gz -> ${P}.tar.gz https://dev.gentoo.org/~jlec/distfiles/${PN}-20060723-update.patch.bz2" -SLOT="0" LICENSE="STRIDE" +SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="" - -S="${WORKDIR}" - RESTRICT="mirror bindist" -src_prepare() { +S="${WORKDIR}" +PATCHES=( # this patch updates the source to the most recent # version which was kindly provided by the author - epatch \ - "${DISTDIR}/${PN}-20060723-update.patch.bz2" \ - "${FILESDIR}"/${PN}-LDFLAGS.patch + "${S}"/${PN}-20060723-update.patch + "${FILESDIR}"/${PN}-20011129-fix-buildsystem.patch +) - # fix makefile - sed -e "/^CC/s|gcc -g|$(tc-getCC) ${CFLAGS}|" -i Makefile || \ - die "Failed to fix Makefile" +src_configure() { + tc-export CC } src_install() { -- cgit v1.2.3