public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-arch/tarsync/files/, app-arch/tarsync/
@ 2020-11-14 15:06 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-11-14 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     fe4887ef3f0503046a85748b30a4fe0c1f6e58ce
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 15:04:07 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 15:04:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4887ef

app-arch/tarsync: Port to EAPI 7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-arch/tarsync/files/tarsync-0.2.1-make.patch |  8 ++++----
 app-arch/tarsync/tarsync-0.2.1-r1.ebuild        | 24 ++++++++++++------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/app-arch/tarsync/files/tarsync-0.2.1-make.patch b/app-arch/tarsync/files/tarsync-0.2.1-make.patch
index 72591115a45..4f3d062f361 100644
--- a/app-arch/tarsync/files/tarsync-0.2.1-make.patch
+++ b/app-arch/tarsync/files/tarsync-0.2.1-make.patch
@@ -1,13 +1,13 @@
-Respect CC and LDFLAGS.
+Respect CC, CPPFLAGS and LDFLAGS.
 
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -2,7 +2,7 @@
  	CC=gcc
  endif
  tarsync:	main.o names.o tar.o string-misc.o fs.o options.o excludes.o
 -	gcc $(CFLAGS) $^ -o tarsync -lcfile
-+	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o tarsync -lcfile
++	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -o tarsync -lcfile
  all:		tarsync
  
  clean:	

diff --git a/app-arch/tarsync/tarsync-0.2.1-r1.ebuild b/app-arch/tarsync/tarsync-0.2.1-r1.ebuild
index c9db986bc6c..f2048606800 100644
--- a/app-arch/tarsync/tarsync-0.2.1-r1.ebuild
+++ b/app-arch/tarsync/tarsync-0.2.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Delta compression suite for using/generating binary patches"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -12,22 +12,22 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~hppa ppc x86 ~amd64-linux"
-IUSE=""
 
 DEPEND=">=dev-util/diffball-0.7"
 RDEPEND="${DEPEND}"
 
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
 
-pkg_setup() {
-	tc-export CC
-}
+PATCHES=(
+	"${FILESDIR}"/${P}-make.patch
+	"${FILESDIR}"/${P}-gcc5.patch
+)
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-make.patch
-	epatch "${FILESDIR}"/${P}-gcc5.patch
+src_configure() {
+	tc-export CC
 }
 
 src_install() {
-	dobin "${PN}" #make install doesn't support prefix
+	dobin tarsync #make install doesn't support prefix
+	einstalldocs
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-14 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-14 15:06 [gentoo-commits] repo/gentoo:master commit in: app-arch/tarsync/files/, app-arch/tarsync/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox