mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/redbaron: new package; add version 0.9
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
1
dev-python/redbaron/Manifest
Normal file
1
dev-python/redbaron/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST redbaron-0.9.tar.gz 708544 BLAKE2B e3314a29e66fe2e91ef28183f5e9f6c91117963bfffa0bcc1fb62602bc87b1c5fcf058ff545c3515e0de8077f70298aa788960e7409cbde6a0199701947786f6 SHA512 db99be12a1a0a3caab80f8b319d2966ffe5f80b15e5f838212bdb327c75c411ee273b4ff44dae76010165bd563275eb50c8c5b8d87284a493114224603e9cb25
|
||||
12
dev-python/redbaron/metadata.xml
Normal file
12
dev-python/redbaron/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">PyCQA/redbaron</remote-id>
|
||||
<remote-id type="pypi">redbaron</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
32
dev-python/redbaron/redbaron-0.9.ebuild
Normal file
32
dev-python/redbaron/redbaron-0.9.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A FST for python to make writing refactoring code a realistic task"
|
||||
HOMEPAGE="https://redbaron.readthedocs.io/"
|
||||
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}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
# 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
|
||||
|
||||
pytest -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user