mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
dev-python/isort: Sync with gentoo
It's from gentoo commit ac39b75490f2f24413adca35f344c7eb1b804454.
This commit is contained in:
parent
26bb4429c4
commit
48c085a424
@ -1,3 +1,2 @@
|
|||||||
DIST isort-4.2.5.tar.gz 36361 SHA256 56b20044f43cf6e6783fe95d054e754acca52dd43fbe9277c1bdff835537ea5c SHA512 ddc8e859bb421e4179315d74896958c8279394d42a75494db5dc22c58422994aa249b63c03645626a021ccf9142941bde51ad400256ab1c6be29da8110375f40 WHIRLPOOL fb94f6a82329a5d7715762590995e3ffe1f7b9fd31f81ff898c87a65c47d6371b96a29a57f6a42ecc05b1795ca59239eacd0f273e3e5ade85d621160bcffdcdd
|
DIST isort-5.7.0.tar.gz 169353 BLAKE2B bafd6a0ce81ed80a3c1ad53ce320361ef11bc01a78211ad13b7947aafddd4d9bb5a4fbf65ec01d4c90dce7ebd0a2e3b1c4dcad729b1e27b1dd2c5c90c802eecf SHA512 ae5ff56394f495f6bd86f7581e0f8a67264671553b344b9dc2c5ba0b37f483ae500ebba9882ff5c315b913a689901b17de2eac403e0b4240f913c9e1864bab9f
|
||||||
EBUILD isort-4.2.5.ebuild 476 SHA256 15ec652d9edb385b54c61da5cd1e62951ffb2aac893977c9629c600379e18701 SHA512 58714bc98530d26a0f0b1946c567a5d138e7b78ed4ab928ca3b2c285e2d3cabf0d1a0b3364ddd612c1a2fd520a4d7a2dd813398a18d2aa55bc377885f6189003 WHIRLPOOL 7c21d0e175821a9c88efa1487665e22d9e4b48bf231145976eb27e3ef2f398d8a2fa78af74cd10528b06583071423137f6d935030e5634c673d8694e3dff65b2
|
DIST isort-5.8.0.tar.gz 167927 BLAKE2B 59b9ee4e63e231026e25833ef8bc4a782ad7b30622d1f6b61fe177fbf0f8663ca953f68cf168abb407d3cb90fe98e29540ec3a8933a5df2ca7ba3e938ba4282f SHA512 ffeee045b5328fa410673464b2ca22d9cd1ba8dd34eff9a430b93e9ce72033100e32e3373308438bcb82b8eb7deea1f2087091e111b1204e35791958ca6944c4
|
||||||
MISC metadata.xml 395 SHA256 2f0adf35775e6d846b5e130aa371494daa7067ca46edc947b9dc35f6b3032ce1 SHA512 27076ca449e7effce88a4295218f20fcf89ba36ca0df51951f50d25b4f8b76945282136b6e972c0220567df3249c2c1fe2e956acfd36a5cf249401c88c721d4a WHIRLPOOL 022f838d5534321abe625dd15838b787bdf6bec1c21e3c8b83c43f18319e81a51daaff10c50b682e66615342a15c86bf77a37d98d8ecc17865dc77a7b4906313
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A python utility/library to sort imports"
|
|
||||||
HOMEPAGE="https://pypi.python.org/pypi/isort"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
|
||||||
IUSE=""
|
|
53
sdk_container/src/third_party/portage-stable/dev-python/isort/isort-5.7.0.ebuild
vendored
Normal file
53
sdk_container/src/third_party/portage-stable/dev-python/isort/isort-5.7.0.ebuild
vendored
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A python utility/library to sort imports"
|
||||||
|
HOMEPAGE="https://pypi.org/project/isort/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/black[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pylama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-vcs/git
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# Some tests run the "isort" command
|
||||||
|
distutils_install_for_testing --via-root
|
||||||
|
|
||||||
|
local skipped_tests=(
|
||||||
|
# Fails without -s, run it separately to avoid unnecessary output
|
||||||
|
tests/unit/test_importable.py
|
||||||
|
# Excluded from upstream's test script
|
||||||
|
tests/unit/test_deprecated_finders.py
|
||||||
|
# Require "example_isort_formatting_plugin", we're not going
|
||||||
|
# to add an example package just to run a few tests
|
||||||
|
tests/unit/test_literal.py::test_value_assignment_list
|
||||||
|
tests/unit/test_ticketed_features.py::test_isort_supports_formatting_plugins_issue_1353
|
||||||
|
tests/unit/test_ticketed_features.py::test_isort_literals_issue_1358
|
||||||
|
# Same here: requires "example_shared_isort_profile"
|
||||||
|
tests/unit/test_ticketed_features.py::test_isort_supports_shared_profiles_issue_970
|
||||||
|
)
|
||||||
|
pytest -s tests/unit/test_importable.py \
|
||||||
|
|| die "Tests failed with ${EPYTHON}"
|
||||||
|
pytest -vv tests/unit ${skipped_tests[@]/#/--deselect } \
|
||||||
|
|| die "Tests failed with ${EPYTHON}"
|
||||||
|
}
|
51
sdk_container/src/third_party/portage-stable/dev-python/isort/isort-5.8.0.ebuild
vendored
Normal file
51
sdk_container/src/third_party/portage-stable/dev-python/isort/isort-5.8.0.ebuild
vendored
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A python utility/library to sort imports"
|
||||||
|
HOMEPAGE="https://pypi.org/project/isort/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/black[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pylama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-vcs/git
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# Some tests run the "isort" command
|
||||||
|
distutils_install_for_testing
|
||||||
|
|
||||||
|
local skipped_tests=(
|
||||||
|
# Fails without -s, run it separately to avoid unnecessary output
|
||||||
|
tests/unit/test_importable.py
|
||||||
|
# Excluded from upstream's test script
|
||||||
|
tests/unit/test_deprecated_finders.py
|
||||||
|
# Require "example_isort_formatting_plugin", we're not going
|
||||||
|
# to add an example package just to run a few tests
|
||||||
|
tests/unit/test_literal.py::test_value_assignment_list
|
||||||
|
tests/unit/test_ticketed_features.py::test_isort_supports_formatting_plugins_issue_1353
|
||||||
|
tests/unit/test_ticketed_features.py::test_isort_literals_issue_1358
|
||||||
|
# Same here: requires "example_shared_isort_profile"
|
||||||
|
tests/unit/test_ticketed_features.py::test_isort_supports_shared_profiles_issue_970
|
||||||
|
)
|
||||||
|
epytest -s tests/unit/test_importable.py
|
||||||
|
epytest tests/unit ${skipped_tests[@]/#/--deselect }
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
@ -8,7 +8,11 @@
|
|||||||
<email>williamh@gentoo.org</email>
|
<email>williamh@gentoo.org</email>
|
||||||
<name>William Hubbs</name>
|
<name>William Hubbs</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="pypi">isort</remote-id>
|
<remote-id type="pypi">isort</remote-id>
|
||||||
|
<remote-id type="github">PyCQA/isort</remote-id>
|
||||||
|
<bugs-to>https://github.com/PyCQA/isort/issues</bugs-to>
|
||||||
|
<doc>https://pycqa.github.io/isort/</doc>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Loading…
Reference in New Issue
Block a user