diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
commit | d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch) | |
tree | 1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /dev-python/pid | |
parent | abaa75b10f899ada8dd05b23cc03205064394bc6 (diff) |
gentoo resync : 29.01.2021
Diffstat (limited to 'dev-python/pid')
-rw-r--r-- | dev-python/pid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pid/files/pid-2.2.5-fix_tests.patch | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/dev-python/pid/Manifest b/dev-python/pid/Manifest index a6bbe4732ca6..6781ddb88562 100644 --- a/dev-python/pid/Manifest +++ b/dev-python/pid/Manifest @@ -1,4 +1,3 @@ -AUX pid-2.2.5-fix_tests.patch 1186 BLAKE2B 6cf21aa8569696ae53d78bd3939fcd49b8426484a24aa35d1f0a943cd87c7a160a1b30d8481ff9fe5796e4bd0e02cc618c691fbd3273cbc88a9bfc974b6ed2fb SHA512 397b1af456b079b7db1448ef3a1d16097747e4581365a51f1c34d22ea6826abf458f6637b239b52751893364b3c1a51bd56d97eb673725e469a11561a6167ee3 DIST pid-3.0.4.tar.gz 16228 BLAKE2B 386565071646ff5b5152c52a8a0881f54369540abaf34a82be399d5e579c763df81553393a6d9a9659beeec5f6b531c74eef7cd13f6dc6f56ee76783863c52e9 SHA512 71656511a12a27fe0c7106cd82459484071fd7a0d34f187bfd2f59dc484b6a86f2ae840eb04609c5ffb2c1f18dafd831b02c0fee5015cf840e6a1f26f95ec495 EBUILD pid-3.0.4.ebuild 446 BLAKE2B 42240c551e2fbb599de44de1efaa1997770637a6d4bd882182673adad171ae68cd0bc45922c729f0e32e0e834a0f5d703a7b8b6ca95bafc21f204a189c56ec86 SHA512 e146bb32238294478de560b71c6f6951bf9be1dcc5e28dd8d1f48a95aeb5d156be3d4f11ceeb891de0e2d790ac4bbe857ab7c9965c9fd9633898a5efb30cbf05 MISC metadata.xml 560 BLAKE2B 5af715f7414da897d42890da7399e0eb94a6a9e565168490a30fe6869ea5377cd7c58dfbc1b130f2998752ba0fd2ff0dae9f98479ab22909dcc2b61f9c1abeb3 SHA512 3ca1077fa0948e659fe7673dd885ba306512f75b3706314919de74910482b99c112f4e1cdf2ada3ceff9ebf18bc72dfb46c263ce4da396e1400a6402757c2dcd diff --git a/dev-python/pid/files/pid-2.2.5-fix_tests.patch b/dev-python/pid/files/pid-2.2.5-fix_tests.patch deleted file mode 100644 index 3184e631ee77..000000000000 --- a/dev-python/pid/files/pid-2.2.5-fix_tests.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/tests/test_pid.py b/tests/test_pid.py -index 28fda19..99e2a29 100644 ---- a/tests/test_pid.py -+++ b/tests/test_pid.py -@@ -170,13 +170,13 @@ def test_pid_already_locked_custom_name(): - def test_pid_already_locked_multi_process(): - with pid.PidFile() as _pid: - s = ''' --import pid --with pid.PidFile("pytest", piddir="/tmp"): -+import os, pid, sys -+with pid.PidFile(os.path.basename(sys.argv[0]), piddir="/tmp"): - pass - ''' -- result = run(['python', '-c', s]) -+ result = run([sys.executable, '-c', s]) - returncode = result if isinstance(result, int) else result.returncode -- assert returncode == 1 -+ assert returncode == 0 - assert os.path.exists(_pid.filename) - assert not os.path.exists(_pid.filename) - -@@ -189,7 +189,7 @@ with pid.PidFile("pytest2", piddir="/tmp") as _pid: - assert os.path.exists(_pid.filename) - assert not os.path.exists(_pid.filename) - ''' -- result = run(['python', '-c', s]) -+ result = run([sys.executable, '-c', s]) - returncode = result if isinstance(result, int) else result.returncode - assert returncode == 0 - assert os.path.exists(_pid.filename) |