diff options
Diffstat (limited to 'net-misc/plowshare')
-rw-r--r-- | net-misc/plowshare/plowshare-2.1.6-r1.ebuild (renamed from net-misc/plowshare/plowshare-2.1.6.ebuild) | 18 | ||||
-rw-r--r-- | net-misc/plowshare/plowshare-2.1.7-r1.ebuild (renamed from net-misc/plowshare/plowshare-2.1.7.ebuild) | 18 | ||||
-rw-r--r-- | net-misc/plowshare/plowshare-9999.ebuild | 16 |
3 files changed, 12 insertions, 40 deletions
diff --git a/net-misc/plowshare/plowshare-2.1.6.ebuild b/net-misc/plowshare/plowshare-2.1.6-r1.ebuild index 52227ef820ef..cacd5eb72e61 100644 --- a/net-misc/plowshare/plowshare-2.1.6.ebuild +++ b/net-misc/plowshare/plowshare-2.1.6-r1.ebuild @@ -1,19 +1,16 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -inherit bash-completion-r1 +EAPI=7 DESCRIPTION="Command-line downloader and uploader for file-sharing websites" HOMEPAGE="https://github.com/mcrapet/plowshare" +SRC_URI="https://github.com/mcrapet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" 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" +IUSE="+javascript view-captcha" RDEPEND=" >=app-shells/bash-4 @@ -24,7 +21,6 @@ RDEPEND=" virtual/imagemagick-tools[tiff] 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 @@ -33,12 +29,6 @@ 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 } diff --git a/net-misc/plowshare/plowshare-2.1.7.ebuild b/net-misc/plowshare/plowshare-2.1.7-r1.ebuild index 52227ef820ef..cacd5eb72e61 100644 --- a/net-misc/plowshare/plowshare-2.1.7.ebuild +++ b/net-misc/plowshare/plowshare-2.1.7-r1.ebuild @@ -1,19 +1,16 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -inherit bash-completion-r1 +EAPI=7 DESCRIPTION="Command-line downloader and uploader for file-sharing websites" HOMEPAGE="https://github.com/mcrapet/plowshare" +SRC_URI="https://github.com/mcrapet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" 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" +IUSE="+javascript view-captcha" RDEPEND=" >=app-shells/bash-4 @@ -24,7 +21,6 @@ RDEPEND=" virtual/imagemagick-tools[tiff] 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 @@ -33,12 +29,6 @@ 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 } diff --git a/net-misc/plowshare/plowshare-9999.ebuild b/net-misc/plowshare/plowshare-9999.ebuild index a0c97507680a..1c454b8d9c40 100644 --- a/net-misc/plowshare/plowshare-9999.ebuild +++ b/net-misc/plowshare/plowshare-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit bash-completion-r1 git-r3 +inherit git-r3 DESCRIPTION="Command-line downloader and uploader for file-sharing websites" HOMEPAGE="https://github.com/mcrapet/plowshare" @@ -11,8 +11,7 @@ EGIT_REPO_URI="https://github.com/mcrapet/plowshare.git" LICENSE="GPL-3" SLOT="0" -KEYWORDS="" -IUSE="bash-completion +javascript view-captcha" +IUSE="+javascript view-captcha" RDEPEND=" >=app-shells/bash-4 @@ -23,7 +22,6 @@ RDEPEND=" virtual/imagemagick-tools[tiff] 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 @@ -32,12 +30,6 @@ 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 } |