mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/redbaron: bump to 0.9.2; add python3_8 impl compat
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST redbaron-0.9.2.tar.gz 709401 BLAKE2B 06be75576fafd9ca69fd4f46bbeead0c9a8691c49ab233a53e91e462f87a48e0fdd4b314bb23fa91fb60ea022fe535b89371fb1f82418240117d50e214125e45 SHA512 a91670b0c48ac399ea9a000be42f1d4d4451ec39b58b2a7029a3bcdf664136dab3ff8e81284b384ddabfb77a5fa43ce4d75041d3aed5685d451ab620dfa23e9a
|
||||
DIST redbaron-0.9.tar.gz 708544 BLAKE2B e3314a29e66fe2e91ef28183f5e9f6c91117963bfffa0bcc1fb62602bc87b1c5fcf058ff545c3515e0de8077f70298aa788960e7409cbde6a0199701947786f6 SHA512 db99be12a1a0a3caab80f8b319d2966ffe5f80b15e5f838212bdb327c75c411ee273b4ff44dae76010165bd563275eb50c8c5b8d87284a493114224603e9cb25
|
||||
|
||||
39
dev-python/redbaron/redbaron-0.9.2.ebuild
Normal file
39
dev-python/redbaron/redbaron-0.9.2.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A FST for python to make writing refactoring code a realistic task"
|
||||
HOMEPAGE="
|
||||
https://redbaron.readthedocs.io/
|
||||
https://github.com/PyCQA/redbaron
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/baron-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
distutils_enable_sphinx docs dev-python/ipython
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove "__pycache__". Reason: unique basename
|
||||
rm -rfd "${S}"/tests/__pycache__ || die
|
||||
|
||||
# Skip tests. Reason: calls fixture "red" directly
|
||||
rm "${S}"/tests/test_bounding_box.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_7 )
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user