Removed obsolete stuff

This commit is contained in:
layman 2022-07-22 16:57:59 +02:00
parent 4676fa9b14
commit 284402f17d
18 changed files with 4 additions and 608 deletions

View File

@ -3,4 +3,5 @@ DIST flask-restx-0.5.0.tar.gz 398620 BLAKE2B 23ac1a51b4cb0848b28dc14bd1727849c51
DIST flask-restx-0.5.1.tar.gz 398653 BLAKE2B 605c66decc83d8d7fc3449d3b7053cc2bb589d23f4db22d3a61b9422a97ceefdc0335af8c002762ec7693844b005f5562fdfda09e95c1e83fa266709af640a9d SHA512 0e4ca95a6bb45f7dfba1758387aded6215ec64fa55060889e6843fb50eed09fda96ba936eacd0d8f27b29f5dec2468d4945386f25ff4de6a51f571e16617cf52
EBUILD flask-restx-0.4.0.ebuild 1268 BLAKE2B 4c426b81c38b602a99694c3d17664d3e0cd38437267ca2fcc6e4d3b9e585e65f33fae7d53c063428be3391fd1ffbf0d8029e122b34f9849948959e3e77c94712 SHA512 af14497fadb54590be7ed74fccb81c149031ae40f24599eb51c552c0b83c4799aaae12e8384acc97ce06b94fc1d7df6b4b1f56cc227475488a582244f3ba6581
EBUILD flask-restx-0.5.0.ebuild 1260 BLAKE2B 11e45314ac878651d3a8e5eb3472f3c1c5b3d0aaf2c996335317f650666884d83b927453efdf7c4e2218b92a337b54c86283a2c5ece0f52f60cb29bc8e25ecfa SHA512 794a57f8058f3765c9781463a0a77199fc2bc853c9e9e7a8a1af83c8a649188c7bc0f1e3d6f5559adb24d48e509b56151886a80ffbcc6ded593ae4664d57f247
EBUILD flask-restx-0.5.1-r1.ebuild 1261 BLAKE2B eda76afc28aef66063a10529145241e3c30a52aecab3a3c2f0097bb2e69a08642c4678964c1bde4a4d10e90b8ac85c86785c18e811939207830103df2f50f0e7 SHA512 d8d077739e0df531fe59bf5b5dc1d597065db8007cf86dcfbb8c1ff78ac7344665c2f2443e970482f37b184eff58f1ea46bde7e97a41ec4cd577aad9081057a5
EBUILD flask-restx-0.5.1.ebuild 1260 BLAKE2B 11e45314ac878651d3a8e5eb3472f3c1c5b3d0aaf2c996335317f650666884d83b927453efdf7c4e2218b92a337b54c86283a2c5ece0f52f60cb29bc8e25ecfa SHA512 794a57f8058f3765c9781463a0a77199fc2bc853c9e9e7a8a1af83c8a649188c7bc0f1e3d6f5559adb24d48e509b56151886a80ffbcc6ded593ae4664d57f247

View File

@ -1,5 +0,0 @@
AUX psutil-5.7.0-tests.patch 6018 BLAKE2B ac419a11d5caabd4184ece7a1b969e23125c122fe9a52277a7bc4af8006818b2328507e929584b464aa9ff94521c4d882819c45719dc4fb387a24c7171d5caba SHA512 3b8c901c101c56be207b008437fb0aa2f6095986e9dbdfb3f0ca5f3417ec2ee3a120d9b66f091ed9ac697d80bc17e2eb215b57bbde5b093b5b3b64ca4dae4b3b
AUX psutil-5.7.2-tests.patch 4427 BLAKE2B 8b2847eb445eb39080123dc1018ccf8c68c0ceb88538d9abef454724d298225ba3f65f735fd8528d3ed22d4f463e8025677144442ac471aeeea44bbe7c607d55 SHA512 46145825084b5d09e2dfa7f7b765757a8d5ac7ff2379ae66bb628ea30f010daff2fe9d389f7846a1f63f9b03c4b7bd8ac4f4d07a4ed977e06a68b63a4e27231b
DIST psutil-5.8.0.tar.gz 470886 BLAKE2B f3d8d55dcbc2e0821f1ce96b9187692b2389681e13599b04e33b10f11fbe02f768a4dfc0802fe506713c8c3306d4c7011f2ac659c78f6a23a5523c7e36abc318 SHA512 b716bcbf33ceacdc30ddd0d0cf9bca0ab7751225b8f20dea664a82751dc88cb590720b098ae26056c8b3cdabcfe2fa198d618cea24c21465b1368a52ee182818
EBUILD psutil-5.8.0.ebuild 1155 BLAKE2B 13f89c3397dacf75c21c2506e21ea149bab5334cddb7b94f62c30ba2ae6ce6f7f08144d07c9be7983de8913d113f861f6dabf51aca997123cd83e40aadeed500 SHA512 3d29e2ee60cc953a45724904c5c656554f83b3a6c7d8618d5c9863c38d563c2c31fc68d7f422241b7a52b5e33cfe33f8eaf3109b60022953cf031397379a4526
MISC metadata.xml 377 BLAKE2B 0e671ef95025f24d295ceb5c5295544f4d68bf94459537537e229efd273bbac058b385fa94f1fa1191f23785d2572a5960d84a1d3ece41f10316b38101cb26d0 SHA512 a28e7a1e32a0b2750a4f0956d2252c73d20b4aa9817aac2e776365febd7d03de88e88508aabdfc29ae15d8bf7ebf1ed662c000e2ca8c79e3d50a3362ce1c2d2d

