From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB24D1580B2 for ; Thu, 2 Sep 2021 12:01:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9694FE0BB3; Thu, 2 Sep 2021 12:01:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EAD0E0BB3 for ; Thu, 2 Sep 2021 12:01:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A98933EDD8 for ; Thu, 2 Sep 2021 12:01:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9251CA2 for ; Thu, 2 Sep 2021 12:01:00 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1630584044.86a55f2707b1daa78e8d7e0666756e95ef588d47.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/dssp/, sci-chemistry/dssp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/dssp/dssp-2.2.1-r3.ebuild sci-chemistry/dssp/files/30-dssp X-VCS-Directories: sci-chemistry/dssp/ sci-chemistry/dssp/files/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 86a55f2707b1daa78e8d7e0666756e95ef588d47 X-VCS-Branch: master Date: Thu, 2 Sep 2021 12:01:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 94c103d7-28fe-4618-b45a-28c525706614 X-Archives-Hash: cd458f15eb52a79924696b01d6e4ef60 commit: 86a55f2707b1daa78e8d7e0666756e95ef588d47 Author: Pacho Ramos gentoo org> AuthorDate: Thu Sep 2 11:48:56 2021 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Thu Sep 2 12:00:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a55f27 sci-chemistry/dssp: Fix boost compat for dssp-2 dssp-2 is still needed by gromacs, try to keep it whenever possible then Closes: https://bugs.gentoo.org/802417 Closes: https://bugs.gentoo.org/808669 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> sci-chemistry/dssp/dssp-2.2.1-r3.ebuild | 41 +++++++++++++++++++++++++++++++++ sci-chemistry/dssp/files/30-dssp | 1 + 2 files changed, 42 insertions(+) diff --git a/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild b/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild new file mode 100644 index 00000000000..17a89bb51ff --- /dev/null +++ b/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="The protein secondary structure standard" +HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/" +SRC_URI="ftp://ftp.cmbi.ru.nl/pub/molbio/software/dssp-2/${P}.tgz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-libs/boost:=[threads(+)]" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-gentoo.patch + "${FILESDIR}"/${PN}-2.2.1-boost-1.65-tr1-removal.patch +) + +src_configure() { + tc-export CXX + + cat >> make.config <<- EOF || die + BOOST_LIB_DIR = "${EPREFIX}/usr/$(get_libdir)" + BOOST_INC_DIR = "${EPREFIX}/usr/include" + EOF +} + +src_install() { + dobin mkdssp + dosym mkdssp /usr/bin/dssp + doman doc/mkdssp.1 + dodoc README.txt changelog + + doenvd "${FILESDIR}"/30-${PN} +} diff --git a/sci-chemistry/dssp/files/30-dssp b/sci-chemistry/dssp/files/30-dssp new file mode 100644 index 00000000000..e0a5e0ce562 --- /dev/null +++ b/sci-chemistry/dssp/files/30-dssp @@ -0,0 +1 @@ +DSSP=/usr/bin/dssp \ No newline at end of file