Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 789911 Details for
Bug 819513
app-portage/g-cpan creates ebuilds with (soon to be) deprecated EAPI=5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for EAPI=8
EAPI8.patch (text/plain), 1.65 KB, created by
Ian Pickworth
on 2022-07-03 13:16:49 UTC
(
hide
)
Description:
Updated patch for EAPI=8
Filename:
MIME Type:
Creator:
Ian Pickworth
Created:
2022-07-03 13:16:49 UTC
Size:
1.65 KB
patch
obsolete
>diff --git a/bin/g-cpan b/bin/g-cpan >index b392a4b..98f6504 100644 >--- a/bin/g-cpan >+++ b/bin/g-cpan >@@ -675,14 +675,14 @@ sub generatePackageInfo > $module_section = $module_author; > my @module_bits = split /\//, $module_author, 2; > $module_author = $module_bits[0]; >- $module_section = sprintf "MODULE_SECTION=\"%s\"\n", $module_bits[1]; >+ $module_section = sprintf "DIST_SECTION=\"%s\"\n", $module_bits[1]; > } > > # Detect the file extension, upstream usually uses .tar.gz, but not always > my $module_a_ext = ''; > foreach my $ext (qw( tgz tbz2 tar.bz2 tar.xz tar.Z zip )) { > if ( $gcpan_run->{'cpan'}{lc($original_ebuild)}{'src_uri'} =~ m/\.\Q$ext\E$/ ) { >- $module_a_ext = sprintf 'MODULE_A_EXT="%s"', $ext; >+ $module_a_ext = sprintf 'DIST_A_EXT="%s"', $ext; > } > } > >@@ -691,14 +691,14 @@ sub generatePackageInfo > $description =~ s/"/\\"/g; > > print $EBUILD <<"HERE"; >-# Copyright 1999-2016 Gentoo Foundation >+# Copyright 1999-2022 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # This ebuild generated by $prog $VERSION > >-EAPI=5 >+EAPI=8 > >-MODULE_AUTHOR="$module_author" >-MODULE_VERSION="$module_version" >+DIST_AUTHOR="$module_author" >+DIST_VERSION="$module_version" > $module_a_ext > $module_section > inherit perl-module
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 819513
:
789908
| 789911