summaryrefslogtreecommitdiff
path: root/dev-python/jsonschema
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-python/jsonschema
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-python/jsonschema')
-rw-r--r--dev-python/jsonschema/Manifest2
-rw-r--r--dev-python/jsonschema/jsonschema-3.2.0.ebuild22
2 files changed, 7 insertions, 17 deletions
diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
index e5c89793c2f1..ea3aa66f6de6 100644
--- a/dev-python/jsonschema/Manifest
+++ b/dev-python/jsonschema/Manifest
@@ -1,4 +1,4 @@
AUX jsonschema-3.2.0-add-webcolors-1.11-compat.patch 2146 BLAKE2B c9b2e6539e20955fccd4e6c1817ee4b22b645ac98d23be6f1f41ec62a11461546b7ad2e43028d8da22456422638bc08f030dca76a033238a258de11b9d72235e SHA512 ae8dc22aa163bd4e206f42fb450c4a3de78ab448c99dc754e8a97d4034d9ebb5913b85a8de1f365ff2145cbba69c4ca57af1bad7a491565dee86f714f7f40258
DIST jsonschema-3.2.0.tar.gz 167226 BLAKE2B f89a8198f6b7b4dd56b0320ddecdd834423cbeaf49fbbd1563007da61004322b92e25856ecc17b4d02e2162b2359ec5d7601826fe42cfcb7683ae16cf2baeb39 SHA512 acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab
-EBUILD jsonschema-3.2.0.ebuild 1659 BLAKE2B f3e534a2d7c16050843b991f871777bf273d8a5890ea62fdad14a302b6b8f4d548931a574a121d7c394bbe9595caaf8c5a25d42b3944a569710e35ef9515193b SHA512 ef62b6e3cc4c044334e9c8c4f2b228e4a6248a207a6315acac065962d65b6ac124365e893f0ca32bdb2955e93cb476103c6019a2af56c78f4fb410fa836727f4
+EBUILD jsonschema-3.2.0.ebuild 1276 BLAKE2B 1de013d01c360d497535d6f8bbc0448ffe095dedbad6ee5a28b5bb19c94209586bdc48c28422f78a0c6fbf24a11059b14a5830d7d20572662f269ce5867dae4e SHA512 60633c46d09a761e3d0425a07ed15f95e86fd0e79440f01174e9cc6556ecfafeb8e40ee7945bb13b6c94074696a99d7044a5b8b26867936dfb82a0a773dcdfec
MISC metadata.xml 691 BLAKE2B ba215d56ec3a691b6ef597e064456c97955d35fb03741bc2fa836a87a399fa7df47ba20b44904707f03cd5f9c5d5b43a086f6686c896bf0ee59bed3730f9dd8f SHA512 cabc9997b24ea7a0b3d9de733373be3bc00593d53472bccae0f395ebf7d8911004490a9d579a6a52e1beaf4f53736d1f139cd12779ea613b9940a8bce74c2496
diff --git a/dev-python/jsonschema/jsonschema-3.2.0.ebuild b/dev-python/jsonschema/jsonschema-3.2.0.ebuild
index 64e6301f0482..0c4030cc4684 100644
--- a/dev-python/jsonschema/jsonschema-3.2.0.ebuild
+++ b/dev-python/jsonschema/jsonschema-3.2.0.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -14,18 +15,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
BDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/pyrsistent[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/importlib_metadata[${PYTHON_USEDEP}]
- ' python{2_7,3_{5,6,7}} pypy{,3})
- $(python_gen_cond_dep \
- 'dev-python/functools32[${PYTHON_USEDEP}]' -2)
+ ' pypy3)
test? ( dev-python/twisted[${PYTHON_USEDEP}] )
"
@@ -39,19 +36,12 @@ RDEPEND="${BDEPEND}
dev-python/rfc3339-validator[${PYTHON_USEDEP}]
"
-RESTRICT="!test? ( test )"
+BDEPEND+="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
PATCHES=(
"${FILESDIR}"/${P}-add-webcolors-1.11-compat.patch
)
distutils_enable_tests unittest
-
-python_prepare_all() {
- # avoid a setuptools_scm dependency
- sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die
- sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::" \
- setup.cfg || die
-
- distutils-r1_python_prepare_all
-}