From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/pyflann/Manifest | 3 +++ dev-python/pyflann/metadata.xml | 19 +++++++++++++++++ dev-python/pyflann/pyflann-1.9.1.ebuild | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 dev-python/pyflann/Manifest create mode 100644 dev-python/pyflann/metadata.xml create mode 100644 dev-python/pyflann/pyflann-1.9.1.ebuild (limited to 'dev-python/pyflann') diff --git a/dev-python/pyflann/Manifest b/dev-python/pyflann/Manifest new file mode 100644 index 000000000000..a8f04b6c5e72 --- /dev/null +++ b/dev-python/pyflann/Manifest @@ -0,0 +1,3 @@ +DIST flann-1.9.1.tar.gz 485391 BLAKE2B bf1e1e7feb33e939e1d0586db593bea3fdf66726fbadec63df9ed9c7bdb678babb11001769f0d041a7a569186b3d700db8b96af5eb9740615f6dfd880460f68b SHA512 0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7 +EBUILD pyflann-1.9.1.ebuild 895 BLAKE2B 22708713c34fed90925eb1b97d04a5b1605aeb7e82e2a48ea4404aaa5e4dd5f955c7de73a1420c684abda86722a31dea21c6b079a10f8072930c13c85630b8c5 SHA512 f9011f0b0c9a357e0cd07d3b6b6fa3c0049f9e524263f2a37c636f16b2abffd2bba506e86897d8bccd301b2dd6eccff36c1c6b5e92fde956db412a34dc27c9e3 +MISC metadata.xml 761 BLAKE2B 8f07995a5b919b587ce4621911d1c94072cc0fa14262417a607045033bffc6c314c18a85688b0d46e7db2a864f1348e2bb11ff205199bbe1c1e92fdad63e803a SHA512 0bc2639b02b93bfef45e8d0fcce984d9c75500f7f043ccfabd8df959c6c214f2ee67130276bc4b4cf5158fb2c3f8bfa629c8a2def6ec1c065916435da9aff142 diff --git a/dev-python/pyflann/metadata.xml b/dev-python/pyflann/metadata.xml new file mode 100644 index 000000000000..80f8d7b45f21 --- /dev/null +++ b/dev-python/pyflann/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + 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. + + + mariusmuja/flann + + 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..92302ea2c7eb --- /dev/null +++ b/dev-python/pyflann/pyflann-1.9.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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 +} -- cgit v1.2.3