summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-03-19 20:17:49 +1300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-03-19 23:41:50 +0100
commitfd9a2b49784ee3b677f84a6a8fa4c2c1d3d5d97b (patch)
tree22d2cc3dce88f01aa37622f905b994def00f343b /dev-perl/Perl-Tidy
parentdev-perl/perltidy: Remove from tree, gone to dev-perl/Perl-Tidy (diff)
downloadgentoo-fd9a2b49784ee3b677f84a6a8fa4c2c1d3d5d97b.tar.gz
gentoo-fd9a2b49784ee3b677f84a6a8fa4c2c1d3d5d97b.tar.bz2
gentoo-fd9a2b49784ee3b677f84a6a8fa4c2c1d3d5d97b.zip
dev-perl/Perl-Tidy: Bump to version 20160302.0.0
- EAPI6 - Fix LICENSE - Install stylekey and tutorial - Make examples optional on USE="examples" Upstream: - Fix handliong of long-form --nostack-closing-tokens - Explicit "assume utf8" support flag - Removed unwanted continuation indentation - Fixed crash w/ --output-line-ending - Fixed misparse of //= construct - Fixed misparse of // - Fixed bug with "else" warnining inside a "switch" statement. - Added "-xs" flag for extended syntax ala MX::Declare style. - "-boc" vertical alignment fixed. - Support upcomming bitwise string operators. - "-io" and "-dac" can now be used together. - Support for regex "/n" - non-global warnings - Perl5.22 Signatures support - Removed unwanted newline after anonymous sub Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-perl/Perl-Tidy')
-rw-r--r--dev-perl/Perl-Tidy/Manifest1
-rw-r--r--dev-perl/Perl-Tidy/Perl-Tidy-20160302.0.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/Perl-Tidy/Manifest b/dev-perl/Perl-Tidy/Manifest
index 96abffd8609e..834625eca923 100644
--- a/dev-perl/Perl-Tidy/Manifest
+++ b/dev-perl/Perl-Tidy/Manifest
@@ -1,2 +1,3 @@
DIST Perl-Tidy-20130922.tar.gz 422005 SHA256 e58cd6f00067dc814d2cecab209087d3b282648371b5a2ebd6f48484c030b762 SHA512 8c8d0cc388f0f74fdbd86238cf0b50c84619102a0dd6ffb0176b05877c7bef616d7f11104294246b7275e526dde29d1f0bb146a36b7234222fb462097976409b WHIRLPOOL 11338dafe884b67884ef73495379ecb1ffbba636de93b224716c353439cf1f1e78ed03baace9bf46daf898025e807706bb4bcc7efb99a7052b0926642c1eae67
DIST Perl-Tidy-20140711.tar.gz 422397 SHA256 1576ceb3fd9f592d0285affbe7192685963dc1d0411968cc0587d6ac0d7b3ad8 SHA512 2e4f22f02f13a119569afcb9a6a4583257a2edb6aee1c69e6bae9c83a263eb282f2f8492bf89903387ec24219e38c3ed5ddb12024ea6c6f7b17331710eb6f693 WHIRLPOOL 4437494a9ac1ef1136fb3df8b737baed13724a19075046f913bdcda085e8d04b1b198899e15d053a598968c50155cc364d5a425442ff45927e08d8422663dfd5
+DIST Perl-Tidy-20160302.tar.gz 428484 SHA256 6dd04ed8c315bcfea8fe713de8f9de68955795b6864f3be6c177e802fd30dca7 SHA512 68c7cef5723df717b5b314bee2bd76f29f49194479da993764cd127ced750d5cd8193b0c6c71c19c627687385d20d3e51ea01fcd81ec69374c7edb253bcac4f1 WHIRLPOOL 0997e0aa6c808dc27be099484a7b4fee51b3a817317c107fac323c2c9eeb7fe6df252f7c0d6083dfa17690d022c746feda903f976e48e1da2e6d82b3f8ca3be2
diff --git a/dev-perl/Perl-Tidy/Perl-Tidy-20160302.0.0.ebuild b/dev-perl/Perl-Tidy/Perl-Tidy-20160302.0.0.ebuild
new file mode 100644
index 000000000000..1149c66c4d11
--- /dev/null
+++ b/dev-perl/Perl-Tidy/Perl-Tidy-20160302.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=SHANCOCK
+DIST_VERSION=20160302
+inherit perl-module
+
+DESCRIPTION="Perl script indenter and beautifier"
+HOMEPAGE="http://perltidy.sourceforge.net/ ${HOMEPAGE}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE="examples"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+src_install() {
+ perl-module_src_install
+
+ # Compressing pod is bad because perldoc can't decompress
+ # bzip2 automatically, and `less` can't render perldoc
+ docompress -x /usr/share/doc/${PF}/stylekey.pod
+ docompress -x /usr/share/doc/${PF}/tutorial
+
+ dodoc docs/stylekey.pod
+
+ docinto tutorial
+ dodoc docs/tutorial.pod docs/testfile.pl
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc -r "${S}"/examples/*
+ fi
+}