1234567891011121314151617181920212223242526272829303132333435363738 |
- # Copyright 2023 Gentoo Authors
- # Distributed under the terms of the GNU General Public License v2
- EAPI=8
- DISTUTILS_EXT=1
- DISTUTILS_USE_PEP517=setuptools
- PYTHON_COMPAT=( python3_{10..11} )
- inherit distutils-r1 pypi
- #upstream: 1.3.7.post0
- #gentoo: 1.3.7_p0
- MY_PV=$(ver_cut 1-3).post$(ver_cut 5)
- MY_P=${PN}-${MY_PV}
- S=${WORKDIR}/${MY_P}
- DESCRIPTION="Fast kd-tree implementation with OpenMP-enabled queries"
- HOMEPAGE="
- https://github.com/storpipfugl/pykdtree
- https://pypi.org/project/pykdtree/
- "
- SRC_URI="https://github.com/storpipfugl/pykdtree/archive/refs/tags/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
- LICENSE="LGPL-3"
- SLOT="0"
- KEYWORDS="~amd64"
- RDEPEND="dev-python/numpy"
- BDEPEND=""
- DOCS=( README.rst README LICENSE.txt MANIFEST.in RELEASING.md )
- distutils_enable_tests setup.py
- src_install() {
- distutils-r1_src_install
- }
|