[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: fa64346a8a8e9d12fac8731f27714f2a736f1f2f Author: David Seifert gentoo org> AuthorDate: Sun Dec 29 13:06:08 2019 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 29 13:06:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa64346a dev-python/jpype: Remove old Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert gentoo.org> dev-python/jpype/Manifest | 1 - dev-python/jpype/jpype-0.6.1.ebuild | 31 --- 2 files changed, 32 deletions(-) diff --git a/dev-python/jpype/Manifest b/dev-python/jpype/Manifest index c897916a39f..acd76353d33 100644 --- a/dev-python/jpype/Manifest +++ b/dev-python/jpype/Manifest @@ -1,3 +1,2 @@ -DIST jpype-0.6.1.zip 251407 BLAKE2B 9dc866c1dc48a3c7d62fcbcfb84ada447285c59aaac02d551054d02c40ebd32f9fc662c8da371a35679d7b54e333c2da88025961aa5808d158967d16c5f2af06 SHA512 e3cdae95a394f5b57049f444e4da442a75938279f77d74304ac6a45bf00eb4110d3a63b5580e30d8264f195f848639f6b4e973e48510d0f5cd60c475ce2f DIST jpype-0.6.2.zip 260812 BLAKE2B 1e432e9d299b88d8205a2f8088123b61460772abf4fb04b5094f15c69d205d3393c2b9a31654bcfa7be4ee85d3acb702960526a14d95018c48dd012665e858f4 SHA512 f4ce5fe6e0f920f6c17bc8815c09fb54909f105fb4cf022856482680f24305a002ce00354cf44c730b34220d12f1d926971b246d0a938bb411401b0656486091 DIST jpype-0.6.3.tar.gz 169886 BLAKE2B 26a7cd583bfb40333de99658130a6672c87998472fbfea12de888bfe9a054206d13d8b57896a7b74b79d38280f516cb6e498cd2b1d7549930ded5bcc615619a4 SHA512 49664083db6db309c56068ace713059be1fede721c7368fb3fa0ed5cde0aeb6782b2953be9c0d71f8f8028e909e67e525338da0797a5b4bcfc2325614d5849cc diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild deleted file mode 100644 index eeaf9bcade9..000 --- a/dev-python/jpype/jpype-0.6.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python3_5 ) - -inherit java-pkg-2 distutils-r1 - -DESCRIPTION="JPype is an effort to allow Python programs full access to Java class librairies" -HOMEPAGE="https://github.com/originell/jpype; -SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip" - -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples" - -S="${WORKDIR}/${P}" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=virtual/jdk-1.6" - -PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) - -python_install() { - use doc && local DOCS=( doc/* ) - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: 4a94712a69fd8e6771135fe46b4b84555024fb88 Author: Pacho Ramos gentoo org> AuthorDate: Thu Jun 28 19:09:17 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Thu Jun 28 19:17:56 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a94712a dev-python/jpype: Support python3.6 Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-python/jpype/jpype-0.6.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/jpype/jpype-0.6.3.ebuild b/dev-python/jpype/jpype-0.6.3.ebuild index 4b7d9123cd1..1200d253b83 100644 --- a/dev-python/jpype/jpype-0.6.3.ebuild +++ b/dev-python/jpype/jpype-0.6.3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit java-pkg-2 distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: b4644332f148752584883ba472e64023408922dd Author: Jason Zaman gentoo org> AuthorDate: Mon Jun 25 09:44:55 2018 + Commit: Jason Zaman gentoo org> CommitDate: Mon Jun 25 09:53:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4644332 dev-python/jpype: amd64 stable Gentoo-bug: 658968 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/jpype/jpype-0.6.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/jpype/jpype-0.6.2.ebuild b/dev-python/jpype/jpype-0.6.2.ebuild index c49326a2116..338abb47352 100644 --- a/dev-python/jpype/jpype-0.6.2.ebuild +++ b/dev-python/jpype/jpype-0.6.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc examples" S="${WORKDIR}/${P}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: ef56fc17172b0f6eb12b4ccaa1492c7d8350e307 Author: Patrice Clement gentoo org> AuthorDate: Sun Jun 24 14:49:41 2018 + Commit: Patrice Clement gentoo org> CommitDate: Sun Jun 24 14:51:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef56fc17 dev-python/jpype: version bump. Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/jpype/Manifest | 1 + dev-python/jpype/jpype-0.6.3.ebuild | 39 + 2 files changed, 40 insertions(+) diff --git a/dev-python/jpype/Manifest b/dev-python/jpype/Manifest index a9bcf30b71b..c897916a39f 100644 --- a/dev-python/jpype/Manifest +++ b/dev-python/jpype/Manifest @@ -1,2 +1,3 @@ DIST jpype-0.6.1.zip 251407 BLAKE2B 9dc866c1dc48a3c7d62fcbcfb84ada447285c59aaac02d551054d02c40ebd32f9fc662c8da371a35679d7b54e333c2da88025961aa5808d158967d16c5f2af06 SHA512 e3cdae95a394f5b57049f444e4da442a75938279f77d74304ac6a45bf00eb4110d3a63b5580e30d8264f195f848639f6b4e973e48510d0f5cd60c475ce2f DIST jpype-0.6.2.zip 260812 BLAKE2B 1e432e9d299b88d8205a2f8088123b61460772abf4fb04b5094f15c69d205d3393c2b9a31654bcfa7be4ee85d3acb702960526a14d95018c48dd012665e858f4 SHA512 f4ce5fe6e0f920f6c17bc8815c09fb54909f105fb4cf022856482680f24305a002ce00354cf44c730b34220d12f1d926971b246d0a938bb411401b0656486091 +DIST jpype-0.6.3.tar.gz 169886 BLAKE2B 26a7cd583bfb40333de99658130a6672c87998472fbfea12de888bfe9a054206d13d8b57896a7b74b79d38280f516cb6e498cd2b1d7549930ded5bcc615619a4 SHA512 49664083db6db309c56068ace713059be1fede721c7368fb3fa0ed5cde0aeb6782b2953be9c0d71f8f8028e909e67e525338da0797a5b4bcfc2325614d5849cc diff --git a/dev-python/jpype/jpype-0.6.3.ebuild b/dev-python/jpype/jpype-0.6.3.ebuild new file mode 100644 index 000..4b7d9123cd1 --- /dev/null +++ b/dev-python/jpype/jpype-0.6.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit java-pkg-2 distutils-r1 + +DESCRIPTION="JPype is an effort to allow Python programs full access to Java class librairies" +HOMEPAGE="https://github.com/originell/jpype; +SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +S="${WORKDIR}/${P}" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=virtual/jdk-1.6" + +#PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) + +python_compile() { + if ! python_is_python3; then + local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + export CXXFLAGS + fi + distutils-r1_python_compile +} + +python_install() { + use doc && local DOCS=( doc/* ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: 929ed7e78eefd8ddd85c4e9ddc6ad84fed41dbbe Author: Pacho Ramos gentoo org> AuthorDate: Sun Jun 24 14:35:56 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jun 24 14:37:08 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929ed7e7 dev-python/jpype: Support python3.6 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/jpype/jpype-0.6.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/jpype/jpype-0.6.2.ebuild b/dev-python/jpype/jpype-0.6.2.ebuild index f8dfefc0dd2..c49326a2116 100644 --- a/dev-python/jpype/jpype-0.6.2.ebuild +++ b/dev-python/jpype/jpype-0.6.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit java-pkg-2 distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/files/, dev-python/jpype/
commit: 561d2af41a1662af7b81bedefc55a3f2e7f2ff70 Author: Peter Levine gmail com> AuthorDate: Mon Jul 24 07:26:40 2017 + Commit: Patrice Clement gentoo org> CommitDate: Mon Jul 24 14:28:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561d2af4 dev-python/jpype: fix building with -Werror=terminate using GCC-6. Gentoo-Bug: https://bugs.gentoo.org/608920 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/5194 dev-python/jpype/files/jpype-gcc6-noexcept.patch | 57 dev-python/jpype/jpype-0.6.1.ebuild | 4 +- dev-python/jpype/jpype-0.6.2.ebuild | 2 + 3 files changed, 62 insertions(+), 1 deletion(-) diff --git a/dev-python/jpype/files/jpype-gcc6-noexcept.patch b/dev-python/jpype/files/jpype-gcc6-noexcept.patch new file mode 100644 index 000..710844d3560 --- /dev/null +++ b/dev-python/jpype/files/jpype-gcc6-noexcept.patch @@ -0,0 +1,57 @@ +Bug: https://bugs.gentoo.org/show_bug.cgi?id=608920 +Upstream commit: https://github.com/originell/jpype/commit/3a4fb98938afd9c03070086d1b8fda8841410fa3 + +From c3578c3488de35236f73b6eb27428b1f1526c45b Mon Sep 17 00:00:00 2001 +From: Peter-Levine+Date: Sat, 11 Feb 2017 23:31:27 -0500 +Subject: [PATCH] Mark destructor that throws as noexcept(false) for >=C++11 + +--- + native/common/include/jp_field.h | 2 +- + native/common/include/jpype.h| 6 ++ + native/common/jp_field.cpp | 2 +- + 3 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/native/common/include/jp_field.h b/native/common/include/jp_field.h +index d28b795..f93752c 100644 +--- a/native/common/include/jp_field.h b/native/common/include/jp_field.h +@@ -38,7 +38,7 @@ public : + /** +* destructor +*/ +- virtual ~JPField(); ++ virtual ~JPField() NO_EXCEPT_FALSE; + + public : + bool isStatic() const; +diff --git a/native/common/include/jpype.h b/native/common/include/jpype.h +index 7db5832..a492d06 100644 +--- a/native/common/include/jpype.h b/native/common/include/jpype.h +@@ -64,6 +64,12 @@ + #define PyUnicode_FromFormat PyString_FromFormat + #endif + ++// Define this and use to allow destructors to throw in C++11 or later ++#if __cplusplus >= 201103L ++#define NO_EXCEPT_FALSE noexcept(false) ++#else ++#define NO_EXCEPT_FALSE ++#endif + + #include + #include +diff --git a/native/common/jp_field.cpp b/native/common/jp_field.cpp +index 8c75e58..5ef9d8c 100644 +--- a/native/common/jp_field.cpp b/native/common/jp_field.cpp +@@ -63,7 +63,7 @@ JPField::JPField(const JPField& fld) + TRACE_OUT; + } + +-JPField::~JPField() ++JPField::~JPField() NO_EXCEPT_FALSE + { + TRACE_IN("JPField::~JPField"); + JPEnv::getJava()->DeleteGlobalRef(m_Field); diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild index 6ab0fe49543..090ec143ecb 100644 --- a/dev-python/jpype/jpype-0.6.1.ebuild +++ b/dev-python/jpype/jpype-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,6 +22,8 @@ DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] >=virtual/jdk-1.6" +PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) + python_compile() { if ! python_is_python3; then local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" diff --git a/dev-python/jpype/jpype-0.6.2.ebuild b/dev-python/jpype/jpype-0.6.2.ebuild index 3ea7f1fefbc..f8dfefc0dd2 100644 --- a/dev-python/jpype/jpype-0.6.2.ebuild +++ b/dev-python/jpype/jpype-0.6.2.ebuild @@ -22,6 +22,8 @@ DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] >=virtual/jdk-1.6" +PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) + python_compile() { if ! python_is_python3; then local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: 70232809d4be3521b6533bde7aaeb45edb09b11e Author: Patrice Clement gentoo org> AuthorDate: Fri Feb 10 22:30:00 2017 + Commit: Patrice Clement gentoo org> CommitDate: Fri Feb 10 22:30:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70232809 dev-python/jpype: version bump. Package-Manager: portage-2.3.3 dev-python/jpype/Manifest | 1 + dev-python/jpype/jpype-0.6.2.ebuild | 38 + 2 files changed, 39 insertions(+) diff --git a/dev-python/jpype/Manifest b/dev-python/jpype/Manifest index 06504b3138..2b049e0ed5 100644 --- a/dev-python/jpype/Manifest +++ b/dev-python/jpype/Manifest @@ -1 +1,2 @@ DIST jpype-0.6.1.zip 251407 SHA256 63ad841bae8d4a75e657f867122ef569ef6e9545d6880d30da63930bc74816e5 SHA512 e3cdae95a394f5b57049f444e4da442a75938279f77d74304ac6a45bf00eb4110d3a63b5580e30d8264f195f848639f6b4e973e48510d0f5cd60c475ce2f WHIRLPOOL 5ae85f6a1e52f8fc26242f8772f467df06bca15447db9ac3881e1688bb86966aa3eeb542ad228779b286be3b7ece46cba13b15835bb6914eb2861122f614429f +DIST jpype-0.6.2.zip 260812 SHA256 f1138b3836a1e236b2d9d18e223c5ee9bcc0fd3c9ecd482b6f02104db69bc40d SHA512 f4ce5fe6e0f920f6c17bc8815c09fb54909f105fb4cf022856482680f24305a002ce00354cf44c730b34220d12f1d926971b246d0a938bb411401b0656486091 WHIRLPOOL 26e3686beb9cd62e9e7bd5d53b7b960e571767690e8c26b4022efece2f3de4f9a0349e561ee46267db542404077b7d2d985b226fc27c56864858cb7cbd8d36d8 diff --git a/dev-python/jpype/jpype-0.6.2.ebuild b/dev-python/jpype/jpype-0.6.2.ebuild new file mode 100644 index 00..0b1edf0d02 --- /dev/null +++ b/dev-python/jpype/jpype-0.6.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit java-pkg-2 distutils-r1 + +DESCRIPTION="JPype is an effort to allow Python programs full access to Java class librairies" +HOMEPAGE="https://github.com/originell/jpype; +SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +S="${WORKDIR}/${P}" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=virtual/jdk-1.6" + +python_compile() { + if ! python_is_python3; then + local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + export CXXFLAGS + fi + distutils-r1_python_compile +} + +python_install() { + use doc && local DOCS=( doc/* ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: e611ae2373c35bfabe62b2ec3ef2a42d6c4d4b73 Author: Patrice Clement gentoo org> AuthorDate: Thu May 12 09:40:05 2016 + Commit: Patrice Clement gentoo org> CommitDate: Thu May 12 09:40:05 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e611ae23 dev-python/jpype: Correct typo. Package-Manager: portage-2.2.26 dev-python/jpype/jpype-0.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild index 54af8b5..80d4406 100644 --- a/dev-python/jpype/jpype-0.6.1.ebuild +++ b/dev-python/jpype/jpype-0.6.1.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) inherit java-pkg-2 distutils-r1 -DESCRIPTION="JPype is an effort to allow Python programs full access to Java class libraries" +DESCRIPTION="JPype is an effort to allow Python programs full access to Java class librairies" HOMEPAGE="https://github.com/originell/jpype; SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip"
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: d9b69fb1e4db35bbc035e61464d1c3835205a72d Author: Patrice Clement gentoo org> AuthorDate: Wed Apr 13 08:42:50 2016 + Commit: Patrice Clement gentoo org> CommitDate: Wed Apr 13 08:44:08 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b69fb1 dev-python/jpype: Stable for x86 (thanks Polynomial-C!). Package-Manager: portage-2.2.26 dev-python/jpype/jpype-0.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild index 3757f90..54af8b5 100644 --- a/dev-python/jpype/jpype-0.6.1.ebuild +++ b/dev-python/jpype/jpype-0.6.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc examples" S="${WORKDIR}/${P}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: e98946107a4a52c3f17056b692e0daf2a71c59da Author: Patrice Clement gentoo org> AuthorDate: Thu Feb 25 20:00:19 2016 + Commit: Patrice Clement gentoo org> CommitDate: Thu Feb 25 20:03:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9894610 dev-python/jpype: Switch to java-pkg-2. Package-Manager: portage-2.2.26 dev-python/jpype/jpype-0.6.1.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild index f8d469f..cad4ffa 100644 --- a/dev-python/jpype/jpype-0.6.1.ebuild +++ b/dev-python/jpype/jpype-0.6.1.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) -inherit distutils-r1 java-pkg-opt-2 +inherit java-pkg-2 distutils-r1 DESCRIPTION="JPype is an effort to allow Python programs full access to Java class libraries" HOMEPAGE="https://github.com/originell/jpype; @@ -23,10 +23,6 @@ DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] >=virtual/jdk-1.6" -pkg_setup() { - java-pkg_init -} - python_compile() { if ! python_is_python3; then local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
[gentoo-commits] repo/gentoo:master commit in: dev-python/jpype/
commit: 759459fffe014945e1e564cceb31935b7dc3ca16 Author: Patrice Clement gentoo org> AuthorDate: Thu Feb 25 00:39:48 2016 + Commit: Patrice Clement gentoo org> CommitDate: Thu Feb 25 00:39:58 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=759459ff dev-python/jpype: Add jpype to the tree. JPype is an effort to allow Python programs full access to Java class libraries. Gentoo-Bug: https://bugs.gentoo.org/304325 URL: https://github.com/originell/jpype Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement gentoo.org> dev-python/jpype/Manifest | 1 + dev-python/jpype/jpype-0.6.1.ebuild | 42 + dev-python/jpype/metadata.xml | 19 + 3 files changed, 62 insertions(+) diff --git a/dev-python/jpype/Manifest b/dev-python/jpype/Manifest new file mode 100644 index 000..06504b3 --- /dev/null +++ b/dev-python/jpype/Manifest @@ -0,0 +1 @@ +DIST jpype-0.6.1.zip 251407 SHA256 63ad841bae8d4a75e657f867122ef569ef6e9545d6880d30da63930bc74816e5 SHA512 e3cdae95a394f5b57049f444e4da442a75938279f77d74304ac6a45bf00eb4110d3a63b5580e30d8264f195f848639f6b4e973e48510d0f5cd60c475ce2f WHIRLPOOL 5ae85f6a1e52f8fc26242f8772f467df06bca15447db9ac3881e1688bb86966aa3eeb542ad228779b286be3b7ece46cba13b15835bb6914eb2861122f614429f diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild new file mode 100644 index 000..f8d469f --- /dev/null +++ b/dev-python/jpype/jpype-0.6.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 java-pkg-opt-2 + +DESCRIPTION="JPype is an effort to allow Python programs full access to Java class libraries" +HOMEPAGE="https://github.com/originell/jpype; +SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +S="${WORKDIR}/${P}" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=virtual/jdk-1.6" + +pkg_setup() { + java-pkg_init +} + +python_compile() { + if ! python_is_python3; then + local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + export CXXFLAGS + fi + distutils-r1_python_compile +} + +python_install() { + use doc && local DOCS=( doc/* ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install +} diff --git a/dev-python/jpype/metadata.xml b/dev-python/jpype/metadata.xml new file mode 100644 index 000..c8bb153 --- /dev/null +++ b/dev-python/jpype/metadata.xml @@ -0,0 +1,19 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + originell/jpype + + + monsie...@gentoo.org + Patrice Clement + + + pyt...@gentoo.org + Python + + + j...@gentoo.org + Java + +