1 |
commit: 24017d9293353cd350d871ac5b3a67e22e01a20f |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 30 01:15:02 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 30 01:15:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24017d92 |
7 |
|
8 |
dev-perl/Perl-Tidy: Bump to version 20170521.0.0 |
9 |
|
10 |
- Use DIST_EXAMPLES logic |
11 |
|
12 |
Upstream: |
13 |
- Fix symlink attack from failure to check perltidy.ERR deletion |
14 |
- Don't mis-parse certain anonymous hash references |
15 |
- Don't parse => after __END__ or __DATA__ as quotes |
16 |
- Fix parsing of perltidyrc |
17 |
- Add support for <<>> operator. |
18 |
- Fix --enc=utf8 + --backup-and-modify-in-place |
19 |
- Fix minor formatting issue with one-line blocks with subs with sigs |
20 |
- Fix utf8 error when output is STDOUT |
21 |
- Improve spacing of try/catch/finally blocks |
22 |
- Fix incorrect parsing of anon-subs with sigs and prototypes as |
23 |
broken ternaries |
24 |
- Add new open/closing block blank line controls |
25 |
|
26 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
27 |
|
28 |
dev-perl/Perl-Tidy/Manifest | 1 + |
29 |
dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild | 37 ++++++++++++++++++++++++ |
30 |
2 files changed, 38 insertions(+) |
31 |
|
32 |
diff --git a/dev-perl/Perl-Tidy/Manifest b/dev-perl/Perl-Tidy/Manifest |
33 |
index 16f1be5abb7..da39d06f0dd 100644 |
34 |
--- a/dev-perl/Perl-Tidy/Manifest |
35 |
+++ b/dev-perl/Perl-Tidy/Manifest |
36 |
@@ -1 +1,2 @@ |
37 |
DIST Perl-Tidy-20160302.tar.gz 428484 SHA256 6dd04ed8c315bcfea8fe713de8f9de68955795b6864f3be6c177e802fd30dca7 SHA512 68c7cef5723df717b5b314bee2bd76f29f49194479da993764cd127ced750d5cd8193b0c6c71c19c627687385d20d3e51ea01fcd81ec69374c7edb253bcac4f1 WHIRLPOOL 0997e0aa6c808dc27be099484a7b4fee51b3a817317c107fac323c2c9eeb7fe6df252f7c0d6083dfa17690d022c746feda903f976e48e1da2e6d82b3f8ca3be2 |
38 |
+DIST Perl-Tidy-20170521.tar.gz 432394 SHA256 01b3f178c13ac24154a0ee2a62d3ce3f29cfcc6b327b0b3021094e00309ea4da SHA512 5382162346e2eb1276d4790ed03208e52bfb82ecc2bc63facd5dd81e247872ff209a5aba7718997d426bd1aad5a3fc7434117b60f53dc2eaf9993df6ed9cb1e8 WHIRLPOOL b484e6153fad27efeb9748c59fe531aa125d8e3c63500f06da87666997f2975bc701c44bad44d76e88d002fb3df325cb5ad44367d694f0eaa074835c214d92b7 |
39 |
|
40 |
diff --git a/dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild b/dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..c854b45911e |
43 |
--- /dev/null |
44 |
+++ b/dev-perl/Perl-Tidy/Perl-Tidy-20170521.0.0.ebuild |
45 |
@@ -0,0 +1,37 @@ |
46 |
+# Copyright 1999-2017 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=6 |
50 |
+ |
51 |
+DIST_AUTHOR=SHANCOCK |
52 |
+DIST_VERSION=20170521 |
53 |
+DIST_EXAMPLES=( "examples/*" ) |
54 |
+inherit perl-module |
55 |
+ |
56 |
+DESCRIPTION="Perl script indenter and beautifier" |
57 |
+HOMEPAGE="http://perltidy.sourceforge.net/ ${HOMEPAGE}" |
58 |
+ |
59 |
+LICENSE="GPL-2+" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" |
62 |
+IUSE="" |
63 |
+ |
64 |
+RDEPEND="" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ virtual/perl-ExtUtils-MakeMaker |
67 |
+" |
68 |
+ |
69 |
+src_install() { |
70 |
+ perl-module_src_install |
71 |
+ |
72 |
+ # Compressing pod is bad because perldoc can't decompress |
73 |
+ # bzip2 automatically, and `less` can't render perldoc |
74 |
+ docompress -x /usr/share/doc/${PF}/stylekey.pod |
75 |
+ docompress -x /usr/share/doc/${PF}/tutorial |
76 |
+ |
77 |
+ docinto '' |
78 |
+ dodoc docs/stylekey.pod |
79 |
+ |
80 |
+ docinto tutorial |
81 |
+ dodoc docs/tutorial.pod docs/testfile.pl |
82 |
+} |