commit:     cf7bdcd7a0cdd3d77cc43d900cca772a5d8fc9c8
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Sep 21 14:24:28 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 18:39:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf7bdcd7

dev-python/pyclipper: add 1.3.0_p5

Closes: https://bugs.gentoo.org/898698
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32972
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pyclipper/Manifest                  |  1 +
 dev-python/pyclipper/pyclipper-1.3.0_p5.ebuild | 35 ++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pyclipper/Manifest b/dev-python/pyclipper/Manifest
index 312a7b42b232..0ca84327182d 100644
--- a/dev-python/pyclipper/Manifest
+++ b/dev-python/pyclipper/Manifest
@@ -1 +1,2 @@
 DIST pyclipper-1.3.0.post4.gh.tar.gz 51136 BLAKE2B 
983f6003aaafefc4efeecd621094532b44414d8a2c4fc3d11272e3823ce5a78575576e4e3ced018d32bbca5e86afbe6305e3d43d09f66520cc1d95e3c5a988bf
 SHA512 
cfcf195c2d7aca018adf1f59f6bd53ac08f8fca50738767c0d0f3fadf22da61a1cca4bd20b1147b4ffdd06bdd4624f0b63c05e650105660bb0a476ff2b1746d8
+DIST pyclipper-1.3.0.post5.gh.tar.gz 51150 BLAKE2B 
2751dbc2ca6c8ad664a1185f00c644b084e13bbb4bb54895003799988b8d56542dd4d4b793bfa33391aece59097e1ca9ee159631b844f41ade862ed187ed5dae
 SHA512 
24dd783449fdefb035627289680959ca4a74f737573518d14fe899ec015a7f8781b391df861e1f8986d6e71c8295743ef5fa048f5da22dd493f5940e25a7f185

diff --git a/dev-python/pyclipper/pyclipper-1.3.0_p5.ebuild 
b/dev-python/pyclipper/pyclipper-1.3.0_p5.ebuild
new file mode 100644
index 000000000000..769726dd1956
--- /dev/null
+++ b/dev-python/pyclipper/pyclipper-1.3.0_p5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 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..12} )
+
+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}]
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"

Reply via email to