# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=ETHER
DIST_VERSION=1.009
inherit perl-module

DESCRIPTION="Easy access to any pastebin"

SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="+pastebin +browser clipboard github test"

RDEPEND="
	dev-perl/Class-Load
	virtual/perl-Exporter
	virtual/perl-File-Spec
	virtual/perl-File-Temp
	dev-perl/Getopt-Long-Descriptive
	dev-perl/JSON-MaybeXS
	dev-perl/Module-Pluggable
	dev-perl/Module-Runtime
	dev-perl/Path-Tiny
	dev-perl/URI
	dev-perl/WWW-Mechanize
	>=dev-perl/namespace-clean-0.190.0
	pastebin? (
		>=dev-perl/WWW-Pastebin-PastebinCom-Create-1.3.0
	)
	clipboard? (
		dev-perl/Clipboard
	)
	github? (
		dev-vcs/git[perl]
	)
	browser? (
		dev-perl/Browser-Open
	)
"
DEPEND="${RDEPEND}
	>=virtual/perl-CPAN-Meta-Requirements-2.120.620
	virtual/perl-ExtUtils-MakeMaker
	virtual/perl-Module-Metadata
	test? (
		virtual/perl-File-Spec
		dev-perl/libwww-perl
		dev-perl/Test-Deep
		dev-perl/Test-Fatal
		>=virtual/perl-Test-Simple-0.880.0
	)
"