1 |
commit: 08ac873b4a35c7e24ba3948c4a00d932b745b52e |
2 |
Author: Yuta SATOH <nigoro.dev <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 31 16:12:03 2016 +0000 |
4 |
Commit: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp> |
5 |
CommitDate: Mon Oct 31 16:12:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-bsd.git/commit/?id=08ac873b |
7 |
|
8 |
dev-util/catalyst-9999: import from latest tree. |
9 |
|
10 |
dev-util/catalyst/catalyst-9999.ebuild | 63 ++++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 63 insertions(+) |
12 |
|
13 |
diff --git a/dev-util/catalyst/catalyst-9999.ebuild b/dev-util/catalyst/catalyst-9999.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..adc1244 |
16 |
--- /dev/null |
17 |
+++ b/dev-util/catalyst/catalyst-9999.ebuild |
18 |
@@ -0,0 +1,63 @@ |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+ |
25 |
+if [[ ${PV} == *9999* ]]; then |
26 |
+ SRC_ECLASS="git-2" |
27 |
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/catalyst.git" |
28 |
+ EGIT_BRANCH="master" |
29 |
+ S="${WORKDIR}/${PN}" |
30 |
+else |
31 |
+ SRC_URI="mirror://gentoo/${P}.tar.bz2 |
32 |
+ https://dev.gentoo.org/~dolsen/releases/catalyst/${P}.tar.bz2 |
33 |
+ https://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2 |
34 |
+ https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2" |
35 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
36 |
+fi |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{3_4,3_5} ) |
39 |
+ |
40 |
+inherit distutils-r1 multilib ${SRC_ECLASS} |
41 |
+ |
42 |
+DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux" |
43 |
+HOMEPAGE="https://www.gentoo.org/proj/en/releng/catalyst/" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+IUSE="ccache doc kernel_linux" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ app-text/asciidoc |
51 |
+ >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+RDEPEND=" |
54 |
+ =dev-python/pydecomp-9999[${PYTHON_USEDEP}] |
55 |
+ app-arch/lbzip2 |
56 |
+ app-crypt/shash |
57 |
+ app-arch/tar[xattr] |
58 |
+ virtual/cdrtools |
59 |
+ amd64? ( >=sys-boot/syslinux-3.72 ) |
60 |
+ ia64? ( sys-fs/dosfstools ) |
61 |
+ x86? ( >=sys-boot/syslinux-3.72 ) |
62 |
+ ccache? ( dev-util/ccache ) |
63 |
+ kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 ) |
64 |
+" |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ echo VERSION="${PV}" "${PYTHON}" setup.py set_version |
68 |
+ VERSION="${PV}" "${PYTHON}" setup.py set_version |
69 |
+} |
70 |
+ |
71 |
+python_compile_all() { |
72 |
+ # build the man pages and docs |
73 |
+ emake |
74 |
+} |
75 |
+ |
76 |
+python_install_all() { |
77 |
+ distutils-r1_python_install_all |
78 |
+ if use doc; then |
79 |
+ dodoc files/HOWTO.html files/docbook-xsl.css |
80 |
+ fi |
81 |
+} |