summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-06-08 14:33:23 +0200
committerPacho Ramos <pacho@gentoo.org>2023-06-08 14:33:43 +0200
commitd88549bd7497dc9dec19a6c8bb5e038dc9822261 (patch)
tree5e1d20cfeeb91607b77a8a2e1e89b16230636430 /sci-libs/libcifpp
parentmedia-fonts/noto: Stabilize 20230430 x86, #908057 (diff)
downloadgentoo-d88549bd7497dc9dec19a6c8bb5e038dc9822261.tar.gz
gentoo-d88549bd7497dc9dec19a6c8bb5e038dc9822261.tar.bz2
gentoo-d88549bd7497dc9dec19a6c8bb5e038dc9822261.zip
sci-libs/libcifpp: add 5.1.0.1
Closes: https://bugs.gentoo.org/905364 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs/libcifpp')
-rw-r--r--sci-libs/libcifpp/Manifest2
-rw-r--r--sci-libs/libcifpp/libcifpp-5.1.0.1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest
index 2f693e6d4efe..e5a01eff1d3d 100644
--- a/sci-libs/libcifpp/Manifest
+++ b/sci-libs/libcifpp/Manifest
@@ -1,4 +1,6 @@
DIST libcifpp-5.0.8-components.cif.gz 89984770 BLAKE2B d42147d4da56589ac30de9fc3cdacd43e036f548eebf80a19d878c4bf0be535578eec6b78625e1ba60db53090ce5e4b9a3e59b06705f208b660fb2e37e79d1c2 SHA512 5f9705714816656aa910b571d77966926d66b2724136119857138975f8be5bb2e889e0c9b28ef1340a72857afb5831dba529b96e8dfc796f739e24b0dcab0424
DIST libcifpp-5.0.8.tar.gz 1873629 BLAKE2B 07257a898b1253995880fea9b416b3a7681122b544f8397d353fda4069c33f4a6c2d5cf2210983acf68dc56cb27a20d780461c7c2485a445855e7b45cccd326d SHA512 4ea67fa4a93218fe96289de95591faa9411508e41e308f4ff470033fb0deb4029a86eafb7ba9295807fe3b350e8cc9f2267f7735ee8b1dbb431ee0275db2b8cc
DIST libcifpp-5.1.0-components.cif.xz 58001076 BLAKE2B 4d838e47c74540af54256f6124bd79c9c372c6768eeeabc620b54e1b2c49b2c2adc0b937f195f9544b9f2362fb60c209fb74f88c451ba6d50fe5da5f15ba768b SHA512 e7933a78a61e40c4b2e2aedfda0f36c79939fadc71c78cfde59fcec4de5c2b6c9cf1dbccc383a2f0bbf48744c776cdbb5e7c862e47a6fd2ec229c811caa9b5bc
+DIST libcifpp-5.1.0.1-components.cif.xz 58001076 BLAKE2B 4d838e47c74540af54256f6124bd79c9c372c6768eeeabc620b54e1b2c49b2c2adc0b937f195f9544b9f2362fb60c209fb74f88c451ba6d50fe5da5f15ba768b SHA512 e7933a78a61e40c4b2e2aedfda0f36c79939fadc71c78cfde59fcec4de5c2b6c9cf1dbccc383a2f0bbf48744c776cdbb5e7c862e47a6fd2ec229c811caa9b5bc
+DIST libcifpp-5.1.0.1.tar.gz 2242975 BLAKE2B 7cada39ed6096ee12e662422d1676dadbf0ae71958c206ef4105daeeaaa9b14cbf17143c3baf4e2914e8289801667829af1361d643846827044d7c8e1eb15fa2 SHA512 9ca3d7db5889d1baf713475fbfeaf355f45ecb139c838da6348d4bb054c2241204499d3f46e4d45075f2d60f6c48e29866ccf2994c26098b303573d7ba39204d
DIST libcifpp-5.1.0.tar.gz 2242950 BLAKE2B aa7efffa580d3e29881dcfcc14e2893cb8e582ca36b353f044501b07aa151c72276046ca21275aaa958eb3345c07d377c1a1b4db14b55f1ee59039eb0bc78668 SHA512 8128091afa98ea5aaf17ca3ab23e68a8b3cf903557ee59bdae8ebdba0f65a52883933319d3aa3559e3414eb1a1a2da6b96c63f7df3902ef9d00bfcdbee7e60c4
diff --git a/sci-libs/libcifpp/libcifpp-5.1.0.1.ebuild b/sci-libs/libcifpp/libcifpp-5.1.0.1.ebuild
new file mode 100644
index 000000000000..8d30793f975e
--- /dev/null
+++ b/sci-libs/libcifpp/libcifpp-5.1.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 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
+# ftp://ftp.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
+ dev-libs/boost:=
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ cp "${WORKDIR}"/${P}-components.cif data/components.cif || die
+
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ -DCIFPP_DOWNLOAD_CCD=OFF
+ -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF
+ -DENABLE_TESTING="$(usex test)"
+ )
+ cmake_src_configure
+}