View File

@ -1,158 +0,0 @@
From e910d08976e00bc12b5a516daa9e6a6d42d48354 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 19 Feb 2020 07:27:32 +0100
Subject: [PATCH] Skip broken tests on Gentoo
---
psutil/tests/test_linux.py | 8 ++++++++
psutil/tests/test_posix.py | 1 +
psutil/tests/test_process.py | 2 ++
psutil/tests/test_system.py | 1 +
4 files changed, 12 insertions(+)
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
index e51f8bd5..48527ccb 100755
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -17,6 +17,7 @@ import re
import shutil
import socket
import struct
+import sys
import tempfile
import textwrap
import time
@@ -381,6 +382,8 @@ class TestSystemVirtualMemory(unittest.TestCase):
ret = psutil.virtual_memory()
assert m.called
self.assertEqual(ret.available, 2057400 * 1024 + 4818144 * 1024)
+ if sys.version_info < (3,):
+ return
w = ws[0]
self.assertIn(
"inactive memory stats couldn't be determined", str(w.message))
@@ -411,6 +414,8 @@ class TestSystemVirtualMemory(unittest.TestCase):
ret = psutil.virtual_memory()
self.assertEqual(
ret.available, 2057400 * 1024 + 4818144 * 1024)
+ if sys.version_info < (3,):
+ return
w = ws[0]
self.assertIn(
"inactive memory stats couldn't be determined",
@@ -882,6 +887,7 @@ class TestLoadAvg(unittest.TestCase):
@unittest.skipIf(not LINUX, "LINUX only")
class TestSystemNetIfAddrs(unittest.TestCase):
+ @unittest.skip("broken on Gentoo")
def test_ips(self):
for name, addrs in psutil.net_if_addrs().items():
for addr in addrs:
@@ -1364,6 +1370,7 @@ class TestMisc(unittest.TestCase):
psutil.PROCFS_PATH = "/proc"
os.rmdir(tdir)
+ @unittest.skip("broken on Gentoo")
def test_issue_687(self):
# In case of thread ID:
# - pid_exists() is supposed to return False
@@ -2073,6 +2080,7 @@ class TestProcessAgainstStatus(unittest.TestCase):
value = self.read_status_file("nonvoluntary_ctxt_switches:")
self.assertEqual(self.proc.num_ctx_switches().involuntary, value)
+ @unittest.skip("broken on Gentoo")
def test_cpu_affinity(self):
value = self.read_status_file("Cpus_allowed_list:")
if '-' in str(value):
diff --git a/psutil/tests/test_posix.py b/psutil/tests/test_posix.py
index a96b310f..70199203 100755
--- a/psutil/tests/test_posix.py
+++ b/psutil/tests/test_posix.py
@@ -364,6 +364,7 @@ class TestSystemAPIs(unittest.TestCase):
"couldn't find %s nic in 'ifconfig -a' output\n%s" % (
nic, output))
+ @unittest.skip("broken on Gentoo")
@unittest.skipIf(CI_TESTING and not psutil.users(), "unreliable on CI")
@retry_on_failure()
def test_users(self):
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index 987bdf38..cb04f3ef 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -350,6 +350,7 @@ class TestProcess(unittest.TestCase):
self.assertGreaterEqual(io2[i], 0)
self.assertGreaterEqual(io2[i], 0)
+ @unittest.skip("fails if builder is ioniced already")
@unittest.skipIf(not HAS_IONICE, "not supported")
@unittest.skipIf(not LINUX, "linux only")
def test_ionice_linux(self):
@@ -1495,6 +1496,7 @@ class TestProcess(unittest.TestCase):
d2 = clean_dict(os.environ.copy())
self.assertEqual(d1, d2)
+ @unittest.skip("broken by sandbox")
@unittest.skipIf(not HAS_ENVIRON, "not supported")
@unittest.skipIf(not POSIX, "POSIX only")
def test_weird_environ(self):
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
index 3834209f..b07b5883 100755
--- a/psutil/tests/test_system.py
+++ b/psutil/tests/test_system.py
@@ -215,6 +215,7 @@ class TestMiscAPIs(unittest.TestCase):
self.assertGreater(bt, 0)
self.assertLess(bt, time.time())
+ @unittest.skip("broken on Gentoo")
@unittest.skipIf(CI_TESTING and not psutil.users(), "unreliable on CI")
def test_users(self):
users = psutil.users()
--
2.25.1
From 026e4b0076a352fcb1e8de71f1393ae0d50ac06d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Tue, 26 May 2020 12:28:59 +0200
Subject: [PATCH] Sort results in test_cpu_affinity_all_combinations
Fix test_cpu_affinity_all_combinations to permit any CPU order
in results. This fixes test failure due to affinity being reported
out of order:
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_cpu_affinity_all_combinations
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/psutil/psutil/tests/test_process.py", line 940, in test_cpu_affinity_all_combinations
self.assertEqual(p.cpu_affinity(), combo)
AssertionError: Lists differ: [8, 1] != [1, 8]
First differing element 0:
8
1
- [8, 1]
+ [1, 8]
----------------------------------------------------------------------
---
psutil/tests/test_process.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index a0b21c6e..e3394799 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -937,7 +937,7 @@ class TestProcess(PsutilTestCase):
for combo in combos:
p.cpu_affinity(combo)
- self.assertEqual(p.cpu_affinity(), combo)
+ self.assertEqual(sorted(p.cpu_affinity()), sorted(combo))
# TODO: #595
@unittest.skipIf(BSD, "broken on BSD")
--
2.26.2

