commit:     1587ad02c017193b0605e5cb45efcb18d0311928
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 14:25:16 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 15:11:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1587ad02

dev-python/mapbox-earcut: Bump to 2.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/mapbox-earcut/Manifest                  |  1 +
 .../mapbox-earcut/mapbox-earcut-2.0.0.ebuild       | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/mapbox-earcut/Manifest 
b/dev-python/mapbox-earcut/Manifest
index d8933e4eaec2..542548bb891d 100644
--- a/dev-python/mapbox-earcut/Manifest
+++ b/dev-python/mapbox-earcut/Manifest
@@ -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

diff --git a/dev-python/mapbox-earcut/mapbox-earcut-2.0.0.ebuild 
b/dev-python/mapbox-earcut/mapbox-earcut-2.0.0.ebuild
new file mode 100644
index 000000000000..b57844571db3
--- /dev/null
+++ b/dev-python/mapbox-earcut/mapbox-earcut-2.0.0.ebuild
@@ -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
+}

Reply via email to