1 |
commit: e498385f10f4c0ed81c60e10a4e85343c985432e |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 26 13:04:14 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 26 13:13:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e498385f |
7 |
|
8 |
dev-vcs/cvs-fast-export: bump up to 1.51 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/cvs-fast-export/Manifest | 1 + |
14 |
.../cvs-fast-export/cvs-fast-export-1.51.ebuild | 48 ++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/dev-vcs/cvs-fast-export/Manifest b/dev-vcs/cvs-fast-export/Manifest |
18 |
index f6f7471af36..3012db34431 100644 |
19 |
--- a/dev-vcs/cvs-fast-export/Manifest |
20 |
+++ b/dev-vcs/cvs-fast-export/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST cvs-fast-export-1.50.tar.gz 440789 BLAKE2B 86c9f582090601fe97c98eaadf927902dbc8b0351a02bed3b1eca77c75641495bf2e457db3d75f058ccfc7f36c8800d59d53c3bd4abccf46fffbe324626273c5 SHA512 29c0e3e87917e5f11a7be318240bf80327a5f46b796d9fcbb6a6fd4fadc91fac924d60a74de80559d4c2713021b8a8a518e2dcae7594928e1d040f2c8614065b |
23 |
+DIST cvs-fast-export-1.51.tar.gz 459647 BLAKE2B ebaa1aeedee5de2b7d76cdb0d91897bc779b2cff9b6ae9ddc5b3872f36792e0e1c3f152e340d50c25c5bbef3c7be4af5a0cc4d7f2fd5f12c722c45c43510afcc SHA512 3b004ad1a295722b7610444be2ff67097e7099fb17fdd1ebd2d237a30ffc2a31e8a90b5344a9488f3ea3abd4e104bdc0cff2d28dd56321df76ae9bf6f25e90f4 |
24 |
|
25 |
diff --git a/dev-vcs/cvs-fast-export/cvs-fast-export-1.51.ebuild b/dev-vcs/cvs-fast-export/cvs-fast-export-1.51.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..976b11d8e92 |
28 |
--- /dev/null |
29 |
+++ b/dev-vcs/cvs-fast-export/cvs-fast-export-1.51.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="fast-export history from a CVS repository or RCS collection" |
39 |
+HOMEPAGE="http://www.catb.org/~esr/cvs-fast-export/" |
40 |
+SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="" |
46 |
+ |
47 |
+RDEPEND="" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ app-text/asciidoc" |
50 |
+ |
51 |
+RESTRICT=test # upstream does not ship some tests in tarball |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ tc-export CC |
57 |
+ export prefix="${EPREFIX}"/usr |
58 |
+ |
59 |
+ # respect CC, CFLAGS and LDFLAGS |
60 |
+ sed \ |
61 |
+ -e 's/cc /$(CC) $(LDFLAGS) /' \ |
62 |
+ -e 's/^CFLAGS += -O/#&/' \ |
63 |
+ -e 's/CFLAGS=/CFLAGS+=/' \ |
64 |
+ -i Makefile || die |
65 |
+} |
66 |
+ |
67 |
+src_compile() { |
68 |
+ # '.adoc.html' rules can't be executed in parallel |
69 |
+ # as they reuse the same 'docbook-xsl.css' file name. |
70 |
+ emake -j1 html |
71 |
+ # Allow full parallelism for the rest |
72 |
+ emake |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ default |
77 |
+ dodoc README.adoc |
78 |
+} |