View File

@ -1,112 +0,0 @@
From e910d08976e00bc12b5a516daa9e6a6d42d48354 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 19 Feb 2020 07:27:32 +0100
Subject: [PATCH] Skip broken tests on Gentoo
---
psutil/tests/test_linux.py | 8 ++++++++
psutil/tests/test_posix.py | 1 +
psutil/tests/test_process.py | 2 ++
psutil/tests/test_system.py | 1 +
4 files changed, 12 insertions(+)
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
index e51f8bd5..48527ccb 100755
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -17,5 +17,6 @@ import re
import shutil
import socket
import struct
+import sys
import textwrap
import time
@@ -381,6 +382,8 @@ class TestSystemVirtualMemory(unittest.TestCase):
ret = psutil.virtual_memory()
assert m.called
self.assertEqual(ret.available, 2057400 * 1024 + 4818144 * 1024)
+ if sys.version_info < (3,):
+ return
w = ws[0]
self.assertIn(
"inactive memory stats couldn't be determined", str(w.message))
@@ -411,6 +414,8 @@ class TestSystemVirtualMemory(unittest.TestCase):
ret = psutil.virtual_memory()
self.assertEqual(
ret.available, 2057400 * 1024 + 4818144 * 1024)
+ if sys.version_info < (3,):
+ return
w = ws[0]
self.assertIn(
"inactive memory stats couldn't be determined",
@@ -882,6 +887,7 @@ class TestLoadAvg(unittest.TestCase):
@unittest.skipIf(not LINUX, "LINUX only")
class TestSystemNetIfAddrs(unittest.TestCase):
+ @unittest.skip("broken on Gentoo")
def test_ips(self):
for name, addrs in psutil.net_if_addrs().items():
for addr in addrs:
@@ -1364,7 +1370,8 @@ class TestMisc(unittest.TestCase):
psutil.PROCFS_PATH = "/proc"
os.rmdir(tdir)
@retry_on_failure()
+ @unittest.skip("broken on Gentoo")
def test_issue_687(self):
# In case of thread ID:
# - pid_exists() is supposed to return False
@@ -2073,6 +2080,7 @@ class TestProcessAgainstStatus(unittest.TestCase):
value = self.read_status_file("nonvoluntary_ctxt_switches:")
self.assertEqual(self.proc.num_ctx_switches().involuntary, value)
+ @unittest.skip("broken on Gentoo")
def test_cpu_affinity(self):
value = self.read_status_file("Cpus_allowed_list:")
if '-' in str(value):
diff --git a/psutil/tests/test_posix.py b/psutil/tests/test_posix.py
index a96b310f..70199203 100755
--- a/psutil/tests/test_posix.py
+++ b/psutil/tests/test_posix.py
@@ -364,6 +364,7 @@ class TestSystemAPIs(unittest.TestCase):
"couldn't find %s nic in 'ifconfig -a' output\n%s" % (
nic, output))
+ @unittest.skip("broken on Gentoo")
@unittest.skipIf(CI_TESTING and not psutil.users(), "unreliable on CI")
@retry_on_failure()
def test_users(self):
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index 987bdf38..cb04f3ef 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -350,6 +350,7 @@ class TestProcess(unittest.TestCase):
self.assertGreaterEqual(io2[i], 0)
self.assertGreaterEqual(io2[i], 0)
+ @unittest.skip("fails if builder is ioniced already")
@unittest.skipIf(not HAS_IONICE, "not supported")
@unittest.skipIf(not LINUX, "linux only")
def test_ionice_linux(self):
@@ -1495,6 +1496,7 @@ class TestProcess(unittest.TestCase):
d2 = clean_dict(os.environ.copy())
self.assertEqual(d1, d2)
+ @unittest.skip("broken by sandbox")
@unittest.skipIf(not HAS_ENVIRON, "not supported")
@unittest.skipIf(not POSIX, "POSIX only")
def test_weird_environ(self):
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
index 3834209f..b07b5883 100755
--- a/psutil/tests/test_system.py
+++ b/psutil/tests/test_system.py
@@ -215,6 +215,7 @@ class TestMiscAPIs(unittest.TestCase):
self.assertGreater(bt, 0)
self.assertLess(bt, time.time())
+ @unittest.skip("broken on Gentoo")
@unittest.skipIf(CI_TESTING and not psutil.users(), "unreliable on CI")
def test_users(self):
users = psutil.users()
--
2.25.1

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">psutil</remote-id>
<remote-id type="github">giampaolo/psutil</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,39 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Retrieve information on running processes and system utilization"
HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.org/project/psutil/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/psutil-5.7.2-tests.patch"
)
python_test() {
if [[ ${EPYTHON} == pypy* ]]; then
ewarn "Not running tests on ${EPYTHON} since they are broken"
return 0
fi
# since we are running in an environment a bit similar to CI,
# let's skip the tests that are disable for CI
TRAVIS=1 APPVEYOR=1 "${EPYTHON}" psutil/tests/runner.py ||
die "tests failed with ${EPYTHON}"
}
python_compile() {
# force -j1 to avoid .o linking race conditions
local MAKEOPTS=-j1
distutils-r1_python_compile
}

