mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-19 00:09:37 +03:00
dev-python/mapbox-earcut: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST mapbox_earcut_python-1.0.3.gh.tar.gz 22851 BLAKE2B d46e199691f123eb3265036596a4b910f653c06c748d8ba280dcf7c1262f8dc73d5f3f56299a0925d3516a4845c924fce4083f12658a68a1a039c02c635b9fe7 SHA512 3700a25de44e73edd762b5cfa0c43fa73ebbf95f811694bfc8bb77f07dc9512c3fb814b409b5ea88c9e1a32cc5272f3ae33c1e4e323afe8b139cf8b96f1edc54
|
||||
DIST mapbox_earcut_python-2.0.0.gh.tar.gz 38939 BLAKE2B 625555d1b466bb433c9e7fa8c1c5205b3cecc47ffab5cc9af11bb4187df19599c7551a3572802fb49694c143cf7f1b6f7c0b192a30e0d56921ed5ae9867851f5 SHA512 e673b89e16a2007085e6e036b32867bdcdf984b3dec3bf93182ad352b36d6bf3ae4f750de136a9833b3328241fdf725b4f11c4981f9334a9a27e1b4077af1cea
|
||||
|
||||
46
dev-python/mapbox-earcut/mapbox-earcut-2.0.0.ebuild
Normal file
46
dev-python/mapbox-earcut/mapbox-earcut-2.0.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=scikit-build-core
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="mapbox_earcut_python-${PV}"
|
||||
DESCRIPTION="Python bindings to the mapbox earcut C++ library"
|
||||
HOMEPAGE="
|
||||
https://github.com/skogler/mapbox_earcut_python/
|
||||
https://pypi.org/project/mapbox-earcut/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/skogler/mapbox_earcut_python/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-python/numpy:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/nanobind-2.9.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
python_test() {
|
||||
rm -rf mapbox_earcut || die
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user