pykdtree-1.3.7_p0.ebuild 833 B

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