diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyelemental |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyelemental')
-rw-r--r-- | dev-python/pyelemental/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pyelemental/files/pyelemental-1.2.0-gcc-4.7.patch | 25 | ||||
-rw-r--r-- | dev-python/pyelemental/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/pyelemental/pyelemental-1.2.0-r1.ebuild | 33 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/pyelemental/Manifest b/dev-python/pyelemental/Manifest new file mode 100644 index 000000000000..605d3a630cff --- /dev/null +++ b/dev-python/pyelemental/Manifest @@ -0,0 +1,6 @@ +AUX pyelemental-1.2.0-gcc-4.7.patch 641 SHA256 e1bc552e5073fb033de74d00dd986646312990ba218a5691eee5ad5798570e6b SHA512 f48af2ab3a4ae49193d011e4c9e74a1ef6270f4ec80e5968588b8a76d2bc172128723bf4b05e7f34f0caed87577ad80c504b302a7bf8d94eb52dc382ffcdcabb WHIRLPOOL 1a29d2d6f99f4d7bb941e2dfc1b56c1480cae1b9f3426abf7a54836ff68291516c22967c818b3d726e35482c38fb4d2cbed7228b82cc6ad424b4dfd9d6479f13 +DIST pyelemental-1.2.0.tar.bz2 34610 SHA256 83420f754b6700eb585b08a05510e616058a8b0c62ffd1f9dab3eae1df463bc7 SHA512 2053042ed19e73d9fefd1d86d29d6d3f9fbed1b0733273197bf62f908154d96ac4c6f3ca0c314e66fa291ab253e8afcdf514e4fbf3e4ea66741349f45a27b23e WHIRLPOOL cb44b87411c75cb1a1ec09932b1a5c15336063bfac6e430bf6be0415ff820636847b39bfdfffad7c3a1d1017a035895237f556b07ea99b18f0ae228a9ba254e2 +EBUILD pyelemental-1.2.0-r1.ebuild 734 SHA256 962938f52d72f3785bfc9fe39c2d7e428e05bad656715159b73c1061319b7dab SHA512 c77563bc9300870726a38c083a6f8b4e07b6743ecff5bfd8c2e1360b8c74ea7c4fef4987397c21bf8d0f902e1f31067e68d57402921b947a3ac42af9dbcde9d5 WHIRLPOOL dac6c278f464714a101b3e23ae4d8924cab69769d169ce87bd11a6f52bff74d4e6bb78096dec2a467dec3186f525e696bf6516e7f602483b42210cdfbbf39cff +MISC ChangeLog 2743 SHA256 becbc5945120c8667437767c86bb52c4db2d91fe06c8120ed30273b368217587 SHA512 82d7990b26b8a48b107255f1bf0d4ea7be28760e26cd8716b1673683890121592be45a672e0dca35ae908859d7b5d3cd232a4254b31713d4d4ba7d7843bc6993 WHIRLPOOL 06c658acb17958514e4e6a645185d95ea1f00c562ac5013b68532f5c232a803d67ce80882913c1d9ec796510106d63a70c9cdf78c462c6df3a5115c35335ddc9 +MISC ChangeLog-2015 1324 SHA256 11f2a4aab6f878aaecec84a00284c36c92f90554bfa6977c259b9b1a742b4f21 SHA512 2ba1c92b17e8b46d3a3785ae387051743dc74e0e0248f3a0102b5457f19a2911a329460b8faa2068fe55710e5bb8f4b88ea70efca358c9c2fd09f0e459bf1c77 WHIRLPOOL fac5876088d8f9ab3095ab334a66d65c90a79c05069e1b857b239180eda39def353812dc36fb7b964fe86618d3e54f23831fda3433ce79c6a2c3f57fd252a42a +MISC metadata.xml 443 SHA256 e495e3de84b30a1d231318f53c04a25a8dab83e6844a5b9b4aaeaf6ed3cf3d30 SHA512 0b62309461f36d934829c7d4223f67001557dc77f1f3433940d9e47282e999c0466b4a54190da5df8157e29a9643212d8de85d42f247d5806e9da059edbf3440 WHIRLPOOL 22c79ac371264e5ffe9520fc8b3d9cacc6d152493667dc0abf39e66c15a34c3a2cb49143406ab3771f859ca638b15c1a6effa3d3479e4365ec78ca7cf958c813 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 +} |