forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-perl/Inline-Python: Add support up to python3_8
- 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
1 parent
95ebc46
commit 1993d3d
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ) |