1 |
commit: a36e1f729a7d825aa96ba1e5c75991d3b4154602 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 18 19:32:07 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 18 19:45:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36e1f72 |
7 |
|
8 |
games-misc/ponysay: Version bump to 3.0.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.61, Repoman-2.3.12 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-misc/ponysay/Manifest | 1 + |
14 |
games-misc/ponysay/ponysay-3.0.3.ebuild | 60 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/games-misc/ponysay/Manifest b/games-misc/ponysay/Manifest |
18 |
index f0269b3bf87..58abce44b79 100644 |
19 |
--- a/games-misc/ponysay/Manifest |
20 |
+++ b/games-misc/ponysay/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ponysay-3.0.2.tar.gz 2110382 BLAKE2B eb547ca62315c1aff227bec5e71328b1e333ba6aa14061b262d1130997ec2de2d54665fd498c8c571eacce15757030ca84d29d82a40b9fc82675d63e62617118 SHA512 47d5c584b3b8c233567eff534b5109548c92075f69776703bc303929ba4278f67fd599987ef4a098aa871c2af0efd89186f96fa28565e73b4672abeb0c23fa45 |
23 |
+DIST ponysay-3.0.3.tar.gz 2139074 BLAKE2B 3ba477268d68ff9a92bad8028d0b960a2a6152057146368723fea432100a71517c0c343d34b2b1c580fcfa1945bdc273fed276cf4a10c702514e6699cda87a2c SHA512 d6ff905404192bdc207952a4a914458d7f25ddcfcea95763ae277a2a3bc7ab33e86a0a229c1b10ff7295b7a89d6e1b61406feefb6bdf9026f4076d0ed70dbe93 |
24 |
|
25 |
diff --git a/games-misc/ponysay/ponysay-3.0.3.ebuild b/games-misc/ponysay/ponysay-3.0.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..137ae77544b |
28 |
--- /dev/null |
29 |
+++ b/games-misc/ponysay/ponysay-3.0.3.ebuild |
30 |
@@ -0,0 +1,60 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{4,5,6,7} ) |
37 |
+inherit bash-completion-r1 python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="cowsay reimplemention for ponies" |
40 |
+HOMEPAGE="https://github.com/erkin/ponysay" |
41 |
+SRC_URI="https://github.com/erkin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+LICENSE="GPL-3" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="doc +non-free bash-completion fish-completion zsh-completion" |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+BDEPEND="${PYTHON_DEPS} |
49 |
+ doc? ( sys-apps/texinfo )" |
50 |
+ |
51 |
+RDEPEND="${PYTHON_DEPS} |
52 |
+ fish-completion? ( app-shells/fish ) |
53 |
+ zsh-completion? ( app-shells/zsh )" |
54 |
+ |
55 |
+setup_py() { |
56 |
+ "${PYTHON}" setup.py \ |
57 |
+ --prefix="${EPREFIX}"/usr \ |
58 |
+ --everything \ |
59 |
+ --without-info-compression \ |
60 |
+ --without-man-compression \ |
61 |
+ --without-pdf-compression \ |
62 |
+ --without-shared-cache \ |
63 |
+ --freedom=$(usex non-free no yes) \ |
64 |
+ $(use_with fish-completion) \ |
65 |
+ $(use_with zsh-completion) \ |
66 |
+ $(use_with doc info) \ |
67 |
+ $(use_with doc pdf "${EPREFIX}"/usr/share/doc/${PF}) \ |
68 |
+ "${@}" || die |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ setup_py \ |
73 |
+ $(use_with bash-completion) \ |
74 |
+ build |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ setup_py \ |
79 |
+ --without-bash-completion \ |
80 |
+ --destdir="${D}" \ |
81 |
+ prebuilt |
82 |
+ |
83 |
+ python_fix_shebang "${ED}"/usr/bin/${PN} |
84 |
+ |
85 |
+ rm -rv "${ED}"/usr/share/licenses || die |
86 |
+ dodoc CHANGELOG CONTRIBUTING CREDITS README.md |
87 |
+ |
88 |
+ use bash-completion && |
89 |
+ newbashcomp completion/bash-completion.${PN}.install ${PN} |
90 |
+} |