From nobody Sun Nov 13 23:12:28 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9Srs1634z4hPf6; Sun, 13 Nov 2022 23:12:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9Srs0d17z3j23; Sun, 13 Nov 2022 23:12:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668381149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nwxunyi9Z/0b834yBICeF2sIRE/TZGzr3tuR7KKlxW8=; b=wGe81nOWfC9pBV7j96E7SNxurDdJatMHRieNlpcoEbhy7smks4SIIEcCRjHSECA3eMFaUE YT4EBMRiUrHUGU+tV5H5QPCsdqa6PvRrAQBdlGoo6qxRsHQkSqxnyaProSSF/XHYyHA+0n qfd4l6LHHdv/7pJcqmlw91GRGbEkoaMDrKtRMdy+pVxizqpEGriBXTMG9grRMGUBNRpxCV nc3RU3y5IzVtlcaUb2sb/ITa6i1rsx51o1oGp7DISpyV7XYYVSnQ8hNo202Z9qGN2OXeTW DAME/nMy9llb/lMqMZ9HU2h88E17lK+1+8yNxELEvkTiKa3ajJiJ/w+4ZR+Aiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668381149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nwxunyi9Z/0b834yBICeF2sIRE/TZGzr3tuR7KKlxW8=; b=uSXM2kt8TgVcV7KL1DjUkfhqyaU8nc+Jtd76nk2Nv5Ly0HGD3gFwIrLtEpIjE1xYGY0jNb rimbozZDWLsZqaAX1GpKHNBkWZPDvmnRJVTOFa2HehuIdnisx6BeATx83SiSsPaS7l5oYc 0htx3KzRdnkFNEIcd4TVk+QW7N+hdR+cbc/rmswQkXF8IS8l6LtoWDSKNIAw9DuwLw2sVF Uzd/+mSTe+2i/jW7MrDjzfEaxsjmscpWWP4gW+OQUUvmltv9auO13PVcgn4QRjv4yTvIp9 BiI1WVA3kF+cgDktku0CpBTHgfUlwZ7UelRj4aDzL0MaaVvlr9iKH5jxGG6cbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668381149; a=rsa-sha256; cv=none; b=eZPEondIHbAJyHoiSfvaeDITqtOnp0awdjzGNo4357K2mBMBjq6nv+4d1qPiNBWVdBsXrQ 1C5gRE7CQ+9xIVCPmLpLcyNcTCc/qZBwzVc413aku+pbE4egoenySBTdSzCjekk8zaTZCB ofGFXIJwfCjADow1DbMbvs7KLoO8moIocSyThSiCxaPd0C5A/0KwdSMV7VayilOH34h8uU 4pdi/IgFGk3HktPWHWQeVz4o/Dae9joBBVAwwCVQX/620xkkErMAfThaLsZUdbr27zU816 XkSeUsbaNT/cy6vJNEBsD/37FGu5Ep9EiY4us54MQk6y2OZu9DWEAm0/IbYCQw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9Srr6pCvzL1K; Sun, 13 Nov 2022 23:12:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2ADNCSxo002545; Sun, 13 Nov 2022 23:12:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ADNCSo1002544; Sun, 13 Nov 2022 23:12:28 GMT (envelope-from git) Date: Sun, 13 Nov 2022 23:12:28 GMT Message-Id: <202211132312.2ADNCSo1002544@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b1acd3f15930 - main - science/libcifpp: Update 4.2.2 -> 5.0.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b1acd3f159303eefaa81d77f196cfea38ca70426 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1acd3f159303eefaa81d77f196cfea38ca70426 commit b1acd3f159303eefaa81d77f196cfea38ca70426 Author: Yuri Victorovich AuthorDate: 2022-11-13 19:12:47 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-13 23:12:27 +0000 science/libcifpp: Update 4.2.2 -> 5.0.3 --- science/libcifpp/Makefile | 18 ++++++++-- science/libcifpp/distinfo | 8 +++-- science/libcifpp/files/patch-CMakeLists.txt | 11 ++++++ science/libcifpp/pkg-plist | 52 ++++++++++++++++++----------- 4 files changed, 64 insertions(+), 25 deletions(-) diff --git a/science/libcifpp/Makefile b/science/libcifpp/Makefile index f65f7e4af785..ef1a1b079566 100644 --- a/science/libcifpp/Makefile +++ b/science/libcifpp/Makefile @@ -1,7 +1,11 @@ PORTNAME= libcifpp DISTVERSIONPREFIX= v -DISTVERSION= 4.2.2 +DISTVERSION= 5.0.3 CATEGORIES= science +MASTER_SITES= ftp://ftp.wwpdb.org/pub/pdb/data/monomers/:components +DISTFILES= components.cif.gz:components +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} +EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}_GH0${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library to manipulate mmCIF and PDB files @@ -11,14 +15,22 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs +RUN_DEPENDS= bash:shells/bash -USES= cmake:testing compiler:c++17-lang +USES= cmake:testing compiler:c++17-lang shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= PDB-REDO +SHEBANG_FILES= tools/update-libcifpp-data.in + CMAKE_ON= BUILD_SHARED_LIBS -CMAKE_TESTING_ON= CIFPP_BUILD_TESTS +CMAKE_ARGS= -DDISTDIR_FULL=${DISTDIR}/${DIST_SUBDIR} +CMAKE_TESTING_ON= ENABLE_TESTING + +post-install: + @cd ${STAGEDIR}${PREFIX} && \ + ${RM} -r var etc/libcifpp etc/periodic .include diff --git a/science/libcifpp/distinfo b/science/libcifpp/distinfo index eb335874d309..46fe6b941fc3 100644 --- a/science/libcifpp/distinfo +++ b/science/libcifpp/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1664847727 -SHA256 (PDB-REDO-libcifpp-v4.2.2_GH0.tar.gz) = 458050db52416866033b5557939bc9221bce84f9ffe95cfe1680548db9b2ba39 -SIZE (PDB-REDO-libcifpp-v4.2.2_GH0.tar.gz) = 1274530 +TIMESTAMP = 1668337095 +SHA256 (libcifpp-5.0.3/components.cif.gz) = 941b2cac1137a95fcf7bb5237fc2dd0d86628e003bc484d38aa27cea2b33f551 +SIZE (libcifpp-5.0.3/components.cif.gz) = 88204196 +SHA256 (libcifpp-5.0.3/PDB-REDO-libcifpp-v5.0.3_GH0.tar.gz) = 600af7c29fe25d60c0dd9ae06191c5db2b587dedecde983ee3472e5d9eee1c0c +SIZE (libcifpp-5.0.3/PDB-REDO-libcifpp-v5.0.3_GH0.tar.gz) = 1869491 diff --git a/science/libcifpp/files/patch-CMakeLists.txt b/science/libcifpp/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..1ba47658f564 --- /dev/null +++ b/science/libcifpp/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-11-13 18:41:37 UTC ++++ CMakeLists.txt +@@ -285,7 +285,7 @@ if(CIFPP_DOWNLOAD_CCD) + find_program(GUNZIP gunzip) + + if(GUNZIP) +- file(DOWNLOAD ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz ${COMPONENTS_CIF}.gz ++ file(DOWNLOAD file://${DISTDIR_FULL}/components.cif.gz ${COMPONENTS_CIF}.gz + SHOW_PROGRESS) + add_custom_command(OUTPUT ${COMPONENTS_CIF} + COMMAND ${GUNZIP} ${COMPONENTS_CIF}.gz diff --git a/science/libcifpp/pkg-plist b/science/libcifpp/pkg-plist index 71557f19e2a8..e7a050083ee0 100644 --- a/science/libcifpp/pkg-plist +++ b/science/libcifpp/pkg-plist @@ -1,26 +1,40 @@ -include/cif++/AtomType.hpp -include/cif++/BondMap.hpp -include/cif++/Cif++.hpp -include/cif++/Cif++Export.hpp -include/cif++/Cif2PDB.hpp -include/cif++/CifParser.hpp -include/cif++/CifUtils.hpp -include/cif++/CifValidator.hpp -include/cif++/Compound.hpp -include/cif++/PDB2Cif.hpp -include/cif++/PDB2CifRemark3.hpp -include/cif++/Point.hpp -include/cif++/Secondary.hpp -include/cif++/Structure.hpp -include/cif++/Symmetry.hpp -include/cif++/TlsParser.hpp +etc/libcifpp.conf +include/cif++.hpp +include/cif++/atom_type.hpp +include/cif++/category.hpp +include/cif++/compound.hpp +include/cif++/condition.hpp +include/cif++/datablock.hpp +include/cif++/dictionary_parser.hpp +include/cif++/file.hpp +include/cif++/format.hpp +include/cif++/forward_decl.hpp +include/cif++/gzio.hpp +include/cif++/item.hpp +include/cif++/iterator.hpp +include/cif++/list.hpp +include/cif++/model.hpp +include/cif++/parser.hpp +include/cif++/pdb/cif2pdb.hpp +include/cif++/pdb/io.hpp +include/cif++/pdb/pdb2cif.hpp +include/cif++/pdb/pdb2cif_remark_3.hpp +include/cif++/pdb/tls.hpp +include/cif++/point.hpp +include/cif++/row.hpp +include/cif++/symmetry.hpp +include/cif++/text.hpp +include/cif++/utilities.hpp +include/cif++/validate.hpp lib/cmake/cifpp/cifppConfig.cmake lib/cmake/cifpp/cifppConfigVersion.cmake lib/cmake/cifpp/cifppTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/cifpp/cifppTargets.cmake lib/libcifpp.so -lib/libcifpp.so.4 -lib/libcifpp.so.4.2.2 +lib/libcifpp.so.5 +lib/libcifpp.so.5.0.3 libdata/pkgconfig/libcifpp.pc +%%DATADIR%%/components.cif %%DATADIR%%/mmcif_ddl.dic -%%DATADIR%%/mmcif_pdbx_v50.dic +%%DATADIR%%/mmcif_ma.dic +%%DATADIR%%/mmcif_pdbx.dic