summaryrefslogtreecommitdiff
path: root/dev-python/pyflann
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/pyflann
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyflann')
-rw-r--r--dev-python/pyflann/Manifest3
-rw-r--r--dev-python/pyflann/metadata.xml19
-rw-r--r--dev-python/pyflann/pyflann-1.9.1.ebuild36
3 files changed, 58 insertions, 0 deletions
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 @@
+<?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.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
+}