diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /dev-python/snakeoil | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'dev-python/snakeoil')
-rw-r--r-- | dev-python/snakeoil/Manifest | 5 | ||||
-rw-r--r-- | dev-python/snakeoil/files/snakeoil-0.8.8-py39.patch | 28 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-0.8.8.ebuild | 6 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-9999.ebuild | 2 |
4 files changed, 37 insertions, 4 deletions
diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest index ce6d140446e0..d49f1240a79c 100644 --- a/dev-python/snakeoil/Manifest +++ b/dev-python/snakeoil/Manifest @@ -1,4 +1,5 @@ +AUX snakeoil-0.8.8-py39.patch 1243 BLAKE2B 30c096614e4a4023781a1ba0b5694e5c61521116f35d026b8138b48f03e29dd5d413433248fbb2922faed32e0de30bd0329032d666c73e8a0fbb073131d843b1 SHA512 2ccb78c26c8a4df1a757422122617087ea34873de48e94d43c980d86963a2ed3f2b7e71dcc03686a313eefb07bfdc4010763eec8aef38ce8cb5786495aed1522 DIST snakeoil-0.8.8.tar.gz 296519 BLAKE2B 5a5f6326d01874b46a5cb85f5370217f4f3dfd5743679280f1f59737567cd5d79deb945be847fd3cd47ff0ed67cc836d2a3e53c4aefbe8080da767f380295538 SHA512 ea1ff6ea45c9f5fc3bc539cc65031050093cc1fbdda869b7160b286dcf3233577ca297ab55ee3d7ee4253c5485f9e956e14ee2a97bfb88680811d1b8af6cd62d -EBUILD snakeoil-0.8.8.ebuild 840 BLAKE2B 37a5357d317d02e5ca941b5f1fa83524e40c5c0ab2da722582ef5e716959185bd7191ef4ce11a161f9622a43cc0f37e3046a68e09d293be5fc684c0114066fe2 SHA512 45fec591e78b138139ee0ec7f8b9f0754f6927e128aee9dedbc914a769822384b3184561922e1031a75016661da3109ba50c586c7c773e33fd1a5e974807173b -EBUILD snakeoil-9999.ebuild 849 BLAKE2B 55f284f67df24abbbc45339fe1b32cc060713861845a08aa578515ef1bc55edf37b8da958f78b17928bf754cfc1645d9c74514079cebb519027d70eff457ecd4 SHA512 754541ad9112e13548bd07e30df81ec5aeab889cab05471221c9587934e8becbaeae9dbb46771f3e6ca49c412fe6bc0ad266dc588f4d43a3e06a044976a7c5a9 +EBUILD snakeoil-0.8.8.ebuild 883 BLAKE2B f8b36b8e1d3b32a157f393d38c1ad3f55a9636741b0d7d339f42875db3351d985f8b8cef016a68baf453a7a3ffdba4a796944f2916dd93d7b8644e0d8bfbcf10 SHA512 612947d66d2045683dfde42cb035ce949b1a200c34c86b52e7b0191ecca7e93ac0f232c0a04fba7efce4d3cd442a73905d70f76af1ee7a7b3bac63af67587de8 +EBUILD snakeoil-9999.ebuild 848 BLAKE2B 2b3a44745fa6788b913fbc79c3719dff1e16f34f7e6957f9b5f36e31250fea527a40ff805e50f30afdf8e62b07a8757e8608de3fb9c43ff37d156f62d6a9e719 SHA512 c9e9898a6b3b1dc8f156a56dc90cd3930de84812dd22fa1ab76814065b9ea349522cec5387059ca3feadd0e468db15e39f44a1dc5d9a68685971ce17aba41ece MISC metadata.xml 386 BLAKE2B f9bc5cb5f590209e7211fffa5ac87e106e636f871dec0b31a90c4aaed63cb9fd4bf4fe510a4f36676eb47028465a58d5088307aec6c2c5b000d370aca5437b68 SHA512 47ee140ad8c665e0541a71721eec7739913a93944a0be471287c0df7403d63757500b27d3ffb909590846991c69727ea95d960dc98e7887bea3b178bc4dd6047 diff --git a/dev-python/snakeoil/files/snakeoil-0.8.8-py39.patch b/dev-python/snakeoil/files/snakeoil-0.8.8-py39.patch new file mode 100644 index 000000000000..dbda88bd588f --- /dev/null +++ b/dev-python/snakeoil/files/snakeoil-0.8.8-py39.patch @@ -0,0 +1,28 @@ +From eeb1f45216eced42b386d6ea65eadc49798c7174 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Thu, 28 May 2020 14:00:34 +0200 +Subject: [PATCH] test_obj: Ignore __class_getitem__ + +Ignore __class_getitem__ special that was added to some stdlib objects +in Python 3.9. It is used as part of type declarations. +--- + tests/module/test_obj.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tests/module/test_obj.py b/tests/module/test_obj.py +index 03b100c..43c5c47 100644 +--- a/tests/module/test_obj.py ++++ b/tests/module/test_obj.py +@@ -23,7 +23,8 @@ class TestDelayedInstantiation: + def assertKls(cls, ignores=(), + default_ignores=("__new__", "__init__", "__init_subclass__", + "__getattribute__", "__class__", +- "__getnewargs__", "__doc__")): ++ "__getnewargs__", "__doc__", ++ "__class_getitem__")): + required = set(x for x in dir(cls) + if x.startswith("__") and x.endswith("__")) + missing = required.difference(obj.kls_descriptors) +-- +2.26.2 + diff --git a/dev-python/snakeoil/snakeoil-0.8.8.ebuild b/dev-python/snakeoil/snakeoil-0.8.8.ebuild index c762561aef96..72c91229bc3c 100644 --- a/dev-python/snakeoil/snakeoil-0.8.8.ebuild +++ b/dev-python/snakeoil/snakeoil-0.8.8.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -27,6 +27,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] " [[ ${PV} == 9999 ]] && DEPEND+=" dev-python/cython[${PYTHON_USEDEP}]" +PATCHES=( + "${FILESDIR}"/${P}-py39.patch +) + python_test() { esetup.py test } diff --git a/dev-python/snakeoil/snakeoil-9999.ebuild b/dev-python/snakeoil/snakeoil-9999.ebuild index 1b7261487c4b..68c9d1509604 100644 --- a/dev-python/snakeoil/snakeoil-9999.ebuild +++ b/dev-python/snakeoil/snakeoil-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 |