From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild | 157 +++++++++++++++++++++ dev-perl/Dist-Zilla/Manifest | 4 + .../files/Dist-Zilla-6.10.0-perl526.patch | 58 ++++++++ dev-perl/Dist-Zilla/metadata.xml | 150 ++++++++++++++++++++ 4 files changed, 369 insertions(+) create mode 100644 dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild create mode 100644 dev-perl/Dist-Zilla/Manifest create mode 100644 dev-perl/Dist-Zilla/files/Dist-Zilla-6.10.0-perl526.patch create mode 100644 dev-perl/Dist-Zilla/metadata.xml (limited to 'dev-perl/Dist-Zilla') diff --git a/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild b/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild new file mode 100644 index 000000000000..fb90b56adf7c --- /dev/null +++ b/dev-perl/Dist-Zilla/Dist-Zilla-6.10.0-r2.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=RJBS +DIST_VERSION=6.010 +inherit perl-module + +DESCRIPTION="distribution builder; installer not included!" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal test" + +PATCHES=( + "${FILESDIR}/${P}-perl526.patch" +) +## CPAN->Gentoo resolution map for grepping in case upstream split a dep +# breaks: Dist::Zilla::App::Command::stale -> Dist-Zilla-Plugin-PromptIfStale +# DZA:Command::xtest -> DZP:CheckExtraTests +# DZP:Author::Plicease::Tests -> DZPB::Author::Plicease +X_BREAKS=" + ! App-Cmd-0.321 +# r: App::Cmd::Setup -> App-Cmd +# r: App::Cmd::Tester -> App-Cmd +# r: App::Cmd::Tester::CaptureExternal -> App-Cmd 0.314 +# r: CPAN::Meta::Converter -> CPAN-Meta +# r: CPAN::Meta::Merge -> CPAN-Meta 2.142060 +# r: CPAN::Meta::Prereqs -> CPAN-Meta +# r: CPAN::Meta::Validator -> CPAN-Meta +# r: Config::INI::Reader -> Config-INI +# r: Config::MVP::Assembler -> Config-MVP +# r: Config::MVP::Assembler::WithBundles -> Config-MVP +# r: Config::MVP::Reader -> Config-MVP +# r: Config::MVP::Reader::Findable::ByExtension -> Config-MVP 1.101450 +# r: Config::MVP::Reader::Finder -> Config-MVP 0.092990 +# r: Config::MVP::Section -> Config-MVP +# r: List::Util -> Scalar-List-Utils +# r: Mixin::Linewise::Readers -> Mixin-Linewise +# r: Moose::Role -> Moose +# r: Moose::Util::TypeConstraints -> Moose +# r: MooseX::Types::Moose -> MooseX-Types +# r: PPI::Document -> PPI +# r: Scalar::Util -> Scalar-List-Utils +# r: Software::LicenseUtils -> Software-License +# r: Sub::Exporter::Util -> Sub-Exporter +# r: Term::ReadKey -> TermReadKey +# r: Text::Template -> text-template +# r: strict, warnings -> perl + +# NB: PPI::XS is suggested by Dist-Zilla, but upstream of +# PPI say PPI::XS presently doesn't do anything useful, +# so the optional useflag and the dependency are skipped. +RDEPEND=" + ${X_BREAKS} + !minimal? ( + >=dev-perl/Archive-Tar-Wrapper-0.150.0 + >=dev-perl/Data-OptList-0.110.0 + dev-perl/Term-ReadLine-Gnu + ) + >=dev-perl/App-Cmd-0.330.0 + virtual/perl-Archive-Tar + >=virtual/perl-CPAN-Meta-2.142.60 + >=virtual/perl-CPAN-Meta-Requirements-2.121.0 + >=dev-perl/CPAN-Uploader-0.103.4 + virtual/perl-Carp + >=dev-perl/Class-Load-0.170.0 + dev-perl/Config-INI + >=dev-perl/Config-MVP-2.200.10 + >=dev-perl/Config-MVP-Reader-INI-2.101.461 + virtual/perl-Data-Dumper + >=dev-perl/Data-Section-0.200.2 + >=dev-perl/DateTime-0.440.0 + virtual/perl-Digest-MD5 + virtual/perl-Encode + >=virtual/perl-ExtUtils-Manifest-1.660.0 + dev-perl/File-Copy-Recursive + dev-perl/File-Find-Rule + dev-perl/File-HomeDir + virtual/perl-File-Path + dev-perl/File-ShareDir + >=dev-perl/File-ShareDir-Install-0.30.0 + virtual/perl-File-Spec + virtual/perl-File-Temp + dev-perl/File-pushd + dev-perl/JSON-MaybeXS + >=dev-perl/Log-Dispatchouli-1.102.220 + >=dev-perl/Mixin-Linewise-0.100.0 + virtual/perl-Module-CoreList + dev-perl/Module-Runtime + >=dev-perl/Moose-0.920.0 + dev-perl/MooseX-LazyRequire + >=dev-perl/MooseX-Role-Parameterized-1.10.0 + dev-perl/MooseX-SetOnce + dev-perl/MooseX-Types + dev-perl/MooseX-Types-Perl + dev-perl/PPI + dev-perl/Params-Util + >=dev-perl/Path-Tiny-0.52.0 + >=dev-perl/Perl-PrereqScanner-1.16.0 + >=dev-perl/Pod-Eventual-0.91.480 + >=virtual/perl-Scalar-List-Utils-1.450.0 + >=dev-perl/Software-License-0.101.370 + virtual/perl-Storable + >=dev-perl/String-Formatter-0.100.680 + >=dev-perl/String-RewritePrefix-0.6.0 + dev-perl/Sub-Exporter + dev-perl/Sub-Exporter-ForMethods + dev-perl/Term-Encoding + dev-perl/TermReadKey + virtual/perl-Term-ReadLine + dev-perl/Term-UI + dev-perl/Test-Deep + >=dev-perl/Text-Glob-0.80.0 + dev-perl/Text-Template + dev-perl/Try-Tiny + dev-perl/YAML-Tiny + virtual/perl-autodie + dev-perl/namespace-autoclean + virtual/perl-parent + virtual/perl-version +" +# t: Software::License::None -> Software-License 0.016 +# t: lib, utf8 -> perl +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + >=dev-perl/File-ShareDir-Install-0.60.0 + test? ( + >=dev-perl/CPAN-Meta-Check-0.11.0 + dev-perl/Test-FailWarnings + dev-perl/Test-Fatal + dev-perl/Test-File-ShareDir + >=virtual/perl-Test-Simple-0.960.0 + ) +" +src_test() { + TZ=UTC perl-module_src_test +} diff --git a/dev-perl/Dist-Zilla/Manifest b/dev-perl/Dist-Zilla/Manifest new file mode 100644 index 000000000000..447d3428ae15 --- /dev/null +++ b/dev-perl/Dist-Zilla/Manifest @@ -0,0 +1,4 @@ +AUX Dist-Zilla-6.10.0-perl526.patch 1963 BLAKE2B 23237b2231fa160beca39c06d15bd82148476c2b3c44bdf7509fcd7c52931aeda4300bbc64c4f50257f26a8323f4ec0fa824e15a78853455a980c22ef23f2cee SHA512 bc2058c71160be5cd191e46e19d245070d2f4f12bc2f067c702757e30394aa1bc986d055f40303716e3da85bc48e40c31683cf21bf495da634f983227c20baa7 +DIST Dist-Zilla-6.010.tar.gz 198805 BLAKE2B 82c5792f81174d74cd917e77f9e3899d0fc8233b6a36147618cd324dfc672c47e91305b2e5335a376846a8f25a5ab1b6d10c5ce1e11def5eb17a7af88d03e12e SHA512 707a736c43b1a52038a01c2e238ac39fa35c5eb7120c7fa11a06248f5fc3518c5c75e3660553058085c5b930e6df6cebfd1957435b78ae48f8b4d45d3b99300f +EBUILD Dist-Zilla-6.10.0-r2.ebuild 5066 BLAKE2B 6c966b98c6d5bbf9921f40082e179e295d1c1daa46c826b589bcb44eb94e7655b3b50d3a25528e6c35f33711687c2159cc4451adada8e071f6f7acd9a504dcb1 SHA512 20117c2e1fdcc86c8f169cd18c956c539583e091a315f3e3a7407b2274f5107a3aa1dac55a97b586074f6086d32f1953d7024d0565c5db894e4b4cb184586536 +MISC metadata.xml 11020 BLAKE2B 583f3f8c1e23b7ab140c69e3b1beb6d95cea0a88499735f5ded96a97532da6692efe11f0cb0247ba2ebb7529eef31f99a842a03be3083c078b1f059065dfe460 SHA512 e4fb36dd97e7e8d984a9eea534b194df7943458525a893f236396ca6bc2e361aebd4d977a48602126c166a111fc0b1f70e3eeeef55c1029a504c2c201abaf178 diff --git a/dev-perl/Dist-Zilla/files/Dist-Zilla-6.10.0-perl526.patch b/dev-perl/Dist-Zilla/files/Dist-Zilla-6.10.0-perl526.patch new file mode 100644 index 000000000000..ad908fa84a0e --- /dev/null +++ b/dev-perl/Dist-Zilla/files/Dist-Zilla-6.10.0-perl526.patch @@ -0,0 +1,58 @@ +From fda708069c3c3bdb2b6d8922b21eb604084d51e2 Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Fri, 6 Oct 2017 22:32:36 +1300 +Subject: Keep dist-root in @INC beyond Perl 5.26 + +The only thing that makes sense is to ensure CWD of some description is +in @INC at some stage before plugins are actually loaded, because +that's the traditional expectation. + +Basically, this option is the only option that works. There's no viable +way to scope @INC changes to anything narrower without breaking the +usage entirely. + +There's no sane way to limit the depth of @INC changes either, even if +we wanted to. + +And if you have vulnerable code in your project source tree that you're +worried about, you're pretty much beyond screwed already, and you're +about to be screwing CPAN when you ship next, and no amount of @INC +magic will save you. + +Bug: https://bugs.gentoo.org/613586 +Bug: https://github.com/rjbs/Dist-Zilla/issues/581 +Bug: https://github.com/rjbs/Dist-Zilla/pull/590 +Bug: https://github.com/rjbs/Dist-Zilla/pull/600 +--- + lib/Dist/Zilla/Dist/Builder.pm | 1 + + lib/Dist/Zilla/Util/AuthorDeps.pm | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/Dist/Zilla/Dist/Builder.pm b/lib/Dist/Zilla/Dist/Builder.pm +index 2148eeb..6b8e301 100644 +--- a/lib/Dist/Zilla/Dist/Builder.pm ++++ b/lib/Dist/Zilla/Dist/Builder.pm +@@ -36,6 +36,7 @@ sub from_config { + $arg ||= {}; + + my $root = path($arg->{dist_root} || '.'); ++ unshift @INC, $root->absolute->stringify; + + my $sequence = $class->_load_config({ + root => $root, +diff --git a/lib/Dist/Zilla/Util/AuthorDeps.pm b/lib/Dist/Zilla/Util/AuthorDeps.pm +index 01a958e..cfcd62f 100644 +--- a/lib/Dist/Zilla/Util/AuthorDeps.pm ++++ b/lib/Dist/Zilla/Util/AuthorDeps.pm +@@ -105,7 +105,7 @@ sub extract_author_deps { + + if ($missing) { + require Module::Runtime; +- ++ unshift @INC, $root->absolute->stringify; + @packages = + grep { + $_ eq 'perl' +-- +2.14.1 + diff --git a/dev-perl/Dist-Zilla/metadata.xml b/dev-perl/Dist-Zilla/metadata.xml new file mode 100644 index 000000000000..33430d87501c --- /dev/null +++ b/dev-perl/Dist-Zilla/metadata.xml @@ -0,0 +1,150 @@ + + + + + perl@gentoo.org + Gentoo Perl Project + + + Dist-Zilla + Dist::Zilla + Dist::Zilla::App + Dist::Zilla::App::Command + Dist::Zilla::App::Command::add + Dist::Zilla::App::Command::authordeps + Dist::Zilla::App::Command::build + Dist::Zilla::App::Command::clean + Dist::Zilla::App::Command::install + Dist::Zilla::App::Command::listdeps + Dist::Zilla::App::Command::new + Dist::Zilla::App::Command::nop + Dist::Zilla::App::Command::release + Dist::Zilla::App::Command::run + Dist::Zilla::App::Command::setup + Dist::Zilla::App::Command::smoke + Dist::Zilla::App::Command::test + Dist::Zilla::App::Command::version + Dist::Zilla::App::Tester + Dist::Zilla::App::Tester::Result + Dist::Zilla::Chrome::Term + Dist::Zilla::Chrome::Test + Dist::Zilla::Dist::Builder + Dist::Zilla::Dist::Minter + Dist::Zilla::File::FromCode + Dist::Zilla::File::InMemory + Dist::Zilla::File::OnDisk + Dist::Zilla::MVP::Assembler + Dist::Zilla::MVP::Assembler::GlobalConfig + Dist::Zilla::MVP::Assembler::Zilla + Dist::Zilla::MVP::Reader::Finder + Dist::Zilla::MVP::Reader::Perl + Dist::Zilla::MVP::RootSection + Dist::Zilla::MVP::Section + Dist::Zilla::MintingProfile::Default + Dist::Zilla::Path + Dist::Zilla::Plugin::AutoPrereqs + Dist::Zilla::Plugin::AutoVersion + Dist::Zilla::Plugin::CPANFile + Dist::Zilla::Plugin::ConfirmRelease + Dist::Zilla::Plugin::DistINI + Dist::Zilla::Plugin::Encoding + Dist::Zilla::Plugin::ExecDir + Dist::Zilla::Plugin::ExtraTests + Dist::Zilla::Plugin::FakeRelease + Dist::Zilla::Plugin::FileFinder::ByName + Dist::Zilla::Plugin::FileFinder::Filter + Dist::Zilla::Plugin::FinderCode + Dist::Zilla::Plugin::GatherDir + Dist::Zilla::Plugin::GatherDir::Template + Dist::Zilla::Plugin::GatherFile + Dist::Zilla::Plugin::GenerateFile + Dist::Zilla::Plugin::InlineFiles + Dist::Zilla::Plugin::License + Dist::Zilla::Plugin::MakeMaker + Dist::Zilla::Plugin::MakeMaker::Runner + Dist::Zilla::Plugin::Manifest + Dist::Zilla::Plugin::ManifestSkip + Dist::Zilla::Plugin::MetaConfig + Dist::Zilla::Plugin::MetaJSON + Dist::Zilla::Plugin::MetaNoIndex + Dist::Zilla::Plugin::MetaResources + Dist::Zilla::Plugin::MetaTests + Dist::Zilla::Plugin::MetaYAML + Dist::Zilla::Plugin::ModuleBuild + Dist::Zilla::Plugin::ModuleShareDirs + Dist::Zilla::Plugin::NextRelease + Dist::Zilla::Plugin::PkgDist + Dist::Zilla::Plugin::PkgVersion + Dist::Zilla::Plugin::PodCoverageTests + Dist::Zilla::Plugin::PodSyntaxTests + Dist::Zilla::Plugin::PodVersion + Dist::Zilla::Plugin::Prereqs + Dist::Zilla::Plugin::PruneCruft + Dist::Zilla::Plugin::PruneFiles + Dist::Zilla::Plugin::Readme + Dist::Zilla::Plugin::RemovePrereqs + Dist::Zilla::Plugin::ShareDir + Dist::Zilla::Plugin::TemplateModule + Dist::Zilla::Plugin::TestRelease + Dist::Zilla::Plugin::UploadToCPAN + Dist::Zilla::PluginBundle::Basic + Dist::Zilla::PluginBundle::Classic + Dist::Zilla::PluginBundle::FakeClassic + Dist::Zilla::PluginBundle::Filter + Dist::Zilla::Prereqs + Dist::Zilla::Role::AfterBuild + Dist::Zilla::Role::AfterMint + Dist::Zilla::Role::AfterRelease + Dist::Zilla::Role::BeforeArchive + Dist::Zilla::Role::BeforeBuild + Dist::Zilla::Role::BeforeMint + Dist::Zilla::Role::BeforeRelease + Dist::Zilla::Role::BuildPL + Dist::Zilla::Role::BuildRunner + Dist::Zilla::Role::Chrome + Dist::Zilla::Role::ConfigDumper + Dist::Zilla::Role::EncodingProvider + Dist::Zilla::Role::ExecFiles + Dist::Zilla::Role::File + Dist::Zilla::Role::FileFinder + Dist::Zilla::Role::FileFinderUser + Dist::Zilla::Role::FileGatherer + Dist::Zilla::Role::FileInjector + Dist::Zilla::Role::FileMunger + Dist::Zilla::Role::FilePruner + Dist::Zilla::Role::InstallTool + Dist::Zilla::Role::LicenseProvider + Dist::Zilla::Role::MetaProvider + Dist::Zilla::Role::MintingProfile + Dist::Zilla::Role::MintingProfile::ShareDir + Dist::Zilla::Role::ModuleMaker + Dist::Zilla::Role::MutableFile + Dist::Zilla::Role::NameProvider + Dist::Zilla::Role::PPI + Dist::Zilla::Role::Plugin + Dist::Zilla::Role::PluginBundle + Dist::Zilla::Role::PluginBundle::Easy + Dist::Zilla::Role::PrereqScanner + Dist::Zilla::Role::PrereqSource + Dist::Zilla::Role::ReleaseStatusProvider + Dist::Zilla::Role::Releaser + Dist::Zilla::Role::ShareDir + Dist::Zilla::Role::Stash + Dist::Zilla::Role::Stash::Authors + Dist::Zilla::Role::Stash::Login + Dist::Zilla::Role::StubBuild + Dist::Zilla::Role::TestRunner + Dist::Zilla::Role::TextTemplate + Dist::Zilla::Role::VersionProvider + Dist::Zilla::Stash::Mint + Dist::Zilla::Stash::PAUSE + Dist::Zilla::Stash::Rights + Dist::Zilla::Stash::User + Dist::Zilla::Tester + Dist::Zilla::Tutorial + Dist::Zilla::Types + Dist::Zilla::Util + Dist::Zilla::Util::AuthorDeps + Test::DZil + + -- cgit v1.2.3