View File

@ -1,2 +1,3 @@
DIST pynzb-0.1.0.tar.gz 5598 BLAKE2B 1448dc4ddf429e4ec23b6e9c6afd25c4dde70e761a632534a5d6fadf326f86ecf748f7323cb32d7b0970703c9de03ab93d047fde83b83d13bc9d4b188849c7e8 SHA512 c1efb43e56c67652bc12ec555700f134b2bd32546b9dd6c0a28a043db5c8ded5758940121b84541bdb972c7c740357cbc656e233ecfb77787d77727e245b1e72
EBUILD pynzb-0.1.0-r3.ebuild 472 BLAKE2B bd75a216f190d9b72cfd261921da84eb689b17d8b01a6b9db3b69b1d66b6e31420d5a59a1f22acad5151ba72280c365f5eda6dfece09e27f3c215e6ecc651559 SHA512 6c73e6d5670191d95465107819fdb0a4ad0a5032009639f3e8457ac9938cb6fa3a9f65fc8a8a5b7694cb9cbed1a3bdde360b74b30bf85cc9eca094ed85a4b45e
EBUILD pynzb-0.1.0-r4.ebuild 465 BLAKE2B 4634af2dfa7f36580a905eb6d7c3fcc1c6d0d53f5a9e9d5262937e1ab5f944545bba74c8186676aa0f21ad635d817b6a4b409b3f240dae3f25b2aa3670dfb5a9 SHA512 3d21d16167c05d03aeaa3885158cf52fd92df6d9ff6a2f650740df0fdc7a6977c2e512933c93d0d5e596a082ee5f74ab68953f239646f0745c87770f325055e2

