diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2011-03-06 22:59:05 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2011-03-06 22:59:05 +0000 |
commit | 0f1d56436001af953f4d35dfee6f5e13f870fc92 (patch) | |
tree | 8af9e2222d2a83ac1efb0a963343e2b8387591e9 /net-misc/plowshare | |
parent | Support Python 3. Restrict Jython ABIs. Fix dependencies. Set PYTHON_MODNAME.... (diff) | |
download | historical-0f1d56436001af953f4d35dfee6f5e13f870fc92.tar.gz historical-0f1d56436001af953f4d35dfee6f5e13f870fc92.tar.bz2 historical-0f1d56436001af953f4d35dfee6f5e13f870fc92.zip |
Version bump to 0.9.4.
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'net-misc/plowshare')
-rw-r--r-- | net-misc/plowshare/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/plowshare/Manifest | 4 | ||||
-rw-r--r-- | net-misc/plowshare/plowshare-0.9.4.ebuild | 103 |
3 files changed, 113 insertions, 3 deletions
diff --git a/net-misc/plowshare/ChangeLog b/net-misc/plowshare/ChangeLog index 05e16a6b1250..64d47d944a04 100644 --- a/net-misc/plowshare/ChangeLog +++ b/net-misc/plowshare/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/plowshare -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.12 2010/11/20 11:54:33 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.13 2011/03/06 22:59:05 volkmar Exp $ + +*plowshare-0.9.4 (06 Mar 2011) + + 06 Mar 2011; Mounir Lamouri <volkmar@gentoo.org> +plowshare-0.9.4.ebuild: + Version bump to 0.9.4. 20 Nov 2010; Raúl Porcel <armin76@gentoo.org> plowshare-0.9.3.ebuild: Add ~arm wrt #345737 diff --git a/net-misc/plowshare/Manifest b/net-misc/plowshare/Manifest index 37edf0c12572..f9182b989ca9 100644 --- a/net-misc/plowshare/Manifest +++ b/net-misc/plowshare/Manifest @@ -1,4 +1,6 @@ DIST plowshare-0.9.3.tgz 68435 RMD160 2def471934a2fb4d53a2fd535d22658b17ff8358 SHA1 86e29b592f61c1e623bb882a57f8188b18775080 SHA256 e51e7626b69f46d7040f5dc9e0339e75ef5148ecc498983bc1bcfccd15c48d4c +DIST plowshare-0.9.4.tgz 68193 RMD160 25e5a3cf2a06382cc4927daa4da43fcb335ae159 SHA1 c98fad1464d1d21713dbc454a24b3f740d70ad87 SHA256 ba31937b3eda1b0f77a39f977159ba9e0399a7456c2f0410eccb269976f0d885 EBUILD plowshare-0.9.3.ebuild 3146 RMD160 0c956e9ed90046344e25aa347e743d90b4e8deac SHA1 5c22e43afb0833adc5b1d1a5173d7b4d37617680 SHA256 e2f5d9f83642e93b6954a902f11b24b9cd687fb4da9074390fdbbc0ac2cc01fb -MISC ChangeLog 2167 RMD160 342ed00508090c465e0777c37a972c4242912d46 SHA1 23fbd22f4f70b2cfcb6e51fe73df340584834187 SHA256 12422acd807d4b5e93c2a5a9a1f51672affee46b472373e0d0795f9fbe4c2130 +EBUILD plowshare-0.9.4.ebuild 3086 RMD160 845b0b5c7af49c6bf5ca80d562b2d85546dd10f7 SHA1 eb33e15d62b46e8056427769db142cea25ff8722 SHA256 c66f3b161f40f60162ef3fc82825f660823c980967969ec7dead89d89edc4470 +MISC ChangeLog 2301 RMD160 5b66d3e12606bcec58264d5a5513be9e3ac781e5 SHA1 597035ade3810d93c28b86828861e5663571d34e SHA256 b77b3815b4c8777941c2dc5b92a07abbcaacf40f08ea993ed7c6fcda78946d72 MISC metadata.xml 331 RMD160 92ad07c059e3471b47ab1ffc1fbafd7c5dbdd506 SHA1 2da77f69f8270b43240291387c75798f839fb7b3 SHA256 8a31eb75ee0cac69ada8f6892668e6bde21c48eed717289f32236ec1c2f6cad5 diff --git a/net-misc/plowshare/plowshare-0.9.4.ebuild b/net-misc/plowshare/plowshare-0.9.4.ebuild new file mode 100644 index 000000000000..0100716cf8d6 --- /dev/null +++ b/net-misc/plowshare/plowshare-0.9.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-0.9.4.ebuild,v 1.1 2011/03/06 22:59:05 volkmar Exp $ + +EAPI="2" + +DESCRIPTION="Command-line downloader and uploader for file-sharing websites" +HOMEPAGE="http://code.google.com/p/plowshare/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="examples +javascript +perl view-captcha" + +RDEPEND=" + javascript? ( dev-lang/spidermonkey ) + perl? ( dev-lang/perl + media-gfx/imagemagick[perl] ) + view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) ) + app-shells/bash + app-text/recode + app-text/tesseract[tiff] + || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] ) + net-misc/curl + sys-apps/util-linux" +DEPEND="" + +# NOTES: +# spidermonkey dep should be any javascript interpreter using /usr/bin/js + +# TODO: +# dev-java/rhino could probably be an alternative for spidermonkey + +src_prepare() { + if ! use javascript; then + sed -i -e 's:^\(MODULES=".*\)mediafire:\1:' \ + -e 's:^\(MODULES=".*\)zshare:\1:' \ + -e 's:^\(MODULES=\".*\)badongo:\1:' \ + src/{delete,download,list,upload}.sh || die "sed failed" + rm src/modules/{mediafire,zshare,badongo}.sh || die "rm failed" + fi + if ! use perl; then + sed -i -e 's:^\(MODULES=\".*\)netload_in:\1:' \ + -e 's:^\(MODULES=\".*\)badongo:\1:' \ + src/{delete,download,list,upload}.sh || die "sed failed" + rm src/modules/netload_in.sh || die "rm failed" + # Forcing remove of badongo.sh because it may have been removed before. + rm -f src/modules/badongo.sh || die "rm failed" + fi +} + +src_test() { + # don't use test_modules.sh because it needs a working internet connection + if ! use perl; then + sed -i -e "s:\(.*\.pl\):#\1:" test/test_lib.sh || die "sed failed" + fi + ./test/test_lib.sh || die "test failed" +} + +src_install() { + insinto /usr/share/${PN} + doins src/lib.sh || die "doins failed" + + if use perl; then + doins src/strip_{single_color,threshold}.pl || die "doins failed" + fi + + insinto /usr/share/${PN}/modules + doins -r src/modules/* || die "doins failed" + + insinto /usr/share/${PN}/tesseract + doins -r src/tesseract/* || die "doins failed" + + exeinto /usr/share/${PN} + doexe src/{delete,download,list,upload}.sh || die "doexe failed" + + dosym /usr/share/${PN}/delete.sh /usr/bin/plowdel + dosym /usr/share/${PN}/download.sh /usr/bin/plowdown + dosym /usr/share/${PN}/list.sh /usr/bin/plowlist + dosym /usr/share/${PN}/upload.sh /usr/bin/plowup + + dodoc CHANGELOG README || die "dodoc failed" + + doman docs/plow{del,down,list,up}.1 || die "doman failed" + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/{caturl,plowdown_{add_remote_loop,loop,parallel}}.sh \ + || die "doins failed" + fi +} + +pkg_postinst() { + if ! use javascript; then + ewarn "Without javascript you will not be able to use:" + ewarn " zshare, mediafire and badongo." + fi + if ! use perl; then + ewarn "Without perl you will not be able to use:" + ewarn " netload.in and badongo" + fi +} |