summaryrefslogtreecommitdiff
path: root/dev-python/pyelemental
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pyelemental
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyelemental')
-rw-r--r--dev-python/pyelemental/Manifest4
-rw-r--r--dev-python/pyelemental/files/pyelemental-1.2.0-gcc-4.7.patch25
-rw-r--r--dev-python/pyelemental/metadata.xml15
-rw-r--r--dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild33
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/pyelemental/Manifest b/dev-python/pyelemental/Manifest
new file mode 100644
index 000000000000..76a585b40424
--- /dev/null
+++ b/dev-python/pyelemental/Manifest
@@ -0,0 +1,4 @@
+AUX pyelemental-1.2.0-gcc-4.7.patch 641 BLAKE2B 75cdc88875b51acc510f16989638ebfd52daa4322c6870633b08b55099337147c3b0ea565679da38058e5bd2cbc2bb188408077888d08d6cee5f880ab39d5fa2 SHA512 f48af2ab3a4ae49193d011e4c9e74a1ef6270f4ec80e5968588b8a76d2bc172128723bf4b05e7f34f0caed87577ad80c504b302a7bf8d94eb52dc382ffcdcabb
+DIST pyelemental-1.2.0.tar.bz2 34610 BLAKE2B b3de55927c889344ca05ae690e535a8a0243b5576a71691d602a51914565e0a67239c89b69795ab9e66bf58af17851fba75669a3fc00c2f97fb40daa59c14de0 SHA512 2053042ed19e73d9fefd1d86d29d6d3f9fbed1b0733273197bf62f908154d96ac4c6f3ca0c314e66fa291ab253e8afcdf514e4fbf3e4ea66741349f45a27b23e
+EBUILD pyelemental-1.2.0-r1.ebuild 734 BLAKE2B 7090b4588d473c965da8d4fd9c1530cbb8770070eafd9a80193c26af5eea9bb0cf2a8b08791431226d1234fe4e879e8ebd5849dd07f0c545f778ff0e1031f2ef SHA512 c77563bc9300870726a38c083a6f8b4e07b6743ecff5bfd8c2e1360b8c74ea7c4fef4987397c21bf8d0f902e1f31067e68d57402921b947a3ac42af9dbcde9d5
+MISC metadata.xml 443 BLAKE2B cc722345d33a98749b67095ec9fd4dd632e0b59af0be5c5a04922c348b0678e0b2b1bace759d9927b0f1210bb41c283af8f35b6603471bb2ba3ea7be577dbb33 SHA512 0b62309461f36d934829c7d4223f67001557dc77f1f3433940d9e47282e999c0466b4a54190da5df8157e29a9643212d8de85d42f247d5806e9da059edbf3440
diff --git a/dev-python/pyelemental/files/pyelemental-1.2.0-gcc-4.7.patch b/dev-python/pyelemental/files/pyelemental-1.2.0-gcc-4.7.patch
new file mode 100644
index 000000000000..a0a53a67be28
--- /dev/null
+++ b/dev-python/pyelemental/files/pyelemental-1.2.0-gcc-4.7.patch
@@ -0,0 +1,25 @@
+ value-types.tcc | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/value-types.tcc b/value-types.tcc
+index 5afc8d0..a95ccbf 100644
+--- a/value-types.tcc
++++ b/value-types.tcc
+@@ -44,7 +44,7 @@ ValueType_t (bool)::ready (PyObject* module)
+
+ ValueType_t (PyObject*)::wrap (const cxxtype& source)
+ {
+- return wrap_copy (&type, source);
++ return ValueType::wrap_copy (&type, source);
+ }
+
+
+@@ -160,7 +160,7 @@ ValueListType_t (bool)::ready (PyObject* module)
+
+ ValueListType_t (PyObject*)::wrap (const cxxtype& source)
+ {
+- return wrap_copy (&type, source);
++ return ValueListType::wrap_copy (&type, source);
+ }
+
+
diff --git a/dev-python/pyelemental/metadata.xml b/dev-python/pyelemental/metadata.xml
new file mode 100644
index 000000000000..3b58d75ed9a6
--- /dev/null
+++ b/dev-python/pyelemental/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="freecode">gelemental</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..39c5e4117997
--- /dev/null
+++ b/dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Python bindings for libelemental (sci-chemistry/gelemental)"
+HOMEPAGE="http://freecode.com/projects/gelemental/"
+SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=sci-chemistry/gelemental-1.2.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc-4.7.patch )
+
+python_prepare_all() {
+ append-cxxflags -std=c++11
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/html/. )
+ distutils-r1_python_install_all
+}