summaryrefslogtreecommitdiff
path: root/dev-python/mapbox-earcut
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mapbox-earcut')
-rw-r--r--dev-python/mapbox-earcut/Manifest3
-rw-r--r--dev-python/mapbox-earcut/mapbox-earcut-1.0.1-r1.ebuild37
-rw-r--r--dev-python/mapbox-earcut/metadata.xml12
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/mapbox-earcut/Manifest b/dev-python/mapbox-earcut/Manifest
new file mode 100644
index 000000000000..fc5e389ddf71
--- /dev/null
+++ b/dev-python/mapbox-earcut/Manifest
@@ -0,0 +1,3 @@
+DIST mapbox_earcut_python-1.0.1.gh.tar.gz 11794 BLAKE2B c54c2333ac08f551737ff6ba0e5179464c0330fefeb11e5cff9ad6d3927e8a5d5323cbceffd271a25103e75da44f2a4efa17b8c338f888f69f71ee7bc1e21682 SHA512 cdb32585cbaf74c15e59af0ae70d983dd2f9bc9cfe1b59b3eadc4d442f7d962241854b589a035deae67cacd9334833b911d0981f0d417fe587348fc7d24f0c0a
+EBUILD mapbox-earcut-1.0.1-r1.ebuild 742 BLAKE2B e7f145e361f0343c518427f0895d6d07b9af5a3ad6208092ad23b4a81d8dcd80c703449524093d28b5daad12ad56e3ccad0b44b5d4d3947ec84f8b0bff296c74 SHA512 482b10ce13a581cefaefa628408a290f1eb824917a4b6f384e2a7e55b06453b847c5b0dfd30cee16458d237df3bbcb0dac36d718192cfe239e895c630b559a33
+MISC metadata.xml 385 BLAKE2B 33ffecc678c212024204f860721b54702bf3b420cc58fb719227a7a6b96eaf05730e0d15197cb4c2145b6ace3c9ebee597b63132589d68715d94e8e8979069ec SHA512 f4a9482eb005eed9fefe3bf9f5a20f3be87636547ca84d084cb5260d302d1b90b02efadfeb891233f27d09afd63b9fb9418c8901621de539f37056cb55d67a4f
diff --git a/dev-python/mapbox-earcut/mapbox-earcut-1.0.1-r1.ebuild b/dev-python/mapbox-earcut/mapbox-earcut-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..abcd6023943f
--- /dev/null
+++ b/dev-python/mapbox-earcut/mapbox-earcut-1.0.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 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..13} )
+
+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"
+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/pybind11[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+DOCS=( CHANGELOG.md README.md )
diff --git a/dev-python/mapbox-earcut/metadata.xml b/dev-python/mapbox-earcut/metadata.xml
new file mode 100644
index 000000000000..bee4f6515e1f
--- /dev/null
+++ b/dev-python/mapbox-earcut/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">skogler/mapbox_earcut_python</remote-id>
+ <remote-id type="pypi">mapbox-earcut</remote-id>
+ </upstream>
+</pkgmetadata>