commit:     3003e2c3042bccf33d98d51b70e5c18744a6988c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 23:22:58 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 23:23:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3003e2c3

dev-vcs/cvs-fast-export: bump up to 1.46

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-vcs/cvs-fast-export/Manifest                   |  1 +
 .../cvs-fast-export/cvs-fast-export-1.46.ebuild    | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-vcs/cvs-fast-export/Manifest b/dev-vcs/cvs-fast-export/Manifest
index bfc24493afe..54318883aa8 100644
--- a/dev-vcs/cvs-fast-export/Manifest
+++ b/dev-vcs/cvs-fast-export/Manifest
@@ -1 +1,2 @@
 DIST cvs-fast-export-1.45.tar.gz 517917 BLAKE2B 
47d0debe2ea4d5674630065ee320c5db71f7ab6e4b17b7850d28c1951359ea98c639639574a7c3a25b9ec4e09ff53f1c5db566bff070e6381061fd828e875061
 SHA512 
f3acadabdd74f2099003a0cda29b021ea2173127af1a358bcb855397be95edaff2b1f30d3cf31dd6c08e79a8bad07b80b826c374d9b5e43555ec60d08dd577e4
+DIST cvs-fast-export-1.46.tar.gz 519521 BLAKE2B 
7ecf0a87bef922a0fa69c1f63ab07e943e2a501c8565a610df3cb07e3af04b9abea02e78ae1d764c715e8e8b402cdc32f41e9109cee030d8339ebb8bdb97e561
 SHA512 
bd2e2a426bdfd76af06346c4a20469d134dd33ee98457afd8db3f1599e6f186451eb181057c97dd7383d35e66c4915f2cb42d51b818127cb3464c8cafc2f34f3

diff --git a/dev-vcs/cvs-fast-export/cvs-fast-export-1.46.ebuild 
b/dev-vcs/cvs-fast-export/cvs-fast-export-1.46.ebuild
new file mode 100644
index 00000000000..c1ecf983231
--- /dev/null
+++ b/dev-vcs/cvs-fast-export/cvs-fast-export-1.46.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="fast-export history from a CVS repository or RCS collection"
+HOMEPAGE="http://www.catb.org/~esr/cvs-fast-export/";
+SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       app-text/asciidoc"
+
+RESTRICT=test # upstream does not ship some tests in tarball
+
+src_prepare() {
+       default
+
+       tc-export CC
+       export prefix=/usr
+
+       # respect CC, CFLAGS and LDFLAGS
+       sed \
+               -e 's/cc /$(CC) $(LDFLAGS) /' \
+               -e 's/^CFLAGS += -O/#&/' \
+               -e 's/CFLAGS=/CFLAGS+=/' \
+               -i Makefile || die
+}
+
+src_compile() {
+       # '.adoc.html' rules can't be executed in parallel
+       # as they reuse the same 'docbook-xsl.css' file name.
+       emake -j1 html
+       # Allow full parallelism for the rest
+       emake
+}
+
+src_install() {
+       default
+       dodoc README
+}

Reply via email to