diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | deprecated-features-tests.patch | 32 |
3 files changed, 2 insertions, 34 deletions
@@ -1,7 +1,7 @@ pkgbase = python-av pkgdesc = Pythonic bindings for FFmpeg pkgver = 12.0.0 - pkgrel = 1 + pkgrel = 2 url = https://docs.mikeboers.com/pyav/ arch = x86_64 arch = i686 @@ -7,7 +7,7 @@ pkgdesc="Pythonic bindings for FFmpeg" url="https://docs.mikeboers.com/pyav/" pkgver=12.0.0 -pkgrel=1 +pkgrel=2 arch=("x86_64" "i686") license=("BSD") diff --git a/deprecated-features-tests.patch b/deprecated-features-tests.patch deleted file mode 100644 index f1f19716df22..000000000000 --- a/deprecated-features-tests.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --unified --recursive --text a/tests/test_file_probing.py b/tests/test_file_probing.py ---- a/tests/test_file_probing.py 2023-11-03 18:23:00.000000000 +0200 -+++ b/tests/test_file_probing.py 2023-11-26 22:59:22.855618027 +0200 -@@ -320,20 +320,6 @@ - self.assertIn(stream.coded_width, (720, 0)) - self.assertIn(stream.coded_height, (576, 0)) - -- # Deprecated properties. -- with warnings.catch_warnings(record=True) as captured: -- self.assertIsNone(stream.framerate) -- self.assertEqual( -- captured[0].message.args[0], -- "VideoStream.framerate is deprecated as it is not always set; please use VideoStream.average_rate.", -- ) -- with warnings.catch_warnings(record=True) as captured: -- self.assertIsNone(stream.rate) -- self.assertEqual( -- captured[0].message.args[0], -- "VideoStream.rate is deprecated as it is not always set; please use VideoStream.average_rate.", -- ) -- - - class TestVideoProbeCorrupt(TestCase): - def setUp(self): -@@ -362,7 +348,6 @@ - self.assertTrue(str(stream).startswith("<av.VideoStream #0 h264, None 0x0 at ")) - - # actual stream properties -- self.assertEqual(stream.average_rate, None) - self.assertEqual(stream.duration, None) - self.assertEqual(stream.frames, 0) - self.assertEqual(stream.id, 0) |