summaryrefslogtreecommitdiff
path: root/dev-python/black
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
commite9d044d4b9b71200a96adfa280848858c0f468c9 (patch)
tree1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /dev-python/black
parentfc2f1018fc323ef2c6572734a9b130427cba76a6 (diff)
gentoo resync : 13.11.2021
Diffstat (limited to 'dev-python/black')
-rw-r--r--dev-python/black/Manifest5
-rw-r--r--dev-python/black/black-20.8_beta1.ebuild76
-rw-r--r--dev-python/black/black-21.8_beta0.ebuild58
-rw-r--r--dev-python/black/files/black-20.8_beta1-setuptools_scm.patch16
4 files changed, 0 insertions, 155 deletions
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index 4179c9e9a417..024c9fc3a750 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1,12 +1,7 @@
-AUX black-20.8_beta1-setuptools_scm.patch 467 BLAKE2B 4dd16dde09bdb9c9b8480eff2542f11cbe712919dec6678193fae1dd2d58c646c76ecc4831a6bcbb54ed5a7f3692f61953bbb8856e8dcf6b64918ccbf32fe69c SHA512 47df09f60aae9ebbddfdf513d9b6caa30aaf60d65cd21027e965b0544085d63312dcbdc54906a0d1ef0edfaaf00f3cc753a7af3c113f4001ef4b48ca53e04c6d
-DIST black-20.8b1.tar.gz 1092546 BLAKE2B 5a0a755222617d8d551b627c91670ecc32a9330cc1197900a9d21b071d0d99ddd32e09786becfc577407ab402f6da3d8683a59a9deaea1f6b4f07b9e1e4ecbed SHA512 53d6f6a6f47027e5bdfd3909471c993480034c8aa8ae395792565b8d79fb4e3a44299ea529652c0ccabf4309d645db9179bf54efc06fee20517f479e91cec838
DIST black-21.10b0.tar.gz 1171813 BLAKE2B 71bf628aa3b2b0a73c53446061d07ed0074c2e136c6a4dd09feb4b7dcc2b8c8045417e2c6a049a3051bb2e8fc368037c540851384d00ec89ad943d0c8f949c40 SHA512 0e44fe6c34d75f135996bcd62768f3ea02f5ba996992f0173cd28977f6a9ed4fde975e7433439f3b724c54555867f91edcd167fc1c5273308a613a51905323c8
DIST black-21.7b0.tar.gz 1148431 BLAKE2B 34dcd2fd45b914433d6290c10bb07b44277cb490ef884c44ec00cb5495fadd2e649099dd356c4063d0fff5a6477609b11db73e1dc94d88106c56a3ca9b087c90 SHA512 7e6ee4e185080802c9dfc6eeb73b52b2489283c4bcbc086366f50ffb8ea3e0f4bdfedac9a5906be6ec119e65050741c71591c394f0c361a1d75b3ff4061945c1
-DIST black-21.8b0.tar.gz 1167978 BLAKE2B e7df398d09b71389069991bf0872a97d8a8c0b13ddeec12ee8f08ae9d9716a3d47447727d2759d475f10d323df151b8bb2353f3fd60c99eccb1e912554ebbe7b SHA512 ed38dbf0c881fee7da74f0d6bfe4ea0f85b5bed30d37abde2fd728e33f94ceaaa27b7107cfe763c19bdaea57fcbf54bcae82ce8bdcabc29035cdc85a8e10ab00
DIST black-21.9b0.tar.gz 1167869 BLAKE2B 31933de69cc34e23e14b0fdba33da844697816cd3917227c1a16c4d1595435d3715405f7f1df820953e83c30c3947448389a703ee662548226dfc2d278b87844 SHA512 0c8025d64ef9e5da8ad73b1f265b912bcb3d8cb00d8a426a39dd4c70505a77150e02a7f26e3d6842456eea367da9fad29d08f586b175d57d66a09cf389442ed0
-EBUILD black-20.8_beta1.ebuild 2242 BLAKE2B cdcf87b20f7d169425bf851b68dc8f393a7fa60837cce59f2ef9445189609291f5e53561c6411587e0b1343075e5bdf84fdda3771db629f856ce94a15adbafc0 SHA512 4a9fd8f011f4d10ef2dd21cb142065d568fd5d3486a00d4932c1f270aec46fe6f9e097667db0356d5c791dc7fad1ff9d88792292d281da69db3ec68dd5b1f14c
EBUILD black-21.10_beta0.ebuild 1729 BLAKE2B ea414647b2605eef0f1039cea4241102c042c03ac993dfdc580ec77f09d51fe716feab29fce7621f5aa90d9707bdc0ead2080160e2dc0fd18e4dd54025a44539 SHA512 567b531ded6b01fa0c943501d218c6fce44392c972310d8a1da150be79fa09275a8458db138c7d7d0e32e53cc390e5b906967b0eb74e0415ed58584479863e2d
EBUILD black-21.7_beta0.ebuild 1426 BLAKE2B ee3b32c88347adf7b124c310a169b2d44da5f17666f6461f8b649536394295e94637f6f832a613632af0ad28f520e11acab125bf9a4e20362c46efad35255e19 SHA512 36fa3e039be4eb322d8f4beb4524be8308ee01c2c11051005955925bb60cce54c5cc910af8b1c8ca45f30381e6cbe8dc7557f3d8d4771159043404714e267cc3
-EBUILD black-21.8_beta0.ebuild 1621 BLAKE2B 02e0edc7879e1bc8cb5dd75753fbb51144de8f21844c08738a6a77138101457b7f46eacd66f6d38b6c091deda327cd85a30acc162d8093934120ac652f560731 SHA512 14c1ef861ac7a571584c8c2242e4aedb5f869630091ca6041b9917e687c1281c3534346da72510d1fc2d5629671a9c501af4fdabb7e925d7f30c4c1e7071799a
EBUILD black-21.9_beta0.ebuild 1714 BLAKE2B 42ab0af65acc56e18274e3c7fbd0f23ceb61696ed3ab198495ff3b1e4306bb922bd4f1a54194cc9752cd31ca3b01be7c1033b3e1ccff1ad70425307d46dff9c1 SHA512 cd7fba053924154cd37dbd77971d38993405404681f048aba8e29dd7e0be59f99d991bbcfa0fd66c737a606c5a2fcdf58c2db87fca3c75d71f2d83bc0d52ace0
MISC metadata.xml 397 BLAKE2B 505ed4127741ef8d2fd77c36e6ad2d6168dca8ae5570cf7606a557fad29393c0dd78fe2eb1fe990d9d69abec19fb65d563481160b0bf0a914997b114e73f7c66 SHA512 357189214d3cc2a026b8c29ee5c695a62d73db229ca1f71372bfc5a1120317a4c4ffac942f5a196f20e84ae8988a4e707d4194ebde12ef7c96eb713b398f587c
diff --git a/dev-python/black/black-20.8_beta1.ebuild b/dev-python/black/black-20.8_beta1.ebuild
deleted file mode 100644
index 83195677b3b4..000000000000
--- a/dev-python/black/black-20.8_beta1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2020 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 optfeature
-
-MY_PV="${PV//_beta/b}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="The uncompromising Python code formatter"
-HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black"
-SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos"
-IUSE="test"
-# bug #754201
-RESTRICT="test"
-
-RDEPEND="
- >=dev-python/click-7.1.2[${PYTHON_USEDEP}]
- dev-python/appdirs[${PYTHON_USEDEP}]
- >=dev-python/toml-0.10.1[${PYTHON_USEDEP}]
- dev-python/typed-ast[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/pathspec[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
- >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
-"
-BDEPEND="${RDEPEND}
- test? (
- dev-python/aiohttp[${PYTHON_USEDEP}]
- dev-python/aiohttp-cors[${PYTHON_USEDEP}]
- dev-python/colorama[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/black-20.8_beta1-setuptools_scm.patch"
-)
-
-distutils_enable_tests unittest
-
-python_prepare_all() {
- local version_path
- version_path="$(grep '"write_to"' setup.py | \
- sed -r 's|[[:space:]]+"write_to": "([[:graph:]]+)",|\1|' \
- || die "could not find path to write version to")"
-
- [[ -e ${version_path} ]] && die "could not find path to write version to"
- printf 'version = "%s"\n' "${MY_PV}" > "${version_path}" || die "error writing version"
- sed -e 's:setuptools_scm::' -i setup.cfg || die
-
- # don't version lock dependencies
- sed -r -e 's:("pathspec>.*), <[0-9.-]+:\1:' -i setup.py || die
-
- # make sure that setup.py can read version
- export MY_PV
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die
- "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
-}
-
-pkg_postinst() {
- optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors
-}
diff --git a/dev-python/black/black-21.8_beta0.ebuild b/dev-python/black/black-21.8_beta0.ebuild
deleted file mode 100644
index 46855cf5a7f3..000000000000
--- a/dev-python/black/black-21.8_beta0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 optfeature
-
-MY_PV="${PV//_beta/b}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="The uncompromising Python code formatter"
-HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black"
-SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
-
-RDEPEND="
- >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
- >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
- >=dev-python/platformdirs-2[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- <dev-python/pathspec-1[${PYTHON_USEDEP}]
- <dev-python/tomli-2[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
- test? (
- dev-python/aiohttp[${PYTHON_USEDEP}]
- dev-python/aiohttp-cors[${PYTHON_USEDEP}]
- dev-python/colorama[${PYTHON_USEDEP}]
- dev-python/parameterized[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV}
-
-src_prepare() {
- # remove unnecessary bind that worked around broken 6.1.0/6.2.0 releases
- sed -i -e '/setuptools_scm/s:~=:>=:' setup.cfg || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- cp "${S}"/src/black_primer/primer.json \
- "${BUILD_DIR}"/lib/black_primer/primer.json || die
- distutils_install_for_testing
- epytest -m "not python2"
-}
-
-pkg_postinst() {
- optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors
-}
diff --git a/dev-python/black/files/black-20.8_beta1-setuptools_scm.patch b/dev-python/black/files/black-20.8_beta1-setuptools_scm.patch
deleted file mode 100644
index 368c21812e24..000000000000
--- a/dev-python/black/files/black-20.8_beta1-setuptools_scm.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 12fde25..340d2c0 100644
---- a/setup.py
-+++ b/setup.py
-@@ -47,10 +47,7 @@ else:
-
- setup(
- name="black",
-- use_scm_version={
-- "write_to": "src/_black_version.py",
-- "write_to_template": 'version = "{version}"\n',
-- },
-+ version=os.getenv("MY_PV"),
- description="The uncompromising code formatter.",
- long_description=get_long_description(),
- long_description_content_type="text/markdown",