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 6617D158086 for ; Tue, 5 Oct 2021 09:17:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8734CE0831; Tue, 5 Oct 2021 09:17:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E11AE0831 for ; Tue, 5 Oct 2021 09:17:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46E6134311B for ; Tue, 5 Oct 2021 09:17:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8F5BDC for ; Tue, 5 Oct 2021 09:17:51 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1633425391.98f0eec28d0c0751ae67afe4f5e2c8cceca21c42.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lmfit/files/, sci-libs/lmfit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/lmfit/Manifest sci-libs/lmfit/files/lmfit-9.0-cmake.patch sci-libs/lmfit/lmfit-9.0.ebuild X-VCS-Directories: sci-libs/lmfit/files/ sci-libs/lmfit/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 98f0eec28d0c0751ae67afe4f5e2c8cceca21c42 X-VCS-Branch: master Date: Tue, 5 Oct 2021 09:17:51 +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: 09012a68-8816-4a9b-96e7-29350e9c7291 X-Archives-Hash: 88612c30a05c13ae3021e9eb4073ffe2 commit: 98f0eec28d0c0751ae67afe4f5e2c8cceca21c42 Author: Jakov Smolić gentoo org> AuthorDate: Tue Oct 5 09:08:38 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Tue Oct 5 09:16:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f0eec2 sci-libs/lmfit: add 9.0 Signed-off-by: Jakov Smolić gentoo.org> sci-libs/lmfit/Manifest | 1 + sci-libs/lmfit/files/lmfit-9.0-cmake.patch | 50 ++++++++++++++++++++++++++++++ sci-libs/lmfit/lmfit-9.0.ebuild | 20 ++++++++++++ 3 files changed, 71 insertions(+) diff --git a/sci-libs/lmfit/Manifest b/sci-libs/lmfit/Manifest index ba6266162ad..72792614058 100644 --- a/sci-libs/lmfit/Manifest +++ b/sci-libs/lmfit/Manifest @@ -1 +1,2 @@ DIST lmfit-8.2.2.tgz 31970 BLAKE2B 67eebc0e58d3d78057afcd84f35adcfea783c8501a5f8934dd07c38eb2419b1c43bedd3401a830a993005913138bdf8d1dc73c2142983b9f881f0db9bec06b93 SHA512 5835dce914027429cb36765543cf6b872e4ef1acd8feaeca281f9edf286fda89db78fbc0713dcfea4e4f2fe55a1b05317e6428980060bc3acce579ef1fa0c271 +DIST lmfit-9.0.tar.gz 36686 BLAKE2B 34d77a9101dcea1387df09e58cf8b69e51b1961ba8f1f73ac070abcc4c6ddbf1a1cd1f4bf2568942442f0c4c3815288959259c16e505ad1a91a4db2a2753bed6 SHA512 523d18c75498f5586c55e6dfcab8d1005aaef61d60e8d482814ced4f90bcd14d72c53ee71ed1991651d38845cce67e3da756fab9500431d6f435fa5ad998c2b1 diff --git a/sci-libs/lmfit/files/lmfit-9.0-cmake.patch b/sci-libs/lmfit/files/lmfit-9.0-cmake.patch new file mode 100644 index 00000000000..0c3270052cb --- /dev/null +++ b/sci-libs/lmfit/files/lmfit-9.0-cmake.patch @@ -0,0 +1,50 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,9 +52,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + set(destination ${CMAKE_INSTALL_PREFIX}) + configure_file("lmfit.pc.in" "lmfit.pc" @ONLY) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/lmfit.pc" +- DESTINATION "${destination}/lib/pkgconfig/") ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") + + include(CTest) ++include(GNUInstallDirs) + + add_subdirectory(lib) + add_subdirectory(demo) +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -19,13 +19,13 @@ link_libm(${lib}) + + install( + TARGETS ${lib} +- LIBRARY DESTINATION ${destination}/lib +- RUNTIME DESTINATION ${destination}/lib +- ARCHIVE DESTINATION ${destination}/lib ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/lib ++ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/lib ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/lib + COMPONENT Libraries) + install( + FILES ${inc_files} +- DESTINATION ${destination}/include ++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/include + COMPONENT Headers) + + if(WIN32) +--- a/man/CMakeLists.txt ++++ b/man/CMakeLists.txt +@@ -15,11 +15,11 @@ function(one_page pname section) + ) + install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.${section} +- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man${section}" ++ DESTINATION "${CMAKE_INSTALL_MANDIR}/man${section}" + ) + install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.html +- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/lmfit/html" ++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html" + ) + endfunction() + diff --git a/sci-libs/lmfit/lmfit-9.0.ebuild b/sci-libs/lmfit/lmfit-9.0.ebuild new file mode 100644 index 00000000000..919ba7d7e77 --- /dev/null +++ b/sci-libs/lmfit/lmfit-9.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_P="${PN}-v${PV}" +DESCRIPTION="library for Levenberg-Marquardt least-squares minimization and curve fitting" +HOMEPAGE="https://jugit.fz-juelich.de/mlz/lmfit" +SRC_URI="https://jugit.fz-juelich.de/mlz/lmfit/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +PATCHES=( + "${FILESDIR}"/${P}-cmake.patch +)