From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D5B9E59CAA for ; Tue, 29 Mar 2016 17:28:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CD3C21C09C; Tue, 29 Mar 2016 17:28:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B827221C099 for ; Tue, 29 Mar 2016 17:28:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3C84340C21 for ; Tue, 29 Mar 2016 17:28:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0F7E856 for ; Tue, 29 Mar 2016 17:28:18 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1459271934.eb526e1640d1f150b357bfe5cafcd56eaa442abf.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/plowshare/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/plowshare/Manifest net-misc/plowshare/plowshare-2.1.3.ebuild X-VCS-Directories: net-misc/plowshare/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: eb526e1640d1f150b357bfe5cafcd56eaa442abf X-VCS-Branch: master Date: Tue, 29 Mar 2016 17:28:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cfade4d9-657c-479a-8b05-36bd1ef5b14a X-Archives-Hash: 64ed39bbc6d115b1fb2ab15b6e518f88 commit: eb526e1640d1f150b357bfe5cafcd56eaa442abf Author: Bernard Cafarelli gentoo org> AuthorDate: Tue Mar 29 16:45:19 2016 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Mar 29 17:18:54 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb526e16 net-misc/plowshare: version and EAPI bump Package-Manager: portage-2.2.28 net-misc/plowshare/Manifest | 1 + net-misc/plowshare/plowshare-2.1.3.ebuild | 68 +++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/net-misc/plowshare/Manifest b/net-misc/plowshare/Manifest index ab74080..98123ee 100644 --- a/net-misc/plowshare/Manifest +++ b/net-misc/plowshare/Manifest @@ -1,3 +1,4 @@ DIST plowshare-1.2.0.tar.gz 253572 SHA256 0f1ff5d2986334209389857d6c6f3f63162d661b28687747ae1a8612f3e5d678 SHA512 5fd8eeef5a4d6a42d03a858b451fa2ac121e0dbdcdb2f2981cef6660b0972e44396e3b8b3d9eb5b36ca8ce0aacda7df8f193ba4e5464c1f96a4c8ff2c104ff9a WHIRLPOOL 0009dc91d9a0fc15083c781fa6a73f46f966af673d20cf8897bb786f2337a36a75a0dae55dd2109f88d4e1a57578824763b1f79ae7949d497e9a9136ad2d2632 DIST plowshare-2.1.1.tar.gz 90653 SHA256 96b3acd1dba1b14f3009334520969af4c00c8f4b7f5d924a26decc4b4a817e53 SHA512 4aae7c64ce8123301b241d31a0f25ffe414295d5d8b354423530f47cbe3dd91a4bbe57a686a6c56015dab37c6b463334b4f9165b570a2c0314c25ee94bc255fc WHIRLPOOL cde48f76136901c4c009611556beda92aa3b4e5ed9fc5d94487ed69d5f11745995dca7ba7bbd2dabe516161efe9e705a7bfbdd21423d96f506aae4079b847a34 DIST plowshare-2.1.2.tar.gz 90913 SHA256 d9b9f2aa464d7d2966f49704234c79139d1162705a0a553a3059c68fbf4be21a SHA512 ffe18bd1aa1e0523eee218c8f80ce906648a9a0457e0cb64f682d9f52d05fdec2f1ff236e74b323a9b051aaf87d597ef10c08d9fa539a169db780d3955f05885 WHIRLPOOL a752043fc9d37510d6c5ba24547b0c66d9316a9526d4abc580443757b069c8a1d9808815dde0ecbfafcfbabcbeb1a7ad3ef6bd73d62870da7e494bad8851c453 +DIST plowshare-2.1.3.tar.gz 91534 SHA256 2f54325158203cf64f0041b20708d47cac1f5a936f90e99aaad299cefd14757d SHA512 759110b798de36b77737cebcf19a81872b4224df8c668ffe151415f3b15be2e50843ba865185e20d20fa17affa95228085edd86e1986aa4b1f22fa4ca921eaed WHIRLPOOL e33944c69caee6062ce7e1db9bddb3b53e7613d3131497b1596947a1362635a74b2448a85a9a3f6ee908ddd6cb94e238f4ab0b9b485ed3cf10fe360fb868559d diff --git a/net-misc/plowshare/plowshare-2.1.3.ebuild b/net-misc/plowshare/plowshare-2.1.3.ebuild new file mode 100644 index 0000000..eb0d7ec --- /dev/null +++ b/net-misc/plowshare/plowshare-2.1.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit bash-completion-r1 + +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() { + # Fix doc install path + sed -i -e "/^DOCDIR/s|plowshare|${PF}|" Makefile || die "sed failed" + + if ! use bash-completion + then + sed -i -e \ "/^install:/s/install_bash_completion//" \ + Makefile || die "sed failed" + fi + + default +} + +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 +}