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 7645A13835B for ; Sun, 9 May 2021 20:54:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A1B5E077D; Sun, 9 May 2021 20:54:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 5723DE077D for ; Sun, 9 May 2021 20:54:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2BE2B340F4D for ; Sun, 9 May 2021 20:54:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 622FA59C for ; Sun, 9 May 2021 20:54:44 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1620593332.c94c04a54579b3509a3dcb9736c6a0082710f249.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/swi-prolog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild X-VCS-Directories: dev-lang/swi-prolog/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c94c04a54579b3509a3dcb9736c6a0082710f249 X-VCS-Branch: master Date: Sun, 9 May 2021 20:54:44 +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: 7f37b3c6-f0ff-4c16-8c0d-c97b03421c97 X-Archives-Hash: 8a99f5468965f833fdf7e7717423d0f0 commit: c94c04a54579b3509a3dcb9736c6a0082710f249 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Apr 5 11:51:10 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 9 20:48:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c94c04a5 dev-lang/swi-prolog: Tidyup, drop multilib - local mycmakeargs - Drop superfluous and post-inherit BUILD_DIR, CMAKE_USE_DIR - Drop superfluous eapply_user, done by cmake_src_prepare Bug: https://bugs.gentoo.org/780366 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild | 16 +++++++--------- dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild | 22 +++++++++------------- dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild | 16 +++++++--------- 3 files changed, 23 insertions(+), 31 deletions(-) diff --git a/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild b/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild index 9719353911f..53103284881 100644 --- a/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-8.2.4.ebuild @@ -3,11 +3,11 @@ EAPI=7 -inherit cmake desktop xdg-utils flag-o-matic multilib +inherit cmake desktop xdg-utils flag-o-matic PATCHSET_VER="0" -DESCRIPTION="versatile implementation of the Prolog programming language" +DESCRIPTION="Versatile implementation of the Prolog programming language" HOMEPAGE="https://www.swi-prolog.org/" SRC_URI="https://www.swi-prolog.org/download/stable/src/swipl-${PV}.tar.gz" @@ -49,17 +49,15 @@ DEPEND="${RDEPEND} java? ( test? ( =dev-java/junit-3.8* ) )" S="${WORKDIR}/swipl-${PV}" -BUILD_DIR="${S}/build" -CMAKE_USE_DIR="${S}" src_prepare() { if [[ -d "${WORKDIR}"/${PV} ]] ; then eapply "${WORKDIR}"/${PV} fi - eapply_user - sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die - sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die + sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \ + -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \ + -i CMakeLists.txt || die cmake_src_prepare } @@ -68,7 +66,7 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG - mycmakeargs=( + local mycmakeargs=( -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl -DUSE_GMP=$(usex gmp) -DINSTALL_DOCUMENTATION=$(use doc && usex archive) @@ -83,7 +81,7 @@ src_configure() { -DSWIPL_PACKAGES_QT=$(usex qt5) -DSWIPL_PACKAGES_X=$(usex X) -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) - ) + ) cmake_src_configure } diff --git a/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild b/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild index 81dffeb547e..914c832b353 100644 --- a/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-8.3.21.ebuild @@ -3,13 +3,11 @@ EAPI=7 -inherit cmake flag-o-matic multilib +inherit cmake flag-o-matic -PATCHSET_VER="0" - -DESCRIPTION="versatile implementation of the Prolog programming language" -HOMEPAGE="http://www.swi-prolog.org/" -SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" +DESCRIPTION="Versatile implementation of the Prolog programming language" +HOMEPAGE="https://www.swi-prolog.org/" +SRC_URI="https://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" LICENSE="BSD-2" SLOT="0" @@ -49,17 +47,15 @@ DEPEND="${RDEPEND} java? ( test? ( =dev-java/junit-3.8* ) )" S="${WORKDIR}/swipl-${PV}" -BUILD_DIR="${S}/build" -CMAKE_USE_DIR="${S}" src_prepare() { if [[ -d "${WORKDIR}"/${PV} ]] ; then eapply "${WORKDIR}"/${PV} fi - eapply_user - sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die - sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die + sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \ + -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \ + -i CMakeLists.txt || die cmake_src_prepare } @@ -68,7 +64,7 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG - mycmakeargs=( + local mycmakeargs=( -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl -DUSE_GMP=$(usex gmp) -DINSTALL_DOCUMENTATION=$(use doc && usex archive) @@ -83,7 +79,7 @@ src_configure() { -DSWIPL_PACKAGES_QT=$(usex qt5) -DSWIPL_PACKAGES_X=$(usex X) -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) - ) + ) cmake_src_configure } diff --git a/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild b/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild index a6117bd15bc..2a8883edddf 100644 --- a/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-8.3.22.ebuild @@ -3,11 +3,11 @@ EAPI=7 -inherit cmake desktop xdg-utils flag-o-matic multilib +inherit cmake desktop xdg-utils flag-o-matic PATCHSET_VER="0" -DESCRIPTION="versatile implementation of the Prolog programming language" +DESCRIPTION="Versatile implementation of the Prolog programming language" HOMEPAGE="https://www.swi-prolog.org/" SRC_URI="https://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" @@ -49,17 +49,15 @@ DEPEND="${RDEPEND} java? ( test? ( =dev-java/junit-3.8* ) )" S="${WORKDIR}/swipl-${PV}" -BUILD_DIR="${S}/build" -CMAKE_USE_DIR="${S}" src_prepare() { if [[ -d "${WORKDIR}"/${PV} ]] ; then eapply "${WORKDIR}"/${PV} fi - eapply_user - sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die - sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die + sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \ + -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \ + -i CMakeLists.txt || die cmake_src_prepare } @@ -68,7 +66,7 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG - mycmakeargs=( + local mycmakeargs=( -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl -DUSE_GMP=$(usex gmp) -DINSTALL_DOCUMENTATION=$(use doc && usex archive) @@ -83,7 +81,7 @@ src_configure() { -DSWIPL_PACKAGES_QT=$(usex qt5) -DSWIPL_PACKAGES_X=$(usex X) -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) - ) + ) cmake_src_configure }