View File

@ -1,4 +0,0 @@
AUX pyyaml-5.1-cve-2017-18342.patch 1420 BLAKE2B bf053ed121355aea1e44f9bd29b22c9afbca7b99b68e59a6e213d2723531044049964dcb20dbc036ee27ae8bcc2c26e317cf080637e611fa0105a9d451496125 SHA512 8e7737761555d851b21ca61128d2ced4163d446acb87510b6962a20dc217923bcf835d70224c9e721486351e0aeb57f9f3c570b57086a0a00c3e8ac656a458c5
DIST PyYAML-5.1.2.tar.gz 265034 BLAKE2B a3f6fe4a0c0a24f8934b94545e7727fad26b397755416a8127bd52fd9ea5e8fea3c6452ddfbd91edfa2e8ca88522b1ae9061c9221f394c8fa4cbd1c2dc256f72 SHA512 b5ee201c612486a95c87b7e41d474313160284359b8b30ababc80b51325aef9dd7dc27eb3b8a03a4749cb8c7e3789c5684d5c285fe35d4b20be1f189641531e0
EBUILD pyyaml-5.1.2.ebuild 1153 BLAKE2B 2fc4bec2f14d5982d433b0564d4a735fe0254107403a0006bc5d69ef6836d542193e6636cbe4ecb60165236f9b8a4b9d263db162837d64db24a31a527c80bb77 SHA512 df0e89caac252e76cc703e969a51ae1844654a5adefe698a89571c101eac7503740ddc39b21e887b0b5ce303afa037e6bf10320eba0f49a65950c86a647b988b
MISC metadata.xml 345 BLAKE2B 8c26b8b05b08ed9abab5ed2cb36552dc9af33ee2b30cf3ebe551576d7ad44908b3dff195cd7f1a3f5af9323d17eadee407e42bfeb99150be2a0ac4b48653c1eb SHA512 1fdee5219c989b3edf11bdb63264c6ca6bd54fb1f44907bf20ce7ee6b1968c9c6f2c94363698be87d92eb6cd07a034acca7dbcffaeac40d2add8d57a240772da

View File

@ -1,40 +0,0 @@
diff --git a/lib/yaml/__init__.py b/lib/yaml/__init__.py
index e7a419d..5f80761 100644
--- a/lib/yaml/__init__.py
+++ b/lib/yaml/__init__.py
@@ -106,6 +106,7 @@ def load(stream, Loader=None):
and produce the corresponding Python object.
"""
if Loader is None:
+ raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348")
load_warning('load')
Loader = FullLoader
@@ -121,6 +122,7 @@ def load_all(stream, Loader=None):
and produce corresponding Python objects.
"""
if Loader is None:
+ raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348")
load_warning('load_all')
Loader = FullLoader
diff --git a/lib3/yaml/__init__.py b/lib3/yaml/__init__.py
index 5df0bb5..6952ba5 100644
--- a/lib3/yaml/__init__.py
+++ b/lib3/yaml/__init__.py
@@ -106,6 +106,7 @@ def load(stream, Loader=None):
and produce the corresponding Python object.
"""
if Loader is None:
+ raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348")
load_warning('load')
Loader = FullLoader
@@ -121,6 +122,7 @@ def load_all(stream, Loader=None):
and produce corresponding Python objects.
"""
if Loader is None:
+ raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348")
load_warning('load_all')
Loader = FullLoader

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<use>
<flag name="libyaml">enable support for C implementation using libyaml</flag>
</use>
</pkgmetadata>

View File

@ -1,46 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
inherit distutils-r1
MY_P="PyYAML-${PV}"
DESCRIPTION="YAML parser and emitter for Python"
HOMEPAGE="https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/"
SRC_URI="https://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE="examples libyaml"
RDEPEND="libyaml? ( dev-libs/libyaml )"
DEPEND="${RDEPEND}
libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )"
S="${WORKDIR}/${MY_P}"
PATCHES=(
# bug #659348
"${FILESDIR}/${PN}-5.1-cve-2017-18342.patch"
)
python_configure_all() {
mydistutilsargs=( $(use_with libyaml) )
}
python_test() {
esetup.py test
}
python_install_all() {
distutils-r1_python_install_all
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}
fi
}

View File

