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/pyflann |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyflann')
-rw-r--r-- | dev-python/pyflann/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pyflann/metadata.xml | 19 | ||||
-rw-r--r-- | dev-python/pyflann/pyflann-1.8.4.ebuild | 47 | ||||
-rw-r--r-- | dev-python/pyflann/pyflann-1.9.1.ebuild | 36 |
4 files changed, 110 insertions, 0 deletions
diff --git a/dev-python/pyflann/Manifest b/dev-python/pyflann/Manifest new file mode 100644 index 000000000000..bc8cef459ab1 --- /dev/null +++ b/dev-python/pyflann/Manifest @@ -0,0 +1,8 @@ +DIST flann-1.8.4-src.zip 561057 SHA256 dfbb9321b0d687626a644c70872a2c540b16200e7f4c7bd72f91ae032f445c08 SHA512 47ac6be66e3ec7303d28febc5a4cea2f8d1b3d81c3b7081f27cf17936074e06e91e30123569b41269a2b97c9960274dc485a575d77c1a386e8f539a76a8d3a0a WHIRLPOOL f7722d8c0a8482809920927353421ebb578464fe6746a4dba20a6c7b6f941715529d5be33aebd1726db36eae3b5d4080c6ae86b0f807e6e384af32b87735b83b +DIST flann-1.8.4-testdata.tar.xz 26744244 SHA256 4eaecf3a221ea6611e841fa2f459a17b6a5fdd633338bb5bc46c434e37667141 SHA512 f2bee5e2dfe2fbb42953df563f178b67639b62e26fc31be14e07c196ba3e84db21804e594af44991f7cf45ca5e10ff753093cf160abf33e90d19735a9a0b51cb WHIRLPOOL e49e5a594464955241ebc9bdfa908bac8b93b2fb465fc08ab73ec4d57194a8b71361ecb67985cdc641013fb8c3fb51ea2033769f41e558ab86e8f71e477b97da +DIST flann-1.9.1.tar.gz 485391 SHA256 b23b5f4e71139faa3bcb39e6bbcc76967fbaf308c4ee9d4f5bfbeceaa76cc5d3 SHA512 0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7 WHIRLPOOL 40c16b3b2d8ef458676c37a246ae1c0d45d14163a42a46172283cf20a377ee43971e7cacce9d575cc7ecfa0eab01377dbd5e592e3e7ae71e74334af18ebab836 +EBUILD pyflann-1.8.4.ebuild 1241 SHA256 dad21a71cf8908847973b71acc24b5df8fcebc9384b986a42106a21e490f83d8 SHA512 9eb93ba7cb4ccbc94f201757a546f929da0bc0eb3e86910669b8fcffdc05b4649bcf5985273e724539cf91d06b6c417099a604db862dbc598c3c1c99f8928c08 WHIRLPOOL 78c6f7f3f9bfe47381e5d53ced0553205e79d29d6d0078e76f41c9ddae27ea3f4196539c54f72ed3a7a700d011117b5c64a4f61f1d64f6167db6df7562c21aaa +EBUILD pyflann-1.9.1.ebuild 891 SHA256 a5ba3ea36ee1c5a9c341beab0f97622e94f2b20b6f1c81a4d4bc83bd1ed62a1a SHA512 6a3c8349eefbaaefcdbe806eabbc28c48af88fd71121ca135b18c5ca67bc9028844509c852fc8b9e3629355b2aecbd5c3f269aba6c0ec885cea0d91a283b1b69 WHIRLPOOL 672d1fc18958e86a8e35a959612912ae3c2adfd86a9075e5317275b81f8890c7b40a6068b4fa8608efeb5bd2c6db88c73aa00b0558f59a57f75b7edba969a6a0 +MISC ChangeLog 2831 SHA256 dd448c2203e0c228318d7754cd5d816870ffce683e3152de6cf49d3d0b519d65 SHA512 53daa8245ed99285646550ac8257a97ddcd97e7e26b83948c091d37550ed864afbe1dfc73ed70cd8a7b8316a71de42edcc5520bae4dd91c01c7752a5738dc837 WHIRLPOOL e41d6cd7e3e7d99845547b656f40cb2c2054ac3226027a61c926129516072cf888b2748946726100d355831a0e99022a3d123ca663f7c6c2e52d1c38e17686b2 +MISC ChangeLog-2015 696 SHA256 ed9e7c3dc56969512a79332a665ff3cdac8c918486ed6a69ec7295f051d3b3d3 SHA512 6d7feca7b912a4b5e7af7590dcd0f176b7446eb57c89f6a35b049db2e6285a6464c70c4d3c34ee3201328ab18452a212fe81734ffc2aaaa57cb7cf1bb9fa1cf0 WHIRLPOOL 8ba014bea46512b0db972093445640fea579efc4083c616f43cadd5d1401e564410cdcf7f789de19fabc47663ada48aadad03193befe10bafea65c387cdf0dee +MISC metadata.xml 761 SHA256 71ba6ad880ae450b5cd6446e2c20a3df247d7fa11a553709512ee479eaa2f26e SHA512 e76c36229178e3b37c9b37c77f1e0ce322b8e717bb5c025d28fe538c31d8d021744d7eaf91804d39e62c35e5a1f420197d03be53e362836a2c47c24622932c4d WHIRLPOOL 0be441126d8795b8550dc71092f93cd506584b88a13c78088b3bd040178ef2d838a5bbdf16228e75ce38934d8e4935e887417a5ccad2edcccba380fb6cfc49ee diff --git a/dev-python/pyflann/metadata.xml b/dev-python/pyflann/metadata.xml new file mode 100644 index 000000000000..4c7f3d2276e1 --- /dev/null +++ b/dev-python/pyflann/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + FLANN is a library for performing fast approximate nearest neighbor + searches in high dimensional spaces. It contains a collection of + algorithms we found to work best for nearest neighbor search and a + system for automatically choosing the best algorithm and optimum + parameters depending on the dataset. + This is the python binding package split from the main package. + </longdescription> + <upstream> + <remote-id type="github">mariusmuja/flann</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyflann/pyflann-1.8.4.ebuild b/dev-python/pyflann/pyflann-1.8.4.ebuild new file mode 100644 index 000000000000..43f4060e2d8f --- /dev/null +++ b/dev-python/pyflann/pyflann-1.8.4.ebuild @@ -0,0 +1,47 @@ +# 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 + +DESCRIPTION="Python bindings for FLANN artificial neural network library" +HOMEPAGE="http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN/" +SRC_URI="http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-${PV}-src.zip + test? ( https://dev.gentoo.org/~bicatali/distfiles/flann-${PV}-testdata.tar.xz )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + ~sci-libs/flann-${PV}" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/flann-${PV}-src/src/python" + +python_prepare_all() { + sed -e "s/@FLANN_VERSION@/${PV}/" \ + -e '/package_d/d' \ + -e "s/,.*'pyflann.lib'//" \ + setup.py.tpl >> setup.py + + use test && ln -s "${WORKDIR}"/testdata/* "${WORKDIR}"/flann-${PV}-src/test/ + distutils-r1_python_prepare_all +} + +python_test() { + cd "${WORKDIR}"/flann-${PV}-src/test/ + local t + #for t in test*.py; do + # test_autotune buggy + for t in test_{nn,nn_index,index_save,clustering}.py; do + einfo "Running ${t}" + PYTHONPATH="${BUILD_DIR}/lib" ${EPYTHON} ${t} || die + done +} diff --git a/dev-python/pyflann/pyflann-1.9.1.ebuild b/dev-python/pyflann/pyflann-1.9.1.ebuild new file mode 100644 index 000000000000..44dcefe8be44 --- /dev/null +++ b/dev-python/pyflann/pyflann-1.9.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for FLANN artificial neural network library" +HOMEPAGE="http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN/" +SRC_URI="https://github.com/mariusmuja/flann/archive/${PV}.tar.gz -> flann-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + ~sci-libs/flann-${PV}" +DEPEND="${RDEPEND}" +# TODO: +# readd dependencies for test suite, +# requires repackaging auto-downloaded files + +S="${WORKDIR}/flann-${PV}/src/python" + +python_prepare_all() { + sed -e "s/@FLANN_VERSION@/${PV}/" \ + -e '/package_d/d' \ + -e "s/,.*'pyflann.lib'//" \ + setup.py.tpl >> setup.py || die + + distutils-r1_python_prepare_all +} |