From f84a15e4b3e64cd8e483b1b1780067f562c00192 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Thu, 5 Sep 2024 08:36:05 +0800 Subject: [PATCH] stone 3.3.8, fix https://github.com/pentoo/pentoo-overlay/issues/1793 --- dev-python/stone/Manifest | 1 + dev-python/stone/stone-3.3.8.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-python/stone/stone-3.3.8.ebuild diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest index 8a0159f95..cff49d9ac 100644 --- a/dev-python/stone/Manifest +++ b/dev-python/stone/Manifest @@ -1 +1,2 @@ DIST stone-3.3.1.gh.tar.gz 282831 BLAKE2B b9a866e43feedea28cd33b89f78100be520a2756fa78888e9a786ae27942a5c19df51010c0af952de70c782d3fc3588de1ae0f58450d807053989bb91d285f15 SHA512 ee07f01b6f10e771afbe6ca6f07d7efa24a5460e5c163f339ae84a8b7742a659f5cb535e674a2f315d1bfa95b7c02e56f46db1f397188b5b6705f6c00c1e9d73 +DIST stone-3.3.8.gh.tar.gz 281200 BLAKE2B 17af8af8d5cf01483ab4f63ebb694076e675880c0374a11a4b38f02d8783a35c4b518a9109721523fb3efe5b9f6f3381f288a4e00322dfda62343f77f2768f43 SHA512 bd7cd80a44f59225cbd322e385cfc6b6eccd7e30d8e6f0939d0fd65405b75773b1bc4449f6737366d0fa481c5860931b20ffe048eff57aad34ae90be47d18020 diff --git a/dev-python/stone/stone-3.3.8.ebuild b/dev-python/stone/stone-3.3.8.ebuild new file mode 100644 index 000000000..ba84c4261 --- /dev/null +++ b/dev-python/stone/stone-3.3.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="The Official Api Spec Language for Dropbox" +HOMEPAGE=" + https://www.dropbox.com/developers + https://github.com/dropbox/stone + https://pypi.org/project/stone/ +" +SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] +" + +#PATCHES=( "${FILESDIR}"/${P}-python3_11.patch ) + +distutils_enable_tests pytest + +python_prepare_all() { + # Don't run tests via setup.py pytest + sed -i -e "/'pytest-runner .*',/d" setup.py || die + + distutils-r1_python_prepare_all +}