From a18f8581f716592db51c45679c46e319db13ca29 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 14 Mar 2023 12:18:12 +0000 Subject: gentoo auto-resync : 14:03:2023 - 12:18:11 --- media-libs/aubio/Manifest | 3 ++- media-libs/aubio/aubio-0.4.9-r2.ebuild | 3 ++- .../aubio-0.4.9-remove-universal-newlines.patch | 31 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch (limited to 'media-libs/aubio') diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest index 287e0b9695ed..f052b8a41fd1 100644 --- a/media-libs/aubio/Manifest +++ b/media-libs/aubio/Manifest @@ -1,5 +1,6 @@ AUX aubio-0.4.9-docdir.patch 1192 BLAKE2B 617f5a63d51440eba157687b752822b3e14316781d3534c63194c9bef214574f195d3dfb949fc357862c7ddab01e0f9bb58ea54a75dac4c90f27a24f0c1cf477 SHA512 dffe872bd5c63eb874f00b1303e63f241d9b349d5f32fbf34b659b6211cc9cc828784bb3f5ddd2210c9e6b8459a73e842988bad4474b19e319145971de138526 +AUX aubio-0.4.9-remove-universal-newlines.patch 1198 BLAKE2B 9cd5a5b3880075706938df7c008c6dc160e48402b0cfddf41f7d248c4d0e91a7531a1e87b40d51569220d720b679126ab02693588c4bf4a8c9b12af2a8653665 SHA512 0675f850ddbff6857b1fb7cc6a0f6f5188436fdf74e6c4c123d734e02eee82a0914edf26d2a99351dca4ff9b9a4715d86b24a747746d2b1c4bf4ea7d2cdaf2f1 AUX ffmpeg5.patch 745 BLAKE2B f353faf80b4fdfb26b2d8a135ab0415ac3f6780a2b5894e18b12e137fb109b1b89b4c8500f8dc1e809d763f851ce186f199f32c680a80c816f40ece997639d0f SHA512 8eeeac40bbf4e1faf7a99d2cbfe4a7b3bc85b5b5927c7bf69ef774ad06fcedcb0a84296dce7300f4907b2ca16525e6db854acad371d788c7f5fb7bd4a94efc86 DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301 SHA512 0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130 -EBUILD aubio-0.4.9-r2.ebuild 3121 BLAKE2B 8b7b082abdf85ad0b4072379aaa38d137f2c028fda07886154d75900ce4045c05271024834138de15156e931c48569fdf3058b49b847cf751fb65daa9ac63acf SHA512 f311674a941564373fad7987a85711d6f7b202152f18c0725c2a460c3ead3dc5a2c6e614671c5a466d2613dfda529630634c7846afa0d628dcd487e80069face +EBUILD aubio-0.4.9-r2.ebuild 3180 BLAKE2B 28af9faf4e4e885e6f4b717f7b03190542b0283aff54cff4760f8ee3caffcbc2f03684e9790e2eeb523c0c3183e8a97be62ef257fac31ac289989b0b234f87ec SHA512 d73f4e3714ef3e49c821c62557cbe50db1fd72d88c872e0b9a58bbf30ddd59548e9c6061a8e3a84a8b354faf390db33f07f501eb8d033dda020321ab9e4c411d MISC metadata.xml 424 BLAKE2B 427627520c0e31649dc3bfa4011cb80b48cac5bc2ba6bea55812b033b1a92e2a07477729f83057ae0c213c82ed20899e05978e6968db3d3ff166e153c4b1c1ea SHA512 a9cb14aef216e074f21616493f1a9276c43f05709b14492de8cbd90d4f19878bc9f905545327985639f05ee75234d11689eba519f88c6bafaa8b848bd887178d diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild b/media-libs/aubio/aubio-0.4.9-r2.ebuild index d352834990c5..8cd665ace6bd 100644 --- a/media-libs/aubio/aubio-0.4.9-r2.ebuild +++ b/media-libs/aubio/aubio-0.4.9-r2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE='threads(+)' inherit distutils-r1 waf-utils @@ -52,6 +52,7 @@ PYTHON_SRC_DIR="${S}" PATCHES=( "${FILESDIR}"/${PN}-0.4.9-docdir.patch "${FILESDIR}"/ffmpeg5.patch + "${FILESDIR}"/${PN}-0.4.9-remove-universal-newlines.patch ) src_prepare() { diff --git a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch new file mode 100644 index 000000000000..304dae7afc5b --- /dev/null +++ b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch @@ -0,0 +1,31 @@ +--- aubio-0.4.9/waflib/ConfigSet.py 2023-03-07 16:02:26.109510883 -0500 ++++ aubio-0.4.9/waflib/ConfigSet.py 2023-03-07 16:05:12.892415156 -0500 +@@ -146,7 +146,7 @@ class ConfigSet(object): + Utils.writef(filename,''.join(buf)) + def load(self,filename): + tbl=self.table +- code=Utils.readf(filename,m='rU') ++ code=Utils.readf(filename,m='r') + for m in re_imp.finditer(code): + g=m.group + tbl[g(2)]=eval(g(3)) +--- aubio-0.4.9/waflib/Context.py 2023-03-07 16:02:26.109510883 -0500 ++++ aubio-0.4.9/waflib/Context.py 2023-03-07 16:05:20.764245554 -0500 +@@ -106,7 +106,7 @@ class Context(ctx): + cache[node]=True + self.pre_recurse(node) + try: +- function_code=node.read('rU',encoding) ++ function_code=node.read('r',encoding) + exec(compile(function_code,node.abspath(),'exec'),self.exec_dict) + finally: + self.post_recurse(node) +@@ -346,7 +346,7 @@ def load_module(path,encoding=None): + pass + module=imp.new_module(WSCRIPT_FILE) + try: +- code=Utils.readf(path,m='rU',encoding=encoding) ++ code=Utils.readf(path,m='r',encoding=encoding) + except EnvironmentError: + raise Errors.WafError('Could not read the file %r'%path) + module_dir=os.path.dirname(path) -- cgit v1.2.3