Skip to content

Commit

Permalink
dev-perl/Encode-EUCJPASCII: -r bump for EAPI7 + CFLAGS love
Browse files Browse the repository at this point in the history
- EAPI7
- Improve deps slightly
- Ensure CFLAGS passed to make/compiler
- Fix bad remote-id's in metadata.xml

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <[email protected]>
  • Loading branch information
kentfredric committed Aug 13, 2020
1 parent 239a954 commit a87fca8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions dev-perl/Encode-EUCJPASCII/Encode-EUCJPASCII-0.30.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=NEZUMI
DIST_VERSION=0.03
inherit perl-module

DESCRIPTION="An eucJP-open mapping"

SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=virtual/perl-Encode-1.140.0
"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-Test-Simple
)
"
PERL_RM_FILES=(
"t/pod.t"
)
src_compile() {
mymake=(
"OPTIMIZE=${CFLAGS}"
)
perl-module_src_compile
}
2 changes: 1 addition & 1 deletion dev-perl/Encode-EUCJPASCII/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</maintainer>
<upstream>
<remote-id type="cpan">Encode-EUCJPASCII</remote-id>
<remote-id type="cpan-module"> Encode::EUCJPASCII</remote-id>
<remote-id type="cpan-module">Encode::EUCJPASCII</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit a87fca8

Please sign in to comment.