commit:     8fff65e5ffab333f15d4845d20ca95caaf26f50f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  5 09:06:22 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 09:11:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fff65e5

sci-chemistry/dssp: add 4.5.6

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-chemistry/dssp/Manifest          |  1 +
 sci-chemistry/dssp/dssp-4.5.6.ebuild | 49 ++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sci-chemistry/dssp/Manifest b/sci-chemistry/dssp/Manifest
index e2c0668676d9..bdf138cf8874 100644
--- a/sci-chemistry/dssp/Manifest
+++ b/sci-chemistry/dssp/Manifest
@@ -2,3 +2,4 @@ DIST dssp-2.2.1.tgz 47141 BLAKE2B 
34d8b2db8797a8c23763766c0214337f03584c4be52c1b
 DIST dssp-4.4.11.tar.gz 163930 BLAKE2B 
00da516faeac6f49a6b2b82d69c6e92a53531e2a0cf98718e7fa78f848b060b9f2d68f255e958842ff748119f7f3de2a06e5d6fffd4c1787485a81562185ffb7
 SHA512 
3abe6d6f5578714358c551bc4d4426c5359f68329058deb50fe4f643e4b380e7fa41de7aeb9d016211d69b72c7d892c17d5268b34b65c1566ff33ae978ee6f9b
 DIST dssp-4.5.3.tar.gz 222761 BLAKE2B 
f233979eb4cc467c54301c9b88cf1f0edc297500715414bbca91a4084ed90bb10300a2cc9bfa2a388e6f852a7dea141293e5cc2de91834967e160157fcdfbeff
 SHA512 
453f20a8959dbafec8781b3b41f4bd94720200ff5a6647db95fb65bae274236a32180960072d481d27cde8d09053b844bb0b2eaef471f870f2bc4df827f5a7da
 DIST dssp-4.5.5.tar.gz 223132 BLAKE2B 
10c6befe814d5bc082fcb689f9c7640087b00385956cf469cb86a047a16b5a031afad84fcdecabc42bf36318aeaa2558e90cf9a8dc5ecf6c450b9fea26a278d2
 SHA512 
674af2fa9f56dc244bedcf9f98bec2d650d7b8e5163a8f241ffa0965062e6c40a1c0631a22a66468712bf9bf5c7c88085dfad4d168a68971e6d5e582e5e1086b
+DIST dssp-4.5.6.tar.gz 223229 BLAKE2B 
a5f60e1ea8d8ff8c9e63b9e68464ba81a705bbe2d87ebeaab7f13c9c2c05557b5d5aacf832f0f5f85e66ef653751cb9d53a07d6667fcbd8a7e6aae21a2d753f7
 SHA512 
06e1d74f5a39673560bd174032523018f063c8c6f2aaad21c4800334d39f81e5b8f68c78a184a14ff33897d9e6bde9810d7efd5f4c769a85705302bc480afdf4

diff --git a/sci-chemistry/dssp/dssp-4.5.6.ebuild 
b/sci-chemistry/dssp/dssp-4.5.6.ebuild
new file mode 100644
index 000000000000..2ff1e3386fbf
--- /dev/null
+++ b/sci-chemistry/dssp/dssp-4.5.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="The protein secondary structure standard"
+HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/ https://github.com/PDB-REDO/dssp";
+SRC_URI="https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# doc disabled as it only generates a PDF from the manpage for now
+# https://github.com/PDB-REDO/dssp/issues/64
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="
+       dev-libs/boost:=[zlib]
+       >=dev-libs/libmcfp-1.4.2
+       >=sci-libs/libcifpp-9:=
+"
+BDEPEND="${CDEPEND}
+       dev-cpp/catch:0
+"
+#      doc? (
+#              || ( app-text/pandoc-bin[pandoc-symlink] app-text/pandoc )
+#              dev-python/weasyprint
+#      )
+RDEPEND="${CDEPEND}"
+
+#src_prepare() {
+#      # wkhtmltopdf is not available on Gentoo
+#      sed -i -e \
+#              's/-t html/-t html --pdf-engine=weasyprint/' \
+#              CMakeLists.txt
+#      cmake_src_prepare
+#}
+
+src_configure() {
+       local mycmakeargs=(
+               -DINSTALL_LIBRARY=YES
+               #-DBUILD_DOCUMENTATION=$(usex doc)
+               -DBUILD_DOCUMENTATION=NO
+               -DBUILD_TESTING=$(usex test)
+       )
+       cmake_src_configure
+}

Reply via email to