Сравнение dssp-3.0.11 с dssp-4.3.1

/usr/portage/sci-chemistry/dssp/dssp-4.3.1.ebuild 2023-10-09 14:52:35.032368490 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
inherit autotools
6

  
7
MY_PN="hssp"
8
MY_P="${MY_PN}-${PV}"
5
inherit cmake
9 6

  
10 7
DESCRIPTION="The protein secondary structure standard"
11
HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/ https://github.com/cmbi/hssp"
12
SRC_URI="https://github.com/cmbi/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
8
HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/ https://github.com/PDB-REDO/dssp"
9
SRC_URI="https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
13 10

  
14
LICENSE="Boost-1.0"
11
LICENSE="BSD-2"
15 12
SLOT="0"
16
KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
17
# It's just cppcheck (at least in 3.0.11)
18
RESTRICT="test"
19

  
20
RDEPEND="
21
	dev-lang/perl:=
22
	dev-libs/boost:=[bzip2,zlib]
23
"
24
DEPEND="${RDEPEND}"
25

  
26
S="${WORKDIR}/${MY_P}"
13
KEYWORDS="~amd64 ~x86"
14
IUSE=""
27 15

  
28
src_prepare() {
29
	default
30

  
31
	# Fix version
32
	sed -i -e "s/3.0.10/${PV}/" configure.ac || die
33

  
34
	sed -i -e '/-Werror/d' Makefile.am || die
16
BDEPEND="
17
	dev-libs/boost:=[zlib]
18
	>=dev-libs/libmcfp-1.2.2
19
	>=sci-libs/libcifpp-5.1.0
20
"
21
DEPEND=""
22
RDEPEND="${BDEPEND}"
35 23

  
36
	eautoreconf
24
src_configure() {
25
	# gxrio not packaged
26
	local mycmakeargs=(
27
		-DBUILD_WEBSERVER=OFF
28
	)
29
	cmake_src_configure
37 30
}
38 31

  
39
src_install() {
40
	default
41
	dosym mkdssp /usr/bin/dssp
42
	doenvd "${FILESDIR}"/30-${PN}
32
pkg_postinst() {
33
	if has_version "<=sci-chemistry/gromacs-2022"; then
34
		ewarn "DSSP > 3.0.x is not compatible with gmx do_dssp:"
35
		ewarn "https://gitlab.com/gromacs/gromacs/-/issues/4129"
36
		ewarn
37
		ewarn "Feel free to mask newer versions if needed."
38
	fi
43 39
}
Спасибо!