public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libvterm/
Date: Thu,  1 Apr 2021 00:43:50 +0000 (UTC)	[thread overview]
Message-ID: <1617237802.a009cde154a1a6d2c68de9fbc093917ddc940506.sam@gentoo> (raw)

commit:     a009cde154a1a6d2c68de9fbc093917ddc940506
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  1 00:22:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  1 00:43:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a009cde1

dev-libs/libvterm: port to EAPI 7 for old, respect CC

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libvterm/libvterm-0.0_pre20181126.ebuild | 18 ++++++++++--------
 dev-libs/libvterm/libvterm-0.1.1.ebuild           | 12 +++++++-----
 dev-libs/libvterm/libvterm-0.1.2.ebuild           | 11 +++++++----
 dev-libs/libvterm/libvterm-0.1.3.ebuild           |  9 ++++++---
 4 files changed, 30 insertions(+), 20 deletions(-)

diff --git a/dev-libs/libvterm/libvterm-0.0_pre20181126.ebuild b/dev-libs/libvterm/libvterm-0.0_pre20181126.ebuild
index 00da1e7c066..75e2b16d3eb 100644
--- a/dev-libs/libvterm/libvterm-0.0_pre20181126.ebuild
+++ b/dev-libs/libvterm/libvterm-0.0_pre20181126.ebuild
@@ -1,27 +1,28 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils flag-o-matic ltprune multilib
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
 HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
 SRC_URI="https://dev.gentoo.org/~tranquility/distfiles/${P}.tar.gz"
+S="${WORKDIR}"/libvterm-0.0
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
-DEPEND="
+BDEPEND="
 	sys-devel/libtool
 	virtual/pkgconfig"
-
 RDEPEND="!dev-libs/libvterm-neovim"
 
-S=${WORKDIR}/libvterm-0.0
-
 src_compile() {
+	tc-export CC
 	append-cflags -fPIC
+
 	emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }
 
@@ -30,5 +31,6 @@ src_install() {
 		PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
 		DESTDIR="${D}" install
-	prune_libtool_files
+
+	find "${ED}" -name '*.la' -delete || die
 }

diff --git a/dev-libs/libvterm/libvterm-0.1.1.ebuild b/dev-libs/libvterm/libvterm-0.1.1.ebuild
index a9f83554b9e..64440bd5eae 100644
--- a/dev-libs/libvterm/libvterm-0.1.1.ebuild
+++ b/dev-libs/libvterm/libvterm-0.1.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit flag-o-matic
+
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
 HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
@@ -11,18 +12,18 @@ SRC_URI="https://launchpad.net/${PN}/trunk/v$(ver_cut 1-2)/+download/${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
 
 BDEPEND="
 	dev-lang/perl
 	sys-devel/libtool
 	virtual/pkgconfig
 "
-DEPEND=""
 RDEPEND="!dev-libs/libvterm-neovim"
 
 src_compile() {
+	tc-export CC
 	append-cflags -fPIC
+
 	emake VERBOSE=1 PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }
 
@@ -32,5 +33,6 @@ src_install() {
 		PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
 		DESTDIR="${D}" install
-	find "${D}" -name '*.la' -delete || die "Failed to prune libtool files"
+
+	find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files"
 }

diff --git a/dev-libs/libvterm/libvterm-0.1.2.ebuild b/dev-libs/libvterm/libvterm-0.1.2.ebuild
index 6802cf9d98a..d4ac11e08b8 100644
--- a/dev-libs/libvterm/libvterm-0.1.2.ebuild
+++ b/dev-libs/libvterm/libvterm-0.1.2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit flag-o-matic
+
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
 HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
@@ -17,11 +18,12 @@ BDEPEND="
 	sys-devel/libtool
 	virtual/pkgconfig
 "
-DEPEND=""
 RDEPEND="!dev-libs/libvterm-neovim"
 
 src_compile() {
+	tc-export CC
 	append-cflags -fPIC
+
 	emake VERBOSE=1 PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }
@@ -32,5 +34,6 @@ src_install() {
 		PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
 		DESTDIR="${D}" install
-	find "${D}" -name '*.la' -delete || die "Failed to prune libtool files"
+
+	find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files"
 }

diff --git a/dev-libs/libvterm/libvterm-0.1.3.ebuild b/dev-libs/libvterm/libvterm-0.1.3.ebuild
index fbc62d84bc3..b228336dfdb 100644
--- a/dev-libs/libvterm/libvterm-0.1.3.ebuild
+++ b/dev-libs/libvterm/libvterm-0.1.3.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit flag-o-matic
 
 DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
@@ -17,10 +18,11 @@ BDEPEND="
 	sys-devel/libtool
 	virtual/pkgconfig
 "
-DEPEND=""
 RDEPEND="!dev-libs/libvterm-neovim"
 
 src_compile() {
+	tc-export CC
+
 	append-cflags -fPIC
 	emake VERBOSE=1 PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
@@ -32,5 +34,6 @@ src_install() {
 		PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
 		DESTDIR="${D}" install
-	find "${D}" -name '*.la' -delete || die "Failed to prune libtool files"
+
+	find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files"
 }


             reply	other threads:[~2021-04-01  0:43 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01  0:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-01 20:57 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libvterm/ Arthur Zamarin
2023-10-19 12:17 Sam James
2023-10-19  6:16 Joonas Niilola
2023-10-19  6:16 Joonas Niilola
2023-08-28 22:08 Sam James
2023-06-14 17:28 Matt Turner
2023-04-08 20:56 Marek Szuba
2023-04-08 13:42 Luca Barbato
2022-12-02 12:01 Arthur Zamarin
2022-11-08  4:54 Jakov Smolić
2022-11-07 17:27 Arthur Zamarin
2022-10-01  1:29 Sam James
2022-07-29  4:17 Sam James
2022-07-15  7:40 Sam James
2022-06-02 10:50 Matt Turner
2022-03-31 18:45 Jakov Smolić
2022-03-31 18:45 Jakov Smolić
2022-02-26  3:44 Sam James
2022-02-26  3:44 Sam James
2021-10-11 13:47 Yixun Lan
2021-06-27 20:03 Aaron Bauman
2021-04-01 22:33 Sam James
2021-04-01 21:17 Sam James
2021-04-01 12:11 Thomas Deutschmann
2020-04-28 19:23 Mart Raudsepp
2020-01-16 15:45 Tim Harder
2019-12-29  9:24 Mikle Kolyada
2019-11-28 19:40 Patrick McLean
2019-09-26 17:34 Michał Górny
2019-09-26 17:34 Michał Górny
2019-09-26 17:34 Michał Górny
2019-09-26 17:34 Michał Górny
2019-09-26 17:34 Michał Górny
2019-09-20  8:13 Michał Górny
2019-09-20  8:13 Michał Górny
2019-04-20 19:01 Mikle Kolyada
2018-12-12 16:49 Ole Reifschneider
2018-02-16 14:08 Patrice Clement
2018-02-16  9:45 Ole Reifschneider
2018-01-05 11:18 Patrice Clement
2018-01-05 11:18 Patrice Clement
2016-03-05 14:29 Ole Reifschneider
2015-10-26 18:24 Ole Reifschneider
2015-10-23 10:31 Ole Reifschneider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617237802.a009cde154a1a6d2c68de9fbc093917ddc940506.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox