Skip to content

Commit

Permalink
dev-perl/Inline-Python: Add support up to python3_8
Browse files Browse the repository at this point in the history
- EAPI7 conversion
- Add python3_7 and python3_8 support

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kent Fredric <[email protected]>
  • Loading branch information
kentfredric committed May 21, 2020
1 parent 95ebc46 commit 1993d3d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions dev-perl/Inline-Python/Inline-Python-0.560.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
# Feel free to add more targets after testing.

DIST_AUTHOR=NINE
DIST_VERSION=0.56
inherit python-single-r1 perl-module

DESCRIPTION="Easy implementation of Python extensions"

SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
virtual/perl-Data-Dumper
>=virtual/perl-Digest-MD5-2.500.0
>=dev-perl/Inline-0.460.0
${PYTHON_DEPS}
"
DEPEND="${PYTHON_DEPS}"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=dev-perl/Proc-ProcessTable-0.530.0
virtual/perl-Test-Simple
dev-perl/Test-Deep
dev-perl/Test-Number-Delta
virtual/perl-Test
)
"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

PATCHES=( "${FILESDIR}/${PN}-0.460.0-insanepython.patch" )

0 comments on commit 1993d3d

Please sign in to comment.