diff options
author | David Seifert <soap@gentoo.org> | 2016-09-15 23:24:24 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-15 23:24:59 +0200 |
commit | 42dc52d8d56a050cf0267b9d74cc2a95ae239967 (patch) | |
tree | 9e05b345cc75ea61236502d3d8a68e9cb32445bd /dev-python/pyflann | |
parent | sci-libs/flann: Version bump to 1.9.1 (diff) | |
download | gentoo-42dc52d8d56a050cf0267b9d74cc2a95ae239967.tar.gz gentoo-42dc52d8d56a050cf0267b9d74cc2a95ae239967.tar.bz2 gentoo-42dc52d8d56a050cf0267b9d74cc2a95ae239967.zip |
dev-python/pyflann: Version bump to 1.9.1
* EAPI=6
* Add py3.4 and py3.5 support
* Remove USE=test support, as the main package already
has a broken testsuite, and requires ruby dependencies.
Furthermore, the testsuite downloads data files live.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/pyflann')
-rw-r--r-- | dev-python/pyflann/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyflann/pyflann-1.9.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/pyflann/Manifest b/dev-python/pyflann/Manifest index 39203fd023cf..7b4a8096d411 100644 --- a/dev-python/pyflann/Manifest +++ b/dev-python/pyflann/Manifest @@ -1,2 +1,3 @@ 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 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..7e51385ab443 --- /dev/null +++ b/dev-python/pyflann/pyflann-1.9.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |