Files
guru/dev-python/stone/stone-3.3.1.ebuild
T

37 lines
842 B
Bash
Raw Normal View History

2023-03-13 09:52:02 +02:00
# Copyright 2021-2022 Gentoo Authors
2022-01-27 15:41:10 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2023-01-25 10:17:36 +02:00
DISTUTILS_USE_PEP517=setuptools
2023-05-02 00:45:35 +05:00
PYTHON_COMPAT=( python3_{10..11} )
2022-01-27 15:41:10 +02:00
2023-03-13 09:52:02 +02:00
inherit distutils-r1
2022-01-27 15:41:10 +02:00
DESCRIPTION="The Official Api Spec Language for Dropbox"
HOMEPAGE="
https://www.dropbox.com/developers
https://github.com/dropbox/stone
2022-04-04 18:45:49 +02:00
https://pypi.org/project/stone/
2022-01-27 15:41:10 +02:00
"
2023-03-13 09:52:02 +02:00
SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
2022-01-27 15:41:10 +02:00
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/ply-3.4[${PYTHON_USEDEP}]
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
"
2023-01-25 10:17:36 +02:00
PATCHES=( "${FILESDIR}"/${P}-python3_11.patch )
2022-01-27 15:41:10 +02:00
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
}