Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/plowshare: plowshare-1.2.0.ebuild ChangeLog
Date: Tue, 03 Feb 2015 14:39:28
Message-Id: 20150203143922.772D310F7D@oystercatcher.gentoo.org
1 voyageur 15/02/03 14:39:22
2
3 Modified: ChangeLog
4 Added: plowshare-1.2.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
9
10 Revision Changes Path
11 1.31 net-misc/plowshare/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 27 Oct 2014 10:26:56 -0000 1.30
24 +++ ChangeLog 3 Feb 2015 14:39:22 -0000 1.31
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/plowshare
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.30 2014/10/27 10:26:56 voyageur Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.31 2015/02/03 14:39:22 voyageur Exp $
31 +
32 +*plowshare-1.2.0 (03 Feb 2015)
33 +
34 + 03 Feb 2015; Bernard Cafarelli <voyageur@g.o> +plowshare-1.2.0.ebuild:
35 + Version bump
36
37 *plowshare-1.0.6 (27 Oct 2014)
38
39
40
41
42 1.1 net-misc/plowshare/plowshare-1.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/plowshare-1.2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/plowshare-1.2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: plowshare-1.2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-1.2.0.ebuild,v 1.1 2015/02/03 14:39:22 voyageur Exp $
52
53 EAPI=5
54
55 inherit bash-completion-r1
56
57 DESCRIPTION="Command-line downloader and uploader for file-sharing websites"
58 HOMEPAGE="http://code.google.com/p/plowshare/"
59 # Fetched from http://${PN}.googlecode.com/archive/v${PV}.tar.gz
60 SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~ppc ~x86"
65 IUSE="bash-completion +javascript view-captcha"
66
67 RDEPEND="
68 >=app-shells/bash-4
69 || ( app-text/recode ( dev-lang/perl dev-perl/HTML-Parser ) )
70 || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] )
71 net-misc/curl
72 sys-apps/util-linux
73 javascript? ( || ( dev-lang/spidermonkey:0 dev-java/rhino ) )
74 view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )"
75 DEPEND=""
76
77 # NOTES:
78 # javascript dep should be any javascript interpreter using /usr/bin/js
79
80 # Modules using detect_javascript
81 JS_MODULES="flashx letitbit nowdownload_co oboom rapidgator yourvideohost zalaa zippyshare"
82
83 src_prepare() {
84 if ! use javascript; then
85 for module in ${JS_MODULES}; do
86 sed -i -e "s:^${module}.*::" src/modules/config || die "${module} sed failed"
87 rm src/modules/${module}.sh || die "${module} rm failed"
88 done
89 fi
90
91 # Fix doc install path
92 sed -i -e "/^DOCDIR/s|plowshare4|${P}|" Makefile || die "sed failed"
93
94 if ! use bash-completion
95 then
96 sed -i -e \ "/^install:/s/install_bash_completion//" \
97 Makefile || die "sed failed"
98 fi
99 }
100
101 src_compile() {
102 # There is a Makefile but it's not compiling anything, let's not try.
103 :
104 }
105
106 src_test() {
107 # Disable tests because all of them need a working Internet connection.
108 :
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" PREFIX="/usr" \
113 PLOWSHARE_FORCE_VERSION="${PV}" install
114 }
115
116 pkg_postinst() {
117 if ! use javascript; then
118 ewarn "Without javascript you will not be able to use:"
119 ewarn " ${JS_MODULES}"
120 fi
121 }