voyageur 15/04/14 11:55:29 Modified: ChangeLog Added: plowshare-2.1.0-r1.ebuild Removed: plowshare-2.1.0.ebuild Log: Backport upstream fix for git invocation (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 00F7AB331B0F097F)
Revision Changes Path 1.34 net-misc/plowshare/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?rev=1.34&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?rev=1.34&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/ChangeLog?r1=1.33&r2=1.34 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- ChangeLog 13 Apr 2015 21:50:02 -0000 1.33 +++ ChangeLog 14 Apr 2015 11:55:28 -0000 1.34 @@ -1,6 +1,12 @@ # ChangeLog for net-misc/plowshare # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.33 2015/04/13 21:50:02 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.34 2015/04/14 11:55:28 voyageur Exp $ + +*plowshare-2.1.0-r1 (14 Apr 2015) + + 14 Apr 2015; Bernard Cafarelli <voyag...@gentoo.org> -plowshare-2.1.0.ebuild, + +plowshare-2.1.0-r1.ebuild, +files/plowshare-2.1.0-fix_git_invocation.patch: + Backport upstream fix for git invocation *plowshare-2.1.0 (13 Apr 2015) 1.1 net-misc/plowshare/plowshare-2.1.0-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/plowshare-2.1.0-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/plowshare/plowshare-2.1.0-r1.ebuild?rev=1.1&content-type=text/plain Index: plowshare-2.1.0-r1.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-2.1.0-r1.ebuild,v 1.1 2015/04/14 11:55:28 voyageur Exp $ EAPI=5 inherit bash-completion-r1 eutils DESCRIPTION="Command-line downloader and uploader for file-sharing websites" HOMEPAGE="https://github.com/mcrapet/plowshare" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="bash-completion +javascript view-captcha" SRC_URI="https://github.com/mcrapet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" RDEPEND=" >=app-shells/bash-4 || ( app-text/recode ( dev-lang/perl dev-perl/HTML-Parser ) ) dev-vcs/git || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] ) net-misc/curl sys-apps/util-linux javascript? ( || ( dev-lang/spidermonkey:0 dev-java/rhino ) ) view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )" DEPEND="" # NOTES: # javascript dep should be any javascript interpreter using /usr/bin/js src_prepare() { epatch "${FILESDIR}"/${P}-fix_git_invocation.patch # Fix doc install path sed -i -e "/^DOCDIR/s|plowshare4|${P}|" Makefile || die "sed failed" if ! use bash-completion then sed -i -e \ "/^install:/s/install_bash_completion//" \ Makefile || die "sed failed" fi } src_compile() { # There is a Makefile but it's not compiling anything, let's not try. : } src_test() { # Disable tests because all of them need a working Internet connection. : } src_install() { emake DESTDIR="${D}" PREFIX="/usr" \ PLOWSHARE_FORCE_VERSION="${PV}" install } pkg_postinst() { elog "plowshare is not delivered with modules by default anymore" elog "Per-user modules can be installed/updated with the plowmod command" if ! use javascript; then ewarn "Without javascript you will not be able to use modules" ewarn "requering a Javascript shell (/usr/bin/js)" fi }