summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-10-17 10:48:22 +0200
committerPacho Ramos <pacho@gentoo.org>2024-10-17 10:50:51 +0200
commit5bd4ccbe9792ca08c9051a07c7f424a5f339073b (patch)
tree93ce152da0724b7a85dd49481c13aef5af4686b6 /sci-libs
parentnet-wireless/gnome-bluetooth: Fix VariableOrderWrong warning (diff)
downloadgentoo-5bd4ccbe9792ca08c9051a07c7f424a5f339073b.tar.gz
gentoo-5bd4ccbe9792ca08c9051a07c7f424a5f339073b.tar.bz2
gentoo-5bd4ccbe9792ca08c9051a07c7f424a5f339073b.zip
sci-libs/libcifpp: add 7.0.6
Closes: https://bugs.gentoo.org/941487 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libcifpp/Manifest2
-rw-r--r--sci-libs/libcifpp/libcifpp-7.0.6.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest
index d827c4d056a9..58a0d76e8738 100644
--- a/sci-libs/libcifpp/Manifest
+++ b/sci-libs/libcifpp/Manifest
@@ -4,3 +4,5 @@ DIST libcifpp-7.0.4-components.cif.xz 62591092 BLAKE2B f5fc502cfb0d5c33c2218a02c
DIST libcifpp-7.0.4.tar.gz 2598838 BLAKE2B db6e4b1573d243c511f15ea1fc28867c8a57eb1050c24a59c12a4608b59890ee567569ca4035daead7e74d206a77bb280c56d54ef8b050fe297ccd75cf48ffeb SHA512 6957b3e3ace855c22923391cfd05db40399b6b84fb194ccceaf7b460493ee8576573056296eb06fecf9e6e83c590776fdd5a09f06bb316de61f44468d2a53392
DIST libcifpp-7.0.5-components.cif.xz 65274864 BLAKE2B e39ff3d84c8a6977eb505dd68f729261e9caea58b254dc547ddc375a6e9501903aca3886b1ab31f7843251bb430f8b7ed2b27735eae60152e5b54149ec1c0f1a SHA512 f6320df7b839f10282d7c86c865597f201ea3a75c9c95cc69b1526062bb0b57bd37562545560aad2c5549937069ff3ea3e580466aaca8a8af1c736a34554ba98
DIST libcifpp-7.0.5.tar.gz 2648187 BLAKE2B 700cc68efb355a8e32a81b4ad9acbac0ad31760935ff664663a96e82c6ca74307f43a3c4ea378362c7fdb97deb73bb81021e9da3dd1b528d6eae98dec0a6e4aa SHA512 be4600dfaeb7211728d98caa283904407d0314aca52e63038a218b12d88ef331ad8de2a00d0e610781fa6dce5328d602e65fec9c40d4dd132b6aaed9dd0acf2b
+DIST libcifpp-7.0.6-components.cif.xz 65615784 BLAKE2B 680aa4e10e8297541f7c8f4eda5ed29bfbbbe0f91495b0cdb0f0796b3b800ab7a7ea97078f011d248e550c5fb5b3a5359dbddd70475a50e770f2aa1f1c8a4751 SHA512 4b992ae9f8a8acb5d15742899178e69b668380d67dfad1f320a2ca0c9e2f813d4877a9eb37729372265403b3b6c8d3a302b81b8a5d4087444a722b182495e432
+DIST libcifpp-7.0.6.tar.gz 2648194 BLAKE2B 569a0357b77a7b86686e49e5b117e926147ec93cf16671a3869d8d355e4fdbdc1144bbffb7be8ac29ac4299b9ca3860ca2bdbcf1cf5f6ed3f83eadf00beb5e3d SHA512 e0a599928d6126321a3b2af99943bb627369f10c97bf5eacfa314e245dcf3c195a46d34e7b30600e2d4ae94a87567e7d86fb8178eca75dad2a38d5fbd5b4dbc1
diff --git a/sci-libs/libcifpp/libcifpp-7.0.6.ebuild b/sci-libs/libcifpp/libcifpp-7.0.6.ebuild
new file mode 100644
index 000000000000..855615bcc0ce
--- /dev/null
+++ b/sci-libs/libcifpp/libcifpp-7.0.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="Code to work with mmCIF and PDB files"
+HOMEPAGE="https://github.com/PDB-REDO/libcifpp"
+# Update components file on every bump
+# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
+SRC_URI="
+ https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~pacho/${PN}/${P}-components.cif.xz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-cpp/eigen-3.4.0:3
+ dev-libs/boost:=
+ sys-libs/zlib
+ test? ( dev-cpp/catch:0 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ cp "${WORKDIR}"/${P}-components.cif rsrc/components.cif || die
+
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF
+ -DBUILD_TESTING="$(usex test)"
+ )
+ cmake_src_configure
+}