1 |
commit: f8b3a80aac3405744cd9067d8b1fa1ce9a09f74c |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 22 08:49:33 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 22 08:49:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b3a80a |
7 |
|
8 |
dev-vcs/cvs-fast-export: bump up to 1.54 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
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.54.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 f41a6bcebec..e178b3b7797 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.53.tar.gz 472991 BLAKE2B 4fb69bbe75cb4a2d54bf876ebefc4e2fbb12e3a22f9cfcd45f31adec6c65406b3b3647513b884f0d3356bf78f0c8b5684024d6bdea41776a68d48f08879e773b SHA512 cd40543d73c2367b76c181d262b12b13223fc66984ce616d2b0df22f9562a99940dcd6e1e4996a237f2f37c5a8ed48992c2cda521b92238b6bb78b4144d0d503 |
23 |
+DIST cvs-fast-export-1.54.tar.gz 477045 BLAKE2B 2fb8826712b0e0ba9573e9ebd5178a0090c7d91de4dc3aae58faa006ef9c51fe0ec913daa3afbcefaa07ea430358d31c85d26a7399679fef2e14fbf0a6ee5e40 SHA512 b209049554f3599a4817496bb0b75a3cf6b84bce2455f78271872fa3b95241d4e1e5e3dfd5583d6216f5bbb273d70b5278e23d226ace396f1f0e014b87745c73 |
24 |
|
25 |
diff --git a/dev-vcs/cvs-fast-export/cvs-fast-export-1.54.ebuild b/dev-vcs/cvs-fast-export/cvs-fast-export-1.54.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..976b11d8e92 |
28 |
--- /dev/null |
29 |
+++ b/dev-vcs/cvs-fast-export/cvs-fast-export-1.54.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 |
+} |