Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/dssp/
Date: Thu, 02 Sep 2021 12:01:06
Message-Id: 1630584049.4e4e045da2570733e3a7cf50ed1712945d44dc2f.pacho@gentoo
1 commit: 4e4e045da2570733e3a7cf50ed1712945d44dc2f
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 2 11:59:21 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 2 12:00:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4e045d
7
8 sci-chemistry/dssp: Bump to 3.0.11
9
10 It is the latest version that seems to work with gmx do_dssp from my tests,
11 also the one packaged in Fedora currently
12
13 Closes: https://bugs.gentoo.org/802417
14 Closes: https://bugs.gentoo.org/808669
15 Package-Manager: Portage-3.0.22, Repoman-3.0.3
16 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
17
18 sci-chemistry/dssp/Manifest | 1 +
19 sci-chemistry/dssp/dssp-3.0.11.ebuild | 42 +++++++++++++++++++++++++++++++++++
20 2 files changed, 43 insertions(+)
21
22 diff --git a/sci-chemistry/dssp/Manifest b/sci-chemistry/dssp/Manifest
23 index 170fb6728d5..95f2e93d4a4 100644
24 --- a/sci-chemistry/dssp/Manifest
25 +++ b/sci-chemistry/dssp/Manifest
26 @@ -1,2 +1,3 @@
27 DIST dssp-2.2.1.tgz 47141 BLAKE2B 34d8b2db8797a8c23763766c0214337f03584c4be52c1bc820a0df0db6a5f78ac0229aafdd47a60b8fd6f4832abf0399663c53f9e898c75f08ecbe22b141c8da SHA512 4a273714d6b3230daea166caa7f4117d5ccb225bea0cf1bc2eb61539b6cc8e227d0ba19047d61f0ad0d1d6bc2efdec9c193bd44341e15ef0950acb4a22498811
28 +DIST dssp-3.0.11.tar.gz 168085 BLAKE2B e1c42fd22cfb2287f10b5deae48b56a4583d4a67737a3485dcbd160d1597a15c2d5105c3794c875d8001abede1c014efb4f7f5b7c250f867bdf9ed95a0860217 SHA512 a0cfe44e517ff1f909ef2928b62ae2c639c6bddfd8a0fb538883f647fd2771e00da68e0fd2521aa02ba3c6d1b0c9b784b7fe142392af3a3abf6ea89f1546bd9d
29 DIST dssp-4.0.1_p20210831.tar.gz 121793 BLAKE2B 1e028b086b418772a93db350f8084d1786996ff6ea935d236b1431d8f4a07c0b33ebf374a4c4d5d4d243952f3f56e29a548ce09763863a1e0c529755fba6c211 SHA512 62f1ac781dd3d6f3436e6c155ae1a470d0baf6a6d9f6d6729034a7a5ef41550f76d0473c688d235279336306c9f3598377c056cddd6d00a89a826fbb04c1bfb3
30
31 diff --git a/sci-chemistry/dssp/dssp-3.0.11.ebuild b/sci-chemistry/dssp/dssp-3.0.11.ebuild
32 new file mode 100644
33 index 00000000000..b0771e31047
34 --- /dev/null
35 +++ b/sci-chemistry/dssp/dssp-3.0.11.ebuild
36 @@ -0,0 +1,42 @@
37 +# Copyright 1999-2021 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=8
41 +inherit autotools
42 +
43 +MY_PN="hssp"
44 +MY_P="${MY_PN}-${PV}"
45 +
46 +DESCRIPTION="The protein secondary structure standard"
47 +HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/ https://github.com/cmbi/hssp"
48 +SRC_URI="https://github.com/cmbi/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="Boost-1.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
53 +IUSE=""
54 +
55 +RDEPEND="
56 + dev-lang/perl:=
57 + dev-libs/boost:=[bzip2,zlib,threads(+)]
58 +"
59 +DEPEND="${RDEPEND}"
60 +
61 +S="${WORKDIR}/${MY_P}"
62 +
63 +src_prepare() {
64 + default
65 +
66 + # Fix version
67 + sed -i -e "s/3.0.10/${PV}/" configure.ac || die
68 +
69 + sed -i -e '/-Werror/d' Makefile.am || die
70 +
71 + eautoreconf
72 +}
73 +
74 +src_install() {
75 + default
76 + dosym mkdssp /usr/bin/dssp
77 + doenvd "${FILESDIR}"/30-${PN}
78 +}