@ -1,3 +0,0 @@
DIST Sphinx-2.0.1.tar.gz 6017030 BLAKE2B a446aab8c7f5a4adc93477f4f60ca975690cb4c507d6e51393a4b2c4c56563b9a12e3ea3f85d214c6bdbc7834be107384fe9029d09a73da207fd9699c4b77ab8 SHA512 28430912917a8e3eb6efe6b69268e2a5ae06795c261f2a18ef62f781e365396832c4e4bcfaad7704b1c5f840e98a9dfb82e3b438a491a13cea5c10bee66bf23b
EBUILD sphinx-2.0.1.ebuild 3479 BLAKE2B b2290a7f1abe1f08960f73b3ff8069bae7aaa5e9f73b29c1d7052531aa8c36b60e32d0eeec72f4c7eff5e866f5452ba6ccaab1d159f2ed6ea919838f16bfb6db SHA512 6fa5238ed37574221640aee81dd2c5bab1ac5efea754c5bfbf183aa7cb80f2653f1f9f628d1d91888e5c7aacf5a4aeb75ad6315d2866f4b0fc461f4519137e60
MISC metadata.xml 556 BLAKE2B a2689efbe3d569fa878296875f4145fdb4d83b4c4821aa636d4006b1823e5646b9cebd5341b4bc02de30985191b83461363cc892aca638e678f86a6e314dcef3 SHA512 bff6813bf9c5110c2e4f5764f911309325923cb58300c19c079d1e6de3d6c4c0bcaf4e206fa4bc11ebf54b961c7e09217310b5647029350d4f9602da6325db0c

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">Sphinx is a tool to create documentation for Python projects (or other documents consisting of multiple reStructuredText sources).</longdescription>
<upstream>
<remote-id type="pypi">Sphinx</remote-id>
</upstream>
<use>
<flag name="net">enable internet capabilities</flag>
</use>
</pkgmetadata>

View File

