From 6be62d3385d19dc18bd0a3017270bcbab7cae0c0 Mon Sep 17 00:00:00 2001 From: mcepl <> Date: Wed, 4 Dec 2024 14:27:47 +0000 Subject: [PATCH] Update python-ipython_genutils to version 0.2.0 / rev 6 via SR 1228245 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://build.opensuse.org/request/show/1228245 by user mcepl + anag+factory - Fix denose.patch according to advice by Miro Hrončok on gh#ipython/ipython_genutils#17. --- packages/p/python-ipython_genutils/.files | Bin 263 -> 263 bytes packages/p/python-ipython_genutils/.rev | 10 +++++++ .../p/python-ipython_genutils/denose.patch | 26 ++++++++++-------- .../python-ipython_genutils.changes | 6 ++++ 4 files changed, 30 insertions(+), 12 deletions(-) diff --git a/packages/p/python-ipython_genutils/.files b/packages/p/python-ipython_genutils/.files index ce8386d01ad5a4952bdbc47fad15a62e95cfe8af..2050af70eb62acfae4e7a10f141e98582f5a6aa1 100644 GIT binary patch delta 105 zcmWN{u@QqX3;;kMAq~k8Opudo*)j!P7LjH9QUP~n2Wm#hrttM2-O1g~=z1lB|~q#MvoozG1+KjOV{z DMRgmv delta 105 zcmWN{u@QqX3;;kMAq`;&Cdf&aCCf#+OppzPu`gBN4tAhs1U4mK|K9A)V_7%2cQ@x; zd%WJC%qiu_Kw}`3pamy|Xe?yvMg0HuQ~Awnc`ml)Z#Niuh{#n~lSc|B8Vm$cGMiO9 G&UyhMI~t?_ diff --git a/packages/p/python-ipython_genutils/.rev b/packages/p/python-ipython_genutils/.rev index 12ee7dde6ac..08462968615 100644 --- a/packages/p/python-ipython_genutils/.rev +++ b/packages/p/python-ipython_genutils/.rev @@ -42,4 +42,14 @@ This version adds a specific requirement for Python 2.7, since it won't even bui - Build PEP517 wheel 1155324 + + 23849f7748d1b555a2d595d5b44b7547 + 0.2.0 + + anag+factory + - Fix denose.patch according to advice by Miro Hrončok on + gh#ipython/ipython_genutils#17. + + 1228245 + diff --git a/packages/p/python-ipython_genutils/denose.patch b/packages/p/python-ipython_genutils/denose.patch index 82674680fd7..c99da189be6 100644 --- a/packages/p/python-ipython_genutils/denose.patch +++ b/packages/p/python-ipython_genutils/denose.patch @@ -1,9 +1,9 @@ --- - ipython_genutils/testing/decorators.py | 80 ++-------------------------- - ipython_genutils/tests/test_importstring.py | 12 ++-- - ipython_genutils/tests/test_path.py | 23 +++----- + ipython_genutils/testing/decorators.py | 85 ++-------------------------- + ipython_genutils/tests/test_importstring.py | 12 +-- + ipython_genutils/tests/test_path.py | 31 ++++------ ipython_genutils/tests/test_text.py | 16 +---- - 4 files changed, 29 insertions(+), 102 deletions(-) + 4 files changed, 33 insertions(+), 111 deletions(-) --- a/ipython_genutils/testing/decorators.py +++ b/ipython_genutils/testing/decorators.py @@ -186,7 +186,7 @@ def test_filefind(): -@@ -22,20 +19,24 @@ def test_filefind(): +@@ -22,42 +19,42 @@ def test_filefind(): def test_ensure_dir_exists(): @@ -204,17 +204,19 @@ class TestLinkOrCopy(object): -+ def __init__(self): -+ self.tempdir = None -+ self.src = None -+ - def setUp(self): +- def setUp(self): - self.tempdir = TemporaryDirectory() ++ def setup_method(self): + self.tempdir = tempfile.TemporaryDirectory() self.src = self.dst("src") with open(self.src, "w") as f: f.write("Hello, world!") -@@ -47,17 +48,17 @@ class TestLinkOrCopy(object): + +- def tearDown(self): ++ def teardown_method(self): + self.tempdir.cleanup() + + def dst(self, *args): return os.path.join(self.tempdir.name, *args) def assert_inode_not_equal(self, a, b): @@ -237,7 +239,7 @@ @skip_win32 def test_link_successful(self): -@@ -105,4 +106,4 @@ class TestLinkOrCopy(object): +@@ -105,4 +102,4 @@ class TestLinkOrCopy(object): path.link_or_copy(self.src, dst) path.link_or_copy(self.src, dst) self.assert_inode_equal(self.src, dst) diff --git a/packages/p/python-ipython_genutils/python-ipython_genutils.changes b/packages/p/python-ipython_genutils/python-ipython_genutils.changes index 82473090469..ab27ed739b9 100644 --- a/packages/p/python-ipython_genutils/python-ipython_genutils.changes +++ b/packages/p/python-ipython_genutils/python-ipython_genutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 4 09:29:09 UTC 2024 - Matej Cepl + +- Fix denose.patch according to advice by Miro Hrončok on + gh#ipython/ipython_genutils#17. + ------------------------------------------------------------------- Tue Mar 5 18:26:09 UTC 2024 - Ben Greiner