summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyclipper/Manifest1
-rw-r--r--dev-python/pyclipper/pyclipper-1.4.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pyclipper/Manifest b/dev-python/pyclipper/Manifest
index f736cba9acfc..45cc79c9541d 100644
--- a/dev-python/pyclipper/Manifest
+++ b/dev-python/pyclipper/Manifest
@@ -1 +1,2 @@
DIST pyclipper-1.3.0.post6.gh.tar.gz 51242 BLAKE2B d7102d293cb5ceb1b7da62c7dd607d6251b0d525034c1039413b0f17db34d3168908344ecdd999ec2ce6015bb61ab0ec7c80078ca632a6aa859de64cea861991 SHA512 0777e088347d2e8a97ae2f217a678159acc3f62b193bdfa11dab9385a1ee692d19d53c1d3934c5dfa510c9bc8b669e07fd8c6dcbf62d8bc1a9119935be445060
+DIST pyclipper-1.4.0.gh.tar.gz 49906 BLAKE2B bd6b30fdaae1933ea02e9b51bf78f4b154862b2b123498e74411687109c991ca0e2137e773315395e7ca7af393a7d511b4171df93f739df0e03545fe0b0338bd SHA512 c420f7d280a121d4e70b9cac354e5c987545c606cb8a91cbf0e759ccd71c550b62871c86d5a6fc4c4cdcd38d8e10df3499af1c78bc1bae9516d6d80536256488
diff --git a/dev-python/pyclipper/pyclipper-1.4.0.ebuild b/dev-python/pyclipper/pyclipper-1.4.0.ebuild
new file mode 100644
index 000000000000..b19f5a3fcede
--- /dev/null
+++ b/dev-python/pyclipper/pyclipper-1.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 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_{11..14} )
+
+inherit distutils-r1
+
+MY_P=${P/_p/.post}
+DESCRIPTION="Cython wrapper for the C++ translation of the Angus Johnson's Clipper library"
+HOMEPAGE="
+ https://github.com/fonttools/pyclipper/
+ https://pypi.org/project/pyclipper/
+"
+SRC_URI="
+ https://github.com/fonttools/pyclipper/archive/${PV/_p/.post}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"