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: ChangeLog plowshare-20131130.ebuild plowshare-20120609-r2.ebuild
Date: Sun, 05 Jan 2014 21:33:49
Message-Id: 20140105213345.A13972004C@flycatcher.gentoo.org
1 voyageur 14/01/05 21:33:45
2
3 Modified: ChangeLog
4 Added: plowshare-20131130.ebuild
5 Removed: plowshare-20120609-r2.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
10
11 Revision Changes Path
12 1.25 net-misc/plowshare/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?rev=1.25&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?rev=1.25&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?r1=1.24&r2=1.25
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v
21 retrieving revision 1.24
22 retrieving revision 1.25
23 diff -u -r1.24 -r1.25
24 --- ChangeLog 9 Aug 2013 13:44:07 -0000 1.24
25 +++ ChangeLog 5 Jan 2014 21:33:45 -0000 1.25
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/plowshare
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.24 2013/08/09 13:44:07 axs Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.25 2014/01/05 21:33:45 voyageur Exp $
32 +
33 +*plowshare-20131130 (05 Jan 2014)
34 +
35 + 05 Jan 2014; Bernard Cafarelli <voyageur@g.o>
36 + -plowshare-20120609-r2.ebuild, +plowshare-20131130.ebuild:
37 + Version bump, drop old
38
39 09 Aug 2013; Ian Stakenvicius <axs@g.o> plowshare-20120609-r2.ebuild,
40 plowshare-20130520.ebuild:
41
42
43
44 1.1 net-misc/plowshare/plowshare-20131130.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/plowshare-20131130.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/plowshare-20131130.ebuild?rev=1.1&content-type=text/plain
48
49 Index: plowshare-20131130.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-20131130.ebuild,v 1.1 2014/01/05 21:33:45 voyageur Exp $
54
55 EAPI=5
56
57 inherit bash-completion-r1
58
59 MY_P="${PN}4-snapshot-git${PV}.3c63b19"
60
61 DESCRIPTION="Command-line downloader and uploader for file-sharing websites"
62 HOMEPAGE="http://code.google.com/p/plowshare/"
63 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~arm ~ppc ~x86"
68 IUSE="bash-completion +javascript scripts view-captcha"
69
70 RDEPEND="
71 >=app-shells/bash-4
72 || ( app-text/recode ( dev-lang/perl dev-perl/HTML-Parser ) )
73 || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] )
74 net-misc/curl
75 sys-apps/util-linux
76 javascript? ( || ( dev-lang/spidermonkey:0 dev-java/rhino ) )
77 view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )"
78 DEPEND=""
79
80 S=${WORKDIR}/${MY_P}
81
82 # NOTES:
83 # javascript dep should be any javascript interpreter using /usr/bin/js
84
85 # Modules using detect_javascript
86 JS_MODULES="letitbit rapidgator zalaa zippyshare"
87
88 src_prepare() {
89 if ! use javascript; then
90 for module in ${JS_MODULES}; do
91 sed -i -e "s:^${module}.*::" src/modules/config || die "${module} sed failed"
92 rm src/modules/${module}.sh || die "${module} rm failed"
93 done
94 fi
95
96 # Don't let 'make install' install docs.
97 sed -i -e "/INSTALL.*DOCDIR/d" Makefile || die "sed failed"
98
99 if use bash-completion; then
100 sed -i -e \
101 "s,/usr/local\(/share/plowshare4/modules/config\),${EPREFIX}/usr\1," \
102 etc/plowshare.completion || die "sed failed"
103 fi
104 }
105
106 src_compile() {
107 # There is a Makefile but it's not compiling anything, let's not try.
108 :
109 }
110
111 src_test() {
112 # Disable tests because all of them need a working Internet connection.
113 :
114 }
115
116 src_install() {
117 emake DESTDIR="${D}" PREFIX="/usr" install
118
119 dodoc AUTHORS README
120
121 if use scripts; then
122 exeinto /usr/bin/
123 doexe contrib/{plowdown_{add_remote_loop,loop,parallel}}.sh
124 fi
125
126 if use bash-completion; then
127 newbashcomp etc/${PN}.completion ${PN}
128 fi
129 }
130
131 pkg_postinst() {
132 if ! use javascript; then
133 ewarn "Without javascript you will not be able to use:"
134 ewarn " ${JS_MODULES}"
135 fi
136 }