commit: 24017d9293353cd350d871ac5b3a67e22e01a20f Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Tue May 30 01:15:02 2017 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Tue May 30 01:15:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24017d92
dev-perl/Perl-Tidy: Bump to version 20170521.0.0 - Use DIST_EXAMPLES logic Upstream: - Fix symlink attack from failure to check perltidy.ERR deletion - Don't mis-parse certain anonymous hash references - Don't parse => after __END__ or __DATA__ as quotes - Fix parsing of perltidyrc - Add support for <<>> operator. - Fix --enc=utf8 + --backup-and-modify-in-place - Fix minor formatting issue with one-line blocks with subs with sigs - Fix utf8 error when output is STDOUT - Improve spacing of try/catch/finally blocks - Fix incorrect parsing of anon-subs with sigs and prototypes as broken ternaries - Add new open/closing block blank line controls Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-perl/Perl-Tidy/Manifest | 1 + dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild | 37 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-perl/Perl-Tidy/Manifest b/dev-perl/Perl-Tidy/Manifest index 16f1be5abb7..da39d06f0dd 100644 --- a/dev-perl/Perl-Tidy/Manifest +++ b/dev-perl/Perl-Tidy/Manifest @@ -1 +1,2 @@ DIST Perl-Tidy-20160302.tar.gz 428484 SHA256 6dd04ed8c315bcfea8fe713de8f9de68955795b6864f3be6c177e802fd30dca7 SHA512 68c7cef5723df717b5b314bee2bd76f29f49194479da993764cd127ced750d5cd8193b0c6c71c19c627687385d20d3e51ea01fcd81ec69374c7edb253bcac4f1 WHIRLPOOL 0997e0aa6c808dc27be099484a7b4fee51b3a817317c107fac323c2c9eeb7fe6df252f7c0d6083dfa17690d022c746feda903f976e48e1da2e6d82b3f8ca3be2 +DIST Perl-Tidy-20170521.tar.gz 432394 SHA256 01b3f178c13ac24154a0ee2a62d3ce3f29cfcc6b327b0b3021094e00309ea4da SHA512 5382162346e2eb1276d4790ed03208e52bfb82ecc2bc63facd5dd81e247872ff209a5aba7718997d426bd1aad5a3fc7434117b60f53dc2eaf9993df6ed9cb1e8 WHIRLPOOL b484e6153fad27efeb9748c59fe531aa125d8e3c63500f06da87666997f2975bc701c44bad44d76e88d002fb3df325cb5ad44367d694f0eaa074835c214d92b7 diff --git a/dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild b/dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild new file mode 100644 index 00000000000..c854b45911e --- /dev/null +++ b/dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=SHANCOCK +DIST_VERSION=20170521 +DIST_EXAMPLES=( "examples/*" ) +inherit perl-module + +DESCRIPTION="Perl script indenter and beautifier" +HOMEPAGE="http://perltidy.sourceforge.net/ ${HOMEPAGE}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +IUSE="" + +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 + + docinto '' + dodoc docs/stylekey.pod + + docinto tutorial + dodoc docs/tutorial.pod docs/testfile.pl +}
