1 |
commit: 00d085ffb8328ae4dcc2043e32907c597d2e9fed |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 3 10:05:06 2017 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 3 10:12:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d085ff |
7 |
|
8 |
net-misc/plowshare: 2.1.6 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-misc/plowshare/Manifest | 1 + |
13 |
net-misc/plowshare/plowshare-2.1.6.ebuild | 67 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/plowshare/Manifest b/net-misc/plowshare/Manifest |
17 |
index 4552d99a4c9..a1d97285117 100644 |
18 |
--- a/net-misc/plowshare/Manifest |
19 |
+++ b/net-misc/plowshare/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST plowshare-2.1.3.tar.gz 91534 SHA256 2f54325158203cf64f0041b20708d47cac1f5a936f90e99aaad299cefd14757d SHA512 759110b798de36b77737cebcf19a81872b4224df8c668ffe151415f3b15be2e50843ba865185e20d20fa17affa95228085edd86e1986aa4b1f22fa4ca921eaed WHIRLPOOL e33944c69caee6062ce7e1db9bddb3b53e7613d3131497b1596947a1362635a74b2448a85a9a3f6ee908ddd6cb94e238f4ab0b9b485ed3cf10fe360fb868559d |
22 |
DIST plowshare-2.1.5.tar.gz 94268 SHA256 31a1d379b738b007ff000107b03562bf73ed5f05d7fa1ebef50082f0799a59ce SHA512 1724580dd9fa818821e9686b758f904aad408c409e23e68444dbf6fc80cae81b03159fcfc816e7273777b02b1dbcc3ab93e13cc2b05f20145850a1c931da4342 WHIRLPOOL 853255b2a3abbe40349112e322e4e1bd9ca9261fe714e2d7f3802398b318a96e346238bc888eefeb78edd5050b19850b82c72050da59772ca1db0af41c14d3cb |
23 |
+DIST plowshare-2.1.6.tar.gz 95946 SHA256 2823f4bc82ad9b30c0c122a312125cb923acc55ce448c56a503e03fe0a4d97c4 SHA512 bccc72f1add6389fd7fc41a27f9e169c622e3a4e7c9c1040c01a8a4569accc9b0b6910815a013d5e8aff7103ee26d943665ffeccc02db1879eca580b3892190d WHIRLPOOL 4d4204199b6dc505a2ce231c95c41f5da1e93806fc04f875844566b54da31c41baa0657f6e65fa416baf68aebbaec02a2ead0ed1baf1ac3aa314ccfb7e502226 |
24 |
|
25 |
diff --git a/net-misc/plowshare/plowshare-2.1.6.ebuild b/net-misc/plowshare/plowshare-2.1.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..52227ef820e |
28 |
--- /dev/null |
29 |
+++ b/net-misc/plowshare/plowshare-2.1.6.ebuild |
30 |
@@ -0,0 +1,67 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit bash-completion-r1 |
37 |
+ |
38 |
+DESCRIPTION="Command-line downloader and uploader for file-sharing websites" |
39 |
+HOMEPAGE="https://github.com/mcrapet/plowshare" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
44 |
+IUSE="bash-completion +javascript view-captcha" |
45 |
+ |
46 |
+SRC_URI="https://github.com/mcrapet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=app-shells/bash-4 |
50 |
+ || ( app-text/recode ( dev-lang/perl dev-perl/HTML-Parser ) ) |
51 |
+ dev-vcs/git |
52 |
+ net-misc/curl |
53 |
+ sys-apps/util-linux |
54 |
+ virtual/imagemagick-tools[tiff] |
55 |
+ javascript? ( || ( dev-lang/spidermonkey:0 dev-java/rhino ) ) |
56 |
+ view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )" |
57 |
+DEPEND="" |
58 |
+ |
59 |
+# NOTES: |
60 |
+# javascript dep should be any javascript interpreter using /usr/bin/js |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ # Fix doc install path |
64 |
+ sed -i -e "/^DOCDIR/s|plowshare|${PF}|" Makefile || die "sed failed" |
65 |
+ |
66 |
+ if ! use bash-completion |
67 |
+ then |
68 |
+ sed -i -e \ "/^install:/s/install_bash_completion//" \ |
69 |
+ Makefile || die "sed failed" |
70 |
+ fi |
71 |
+ |
72 |
+ default |
73 |
+} |
74 |
+ |
75 |
+src_compile() { |
76 |
+ # There is a Makefile but it's not compiling anything, let's not try. |
77 |
+ : |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ # Disable tests because all of them need a working Internet connection. |
82 |
+ : |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ emake DESTDIR="${D}" PREFIX="/usr" \ |
87 |
+ PLOWSHARE_FORCE_VERSION="${PV}" install |
88 |
+} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ elog "plowshare is not delivered with modules by default anymore" |
92 |
+ elog "Per-user modules can be installed/updated with the plowmod command" |
93 |
+ if ! use javascript; then |
94 |
+ ewarn "Without javascript you will not be able to use modules" |
95 |
+ ewarn "requering a Javascript shell (/usr/bin/js)" |
96 |
+ fi |
97 |
+} |