diff options
Diffstat (limited to 'dev-perl/Inline-Python')
| -rw-r--r-- | dev-perl/Inline-Python/Inline-Python-0.560.0-r1.ebuild | 40 | ||||
| -rw-r--r-- | dev-perl/Inline-Python/Inline-Python-0.560.0.ebuild | 39 | ||||
| -rw-r--r-- | dev-perl/Inline-Python/Manifest | 1 | ||||
| -rw-r--r-- | dev-perl/Inline-Python/files/Inline-Python-0.460.0-insanepython.patch | 20 | ||||
| -rw-r--r-- | dev-perl/Inline-Python/metadata.xml | 17 |
5 files changed, 117 insertions, 0 deletions
diff --git a/dev-perl/Inline-Python/Inline-Python-0.560.0-r1.ebuild b/dev-perl/Inline-Python/Inline-Python-0.560.0-r1.ebuild new file mode 100644 index 000000000000..08eec2057680 --- /dev/null +++ b/dev-perl/Inline-Python/Inline-Python-0.560.0-r1.ebuild @@ -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" ) diff --git a/dev-perl/Inline-Python/Inline-Python-0.560.0.ebuild b/dev-perl/Inline-Python/Inline-Python-0.560.0.ebuild new file mode 100644 index 000000000000..9dad8f2464f2 --- /dev/null +++ b/dev-perl/Inline-Python/Inline-Python-0.560.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) +# 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="${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" ) diff --git a/dev-perl/Inline-Python/Manifest b/dev-perl/Inline-Python/Manifest new file mode 100644 index 000000000000..1cc1ed5fe732 --- /dev/null +++ b/dev-perl/Inline-Python/Manifest @@ -0,0 +1 @@ +DIST Inline-Python-0.56.tar.gz 58224 BLAKE2B e422c46cfaaaf77a0a683ccf2818db62e5f2c726b9ede71f446bd2bb4fe66ba8ab8d99b30ce26168bf47cc23f06afc5b9839a403cd6b52781aa288a29cbedea3 SHA512 d5fffec8a377ec10c8b21ed9324e2de5a77d10304fc2a89196df89984e55869e3e4e0ef970f1aa4651068b8a6d834fa8eb18d70a052c646ddd98ef338f772e7d diff --git a/dev-perl/Inline-Python/files/Inline-Python-0.460.0-insanepython.patch b/dev-perl/Inline-Python/files/Inline-Python-0.460.0-insanepython.patch new file mode 100644 index 000000000000..b713f170abe8 --- /dev/null +++ b/dev-perl/Inline-Python/files/Inline-Python-0.460.0-insanepython.patch @@ -0,0 +1,20 @@ +diff -ruN Inline-Python-0.46.orig/Makefile.PL Inline-Python-0.46/Makefile.PL +--- Inline-Python-0.46.orig/Makefile.PL 2014-12-07 12:35:25.478476508 +0100 ++++ Inline-Python-0.46/Makefile.PL 2014-12-11 00:37:37.580577317 +0100 +@@ -134,7 +134,7 @@ + $ref->{libpath} = join '/', (get_config_var($ref, "LIBDEST"), + 'config') + if ($ref->{libpath} eq 'None'); +- return query_options($ref) unless sanity_check($ref); ++ return $ref; + } + + sub test_interrogate { +@@ -171,6 +171,7 @@ + Extra Libs: $sel->{syslibs} + Python Library: $sel->{libpath}/$sel->{libpython} + Include Path: $sel->{incpath} ++ + END + # ' stupid vim. + } diff --git a/dev-perl/Inline-Python/metadata.xml b/dev-perl/Inline-Python/metadata.xml new file mode 100644 index 000000000000..ad766f4bf7c7 --- /dev/null +++ b/dev-perl/Inline-Python/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Inline-Python</remote-id> + <remote-id type="cpan-module">Inline::Python</remote-id> + <remote-id type="cpan-module">Inline::Python::Boolean</remote-id> + <remote-id type="cpan-module">Inline::Python::Function</remote-id> + <remote-id type="cpan-module">Inline::Python::Object</remote-id> + <remote-id type="cpan-module">Inline::Python::Object::Data</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
