add isort-5.5.1 with a no_tests patch
This commit is contained in:
parent
86f6fadfb1
commit
9f72a3b1a9
@ -31,6 +31,7 @@
|
||||
* update zigpy-0.23.1
|
||||
* added zigpy-znp-0.1.1
|
||||
* update pyskyqhub-0.1.3, remove the patch
|
||||
* add isort-5.5.1 with a no_tests patch
|
||||
|
||||
2020-09-06
|
||||
* cleanup ruamel-yaml, only 0.15.100 is still needed
|
||||
|
4
dev-python/isort/Manifest
Normal file
4
dev-python/isort/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX isort-5.5.1-notest.patch 336 BLAKE2B e562c92e766231e295681f2ad8d6f172548a34a243a12339f9a7a7dbf66a1729fb09a8616bf4a751b4c0a946f94a66c910ba7e5e65c820cae60fc0f137b4de35 SHA512 5063197f7afe20c31f6171531a005ec09a02fb0eb8effdb7d3af7531076bf170280dbd1e74b6cb26f6742627f82070ba9b29aff9a5a23e7cae4aeb20c1a9ab3c
|
||||
DIST isort-5.5.1.tar.gz 144834 BLAKE2B 3cbc2611684787c9b2c4cfb71669d6ff9a0b379774c27bb6b1724e33b9c249e41ce2ab002dd29615bc40ff6b7f94ed1cba489ae8d6934172a81d191d217fd72b SHA512 f5e4ed0aededaa00bb0498e6ae23b8e65eb0429cbd1a63ddafc479d894a8e3241b880f4b9db0dea69a3dc793174f14603c45459a4f307f5c2cd5e315e09a7476
|
||||
EBUILD isort-5.5.1.ebuild 734 BLAKE2B 145e1f551ac263628ea23a95062505f4d30cfc0a0175dd01c6f464fe6f64fc8f8365dce74494227f9645a93946ab4fde4df2bf20809ec6985eddb3316f6efd23 SHA512 2e84207908755f56d50ef0e84986d2e7288ee621ba930b352c253680f570f4d79d8568a6844862f31caeb96bc55c2c4b4e8b4b48b3812273fa75128a9bb8e7b7
|
||||
MISC metadata.xml 458 BLAKE2B c03a13ef442ebce39f40c5e0d4265a5a4ce1976166f1d692a4893485c5d4d2ac8e1911c383e8de514fc26a3ce7b67b70368181e8acffbde5e4c4fce36c0518a3 SHA512 05c9fd94e98a70121f6c59024844e12f5841ab22497107612c3980df52e31f5dd2468298a1051d5a6c4a53823afea28efd3773c9c388fdfd86bd2328ff8119d9
|
17
dev-python/isort/files/isort-5.5.1-notest.patch
Normal file
17
dev-python/isort/files/isort-5.5.1-notest.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index eef9a4b..fac99be 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -6,11 +6,7 @@ packages = \
|
||||
'isort._future',
|
||||
'isort._vendored.toml',
|
||||
'isort.deprecated',
|
||||
- 'isort.stdlibs',
|
||||
- 'tests',
|
||||
- 'tests.integration',
|
||||
- 'tests.unit',
|
||||
- 'tests.unit.profiles']
|
||||
+ 'isort.stdlibs']
|
||||
|
||||
package_data = \
|
||||
{'': ['*']}
|
34
dev-python/isort/isort-5.5.1.ebuild
Normal file
34
dev-python/isort/isort-5.5.1.ebuild
Normal file
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python utility / library to sort Python imports."
|
||||
HOMEPAGE="https://pycqa.github.io/isort/ https://pypi.org/project/isort/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-${PV}-notest.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
15
dev-python/isort/metadata.xml
Normal file
15
dev-python/isort/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">isort</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>timothy.crosley@gmail.com</email>
|
||||
<name>Timothy Crosley</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user