summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-04 19:04:48 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-04 19:43:42 +0200
commit0764f320c648135b0705f56eaffac0f62d093ff0 (patch)
tree556d7705a4d931febb03a1e6c2eb8855e07f7faa /dev-python/ruamel-yaml-clib
parentdev-python/pikepdf: Bump to 8.5.0 (diff)
downloadgentoo-0764f320c648135b0705f56eaffac0f62d093ff0.tar.gz
gentoo-0764f320c648135b0705f56eaffac0f62d093ff0.tar.bz2
gentoo-0764f320c648135b0705f56eaffac0f62d093ff0.zip
dev-python/ruamel-yaml-clib: Bump to 0.2.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ruamel-yaml-clib')
-rw-r--r--dev-python/ruamel-yaml-clib/Manifest1
-rw-r--r--dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/ruamel-yaml-clib/Manifest b/dev-python/ruamel-yaml-clib/Manifest
index 8f73ab3c72e3..8eb19ab78c62 100644
--- a/dev-python/ruamel-yaml-clib/Manifest
+++ b/dev-python/ruamel-yaml-clib/Manifest
@@ -1 +1,2 @@
DIST ruamel.yaml.clib-0.2.7.tar.xz 141668 BLAKE2B be731f7e11dbb7b94bc27e900c70fed8ae53b788cd8827425d442baac795a73426cb8c133aedbab876f111bf8e99a8fdafc6151a5de334b1b8b409792b6895bc SHA512 e9413cca5f00fe4896a0185a85494ee9ba8ed955285bd93de9cf6e0f9eed2ff569be1ee70cf974af0eaf58f4671b9ac7ae85b461652eb9abd5bf34d593052f07
+DIST ruamel.yaml.clib-0.2.8.tar.xz 163768 BLAKE2B 38f41c45a4e043b01a80d725baeba5fd6e74fa56e86ad0c1e7e0b811f85fd92f98f3ac096419757bae2273537e7c31356d0d222896e631a39ddc36684ebf29e0 SHA512 3877bc6fcefab91f5d2bd013275f63bba6dd2f5ce1b29b74aef73d01638e184ff1f16ab1fbf9ccbf30d148a33f19dc2535ca8b5d8aecca8c48f1d3eef188e151
diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild
new file mode 100644
index 000000000000..13d1a68d961e
--- /dev/null
+++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild
@@ -0,0 +1,44 @@
+# 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=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+MY_PN="${PN//-/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml"
+HOMEPAGE="
+ https://pypi.org/project/ruamel.yaml.clib/
+ https://sourceforge.net/projects/ruamel-yaml-clib/
+"
+# sdist lacks .pyx files for cythonizing
+SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz"
+# workaround https://bugs.gentoo.org/898716
+S=${WORKDIR}/ruamel_yaml_clib
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.7_cython_pointer_types.patch
+)
+
+src_unpack() {
+ default
+ mv "${MY_P}" ruamel_yaml_clib || die
+}
+
+src_configure() {
+ cython -f -3 _ruamel_yaml.pyx || die
+}