commit: b3efc238e5068bab2b6a5280212bcaeb65d5cec7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 17:09:27 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 17:21:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3efc238
dev-python/pyclipper: Bump to 1.3.0_p4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyclipper/Manifest | 1 +
dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild | 34 ++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/dev-python/pyclipper/Manifest b/dev-python/pyclipper/Manifest
index d72b67e33a76..feaa43d1f231 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_p2.tar.gz 51079 BLAKE2B
e5af84c15a19bf2ac7f0df78d588d34451c6f0a0bc40fa6a28dd8ef5f697e1d62eb4e14ac184e325ce4d6ad1aab23254d6e91857e3a44636a1652f86aa1778e9
SHA512
08b7f8443b0e98ddf7230824a451b0b0023402c4cecb44c1a264e08d204a3da455aef742b2ffcc0acf44a4ec3b864302af0d7a7ec34bb6a2080340b2320797dd
diff --git a/dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild
b/dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild
new file mode 100644
index 000000000000..f8d642302a2b
--- /dev/null
+++ b/dev-python/pyclipper/pyclipper-1.3.0_p4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+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"
+IUSE=""
+
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"
+}