@ -1,106 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python documentation generator"
HOMEPAGE="http://www.sphinx-doc.org/"
SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc latex test"
# Tests automagically use latex, bug 667414
#REQUIRED_USE="test? ( latex )"
RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/alabaster-0.8[${PYTHON_USEDEP}]
dev-python/Babel[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/imagesize[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/snowballstemmer[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
latex? (
dev-texlive/texlive-latexextra
dev-texlive/texlive-luatex
app-text/dvipng
)"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/html5lib[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
virtual/imagemagick-tools[jpeg,png,svg]
dev-texlive/texlive-latexextra
dev-texlive/texlive-luatex
app-text/dvipng
)"
S="${WORKDIR}/${P^}"
python_prepare_all() {
# remove tests that fail due to network-sandbox
rm tests/test_build_linkcheck.py || die "Failed to remove web tests"
sed -i -e 's:test_latex_images:_&:' tests/test_build_latex.py || die
sed -i -e 's:test_latex_doc:_&:' tests/test_build_latex.py || die
# requires specific locales
sed -i -e 's:test_babel_with_language_:_&:' tests/test_build_latex.py || die
sed -i -e 's:test_polyglossia_with_language_:_&:' tests/test_build_latex.py || die
# fail for unknown reasons. TODO: find out why
sed -i -e 's:test_build_latex_doc:_&:' tests/test_build_latex.py || die
rm tests/test_ext_imgconverter.py || die "Failed to remove broken test"
# fails when additional sphinx themes are installed
sed -i -e 's:test_theme_api:_&:' tests/test_theming.py || die
# fail under pypy3
sed -i -e 's:test_partialmethod:_&:' tests/test_autodoc.py || die
sed -i -e 's:test_partialfunction:_&:' tests/test_autodoc.py || die
distutils-r1_python_prepare_all
}
python_compile() {
distutils-r1_python_compile
# Generate the grammar. It will be caught by install somehow.
# Note that the tests usually do it for us. However, I don't want
# to trust USE=test really running all the tests, especially
# with FEATURES=test-fail-continue.
pushd "${BUILD_DIR}"/lib >/dev/null || die
"${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed."
popd >/dev/null || die
}
python_compile_all() {
if use doc; then
esetup.py build_sphinx
HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
fi
}
python_test() {
mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
pytest -vv || die "Tests fail with ${EPYTHON}"
}

View File

@ -1,3 +0,0 @@
DIST Werkzeug-0.15.6.tar.gz 926705 BLAKE2B abcae1a03c0f3282bfd6c6514edbead30b3bc28eb2a766e180fcda6123e4a87a7f8f2f971571608e014ed0744e1579d7545db45307187043b49cecfc8dfbbf43 SHA512 5530002c3da348cdc6bc8954d499338ca3730d46221b0ce93feffa03fa7188ca9458a5102dcf90592b35004583b7a06af70f3d8ce7ff35515506366f327c68af
EBUILD werkzeug-0.15.6.ebuild 1019 BLAKE2B a6f38cbd9d6c38a1230d83d49ff061e22e7bd755372b993ff69686a467f3421de649a0c8fe08b73359975b4fcf68226379df92b6c79d5902ca942060832c4810 SHA512 6d6792784168648a9f44083a19dd95cfbc817c7a2df03a45b75be7d716ca393bef74d02f5519df888776203de7400a2626ecd62f74925be06ba0af4062d3d4b6
MISC metadata.xml 450 BLAKE2B 553ae7b037307259ba7c22b90f001cc7fcdd1c2a2437ad4a038eceec9e9787b3c2287b0f4ba40c9cc435ccc80dc60a96ceadd2ca3e892ae5e5083e4dd037525c SHA512 5bdd21ede3cc864b573ccd668ec99585baa7bf922f80137fd7880f73285510d0bd357707d44f9609b13f01245d011ff209e6c8d837c0f247fce08887bffc3cef

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription>
Werkzeug is a WSGI utility library. It can serve as the basis for a
custom framework.
</longdescription>
<upstream>
<remote-id type="pypi">Werkzeug</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,39 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
inherit distutils-r1
MY_PN="Werkzeug"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Collection of various utilities for WSGI applications"
HOMEPAGE="http://werkzeug.pocoo.org/ https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-xprocess[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_P}"
python_compile() {
distutils-r1_python_compile
}
python_test() {
pytest -vv tests || die "Tests failed under ${EPYTHON}"
}

View File

@ -11,6 +11,7 @@ DIST FlexGet-3.1.48.tar.gz 8579168 BLAKE2B e741aea505aca635fb9d9e5518e19d21162a5
DIST FlexGet-3.1.70.tar.gz 8594444 BLAKE2B 64814bb87ae208ca1020e2491c09dbce343b1afda76beb7a157021f0cb62dd87b24c70176969931974431641f258bf2caeabf982cce2131edbcbff2c862a727c SHA512 977187497abda6ebccfefff8e7cdafa6ed828042f7457b9f62b84e7b4a4aba932a4d99df57b6da065a2a355170c48e3de9de9427b2f190c4db088c20581ebfed
DIST FlexGet-3.2.8.tar.gz 8629339 BLAKE2B 4e76441460b63b736ed37e477aba06ca74294382b267e9566f11e58d909fdb66ab874ff35ecfe2bfa71be75b1bd39de6cfc21b38a247d7baff96f8b3196de952 SHA512 eb52b41ebbeffb32332068b5781ddcae8111541c5a713652852b2de3bb6d68bcc4aa65a4d127b6233ae6848e021d512ad01bd1dd43d63b577da7abeee6e809f8
DIST FlexGet-3.3.2.tar.gz 8631180 BLAKE2B 17fe6b8fca1ee75668f421af9fb830c9fdbf86e32c2ad370af4f1c89b00cc9211b6072df3627d24e88d9e2e80bec757f1b3946ba8dd659cb9e6a0eb4b33ea160 SHA512 fe731315803cc12f3b9884926db81c8183f063bd4b18d7426a3e534e2a29a96e8f8ebb15645b2ebf50b63187ece45824f000f0c1a00ccc217b2ac1da274c7825
DIST FlexGet-3.3.21.tar.gz 8632853 BLAKE2B 590039fdffb74ceb190a7d3d549bb72d78e3438ebbd5950cb9cf7d2a0e89044c70425db565f1d52f592f60653d9119b30142fef902bbe980232fde9effc687c8 SHA512 5695d320055238b4f1a17ddeb0bf16889ff0c99202ecca575568ba7229eaed34b93214c5a7c86f307eb6c92c534c353c4edd58e50e7abf4dda6bead53e320e9b
DIST FlexGet-3.3.3.tar.gz 8631710 BLAKE2B 7f5dfb08296f6af087b28c2b5c14f43848b3cbba0dba1c229a88b43c9eafcc235df1660a99f39162d5cb80886004ba5d1bf289dadcaf39d302e57a16f18c68dd SHA512 df737242ae7a5f304ccb0ad4a748801e5a3ffd02b16d48c4a8b4444f07e2e61c26585d81b28059890d2c5feb984305d6604a36dd13aa659d304e291afe94be06
EBUILD flexget-3.1.100.ebuild 7468 BLAKE2B 63832eb753fd023feb9ceb2acde44db5c2feece538c8467f95f412e0824e917ace19375afdbb1419c063658853cb772c9bcf5bc6da71ab0fe5acaad7cd676be2 SHA512 5add6137e6b72e56cff56a15bf1b2718828d37af89aebe3c4533878b4adfdecb09346d90ce195f613d28b362a1a371edb30120328fbd2949c9afd9c58b822744
EBUILD flexget-3.1.106.ebuild 7698 BLAKE2B 9c5fcb77d8350b4334967035fab0fa2bc7409af9a0380faf160f3e3ae0543320e958c66792698066c715f5d713f612b98aa2daff4724e6761239c08d0fafbe48 SHA512 a2bcf7ade15d5291e0e41886b3af823ecdf2896c29c5f67c44ed6d44d64e79923c169e374b4c298ff76c64898851fbb2709b4c4573b7e19e91df37a3330bf598
@ -23,5 +24,6 @@ EBUILD flexget-3.1.48.ebuild 6838 BLAKE2B 5398abd9a8360bb989e0229dc948135f525ca9
EBUILD flexget-3.1.70.ebuild 6999 BLAKE2B ad15651980e52f86694fd4a76062069d35abfad15701022b68e821caad3e814f9aff470fef0baab80838e397942b0e5af175a726fbd9decc8e83ce599fb6bcae SHA512 30c7147973684bd7da895c81396f984332afbf167d84cc9e2f45fcf15dd6463785d7fcd8c0f8970daeb7e4045e25491381be1f46d0743897e6613e43400fa218
EBUILD flexget-3.2.8.ebuild 5397 BLAKE2B 6c1ea034e26bc3263e4d4a8aee2ef3d9a0a773e537e434d4fb2cf80bbfe946a7030f26a656cca8bc7c1bede2deecb0305000efc0e7a5cd0dffdc4a4a27b5ab64 SHA512 227a22bd9c789576b9e56352970450c1ae97edc6cddb2f8f10bd434e1c0f29c27f305bf1f72bdf9e64f8885eb3f3bf6b86f62eaf46ad2ca2a842fb95da9fd476
EBUILD flexget-3.3.2.ebuild 5206 BLAKE2B 1e77c2aba2e7cb1f0ffed7f638230d13021c01faebba00d2a7e95d9caa08b14fc781a0c53ce0f4a9e0dacf9dea68a09963e5a5a2ca04638a592cfdcff13ac68f SHA512 9ac5ee3361353b76a84035008ed5172f107fa895f309550534dd8ef5c502cd61dd9b51731e8fb549bdd23fae19a93f09aa9aaea3a7ae56c1352fbd509bfa2b15
EBUILD flexget-3.3.21.ebuild 7201 BLAKE2B b5c3cb5f9f02cc7cd82ac09a6166e2c36a90abdb1dcf1568106dba020a757acaded2edc3f977b0c824c2578df837d1d76fc423221db4a111f8426c61266657ef SHA512 fa6609faa0a259e8bf28e8a33f8c501a737935f9885e9e267dbfb9721c80df7310a1f70447c7a24858c2f0d09e54fb9c89d7d9835a3447c7b75dbc33d75247d4
EBUILD flexget-3.3.3.ebuild 5368 BLAKE2B a393d273d923d4dbd748739bd06d14efeb7b69ee5b03cfa875ef1071d5672ac7c0fe84c91a7793227821f74afa277a65e30dad2541bc63a9c30dd9be3038bc0e SHA512 8c7a5865d646a58f102e3ae2e49ab4c4f9cc11d0b71b11b8de2568da47ee3a882c72ffa7aaec561ccea450f6d9eb03a96b20405ea446e566c67c635e158e16e5
MISC ChangeLog 559 BLAKE2B 43030b5c73d9efa71c0cd9b8e60d1d75908debd818fb880a3740b2f74764fccfd9e1e014453a3fe851addce9f57a701c53894279ef1801622d9e8b71900b62df SHA512 85e73780c6b8c9abfd16f66e9183c9d7a8a2bc06fdd6311d05572b316a3975dafbd29bfe6f872862b0d6d41e79fde99717df2dedac2be5eee76af58a2d387667