summaryrefslogtreecommitdiff
path: root/dev-python/importlib-resources
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-08-31 17:43:38 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-08-31 17:43:38 +0000
commit412a1aebf2d42bd445cbab49579ab78161cb6442 (patch)
tree431ce14376061c8493cbdf42b1ff1e4630a38a82 /dev-python/importlib-resources
parent89907c7305cab927d3baf32314224cc51dfeaa22 (diff)
downloadbaldeagleos-repo-412a1aebf2d42bd445cbab49579ab78161cb6442.tar.gz
baldeagleos-repo-412a1aebf2d42bd445cbab49579ab78161cb6442.tar.xz
baldeagleos-repo-412a1aebf2d42bd445cbab49579ab78161cb6442.zip
Adding metadata
Diffstat (limited to 'dev-python/importlib-resources')
-rw-r--r--dev-python/importlib-resources/Manifest1
-rw-r--r--dev-python/importlib-resources/files/importlib-resources-6.4.0-be.patch40
-rw-r--r--dev-python/importlib-resources/importlib-resources-6.4.0.ebuild35
3 files changed, 0 insertions, 76 deletions
diff --git a/dev-python/importlib-resources/Manifest b/dev-python/importlib-resources/Manifest
index f56449d4a77c..be0600098eea 100644
--- a/dev-python/importlib-resources/Manifest
+++ b/dev-python/importlib-resources/Manifest
@@ -1,4 +1,3 @@
-DIST importlib_resources-6.4.0.tar.gz 42040 BLAKE2B 55b52a42051c6900af7b5b70783476a48398ae02539871a3f508df08fd5b4ec03bbe40980de8cd49a60cc022905a4ffdfd95b55d70e0cfb5d64497b02cc9b88f SHA512 c600e7ba96431f15a929e5acda89a262ceef33a3f44ae361fad4201dde8033dd8f0f2bcb856619fd5e21209a5d17cf9ae3610e65c3e6ecd0e36545437d0064b9
DIST importlib_resources-6.4.2.tar.gz 41629 BLAKE2B 21bfb0af9421f49acce3209ec93016b69626a179d65f48066abea8792292506b739460675cc9c0ce552d11db261af409d5aa2bab2b7b16c3daab133873d3a353 SHA512 e3bb0e1ccf35fe36f805a97ff71cd82d9e55547baf1c6083bec07c2528cb1f11497926f76917cfba3924c04d6fd5753ccfbb912fdf08174c5b63f5f1a198acf5
DIST importlib_resources-6.4.3.tar.gz 42026 BLAKE2B 8a88825467bf558b4232ce4f1600ceda56b67283d93182d0144b5cabe6227bdf79e24a8fb6cef47d7cc59cc9cc293e70c7a2cd7ab1512a523f04cf167ac27cdb SHA512 23b6e8d37d2317cfe9d465f8083b6fa8826c34ec114844993556657b943ecca3b3d6e5f4ca958787d980ebd451e174b8e134f35445bdef085ca29b71c76e248e
DIST importlib_resources-6.4.4.tar.gz 42721 BLAKE2B 4e38bba910e2de9e53297151f6fd9a839534b7aca1a98c4c053c420eba4b137b7ca60a32dce84f3ed5c558e3bfbf3f90fea48f3e6e7e8921c2961756ef96eb04 SHA512 ffdd2cbe56ae308392e9fcadbd5822b68afd5737a78b04416e84a1ca294ce33f4f0df5ff5ee4e403f43064c9bf33df3d2742809d651295b536d0036f7359580c
diff --git a/dev-python/importlib-resources/files/importlib-resources-6.4.0-be.patch b/dev-python/importlib-resources/files/importlib-resources-6.4.0-be.patch
deleted file mode 100644
index a4c20249af4f..000000000000
--- a/dev-python/importlib-resources/files/importlib-resources-6.4.0-be.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 3167e4b9de35ea3010d84429b7eafb9a7c2afbb4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 10 Jul 2024 07:33:47 +0200
-Subject: [PATCH] Fix functional API tests to be endian-agnostic
-
-Fix the "backslashreplace" tests for the functional API to be
-endian-agnostic. The tests used to rely on `.encode("utf-16")`
-producing the same data as found in the test file. However, on big
-endian platforms it would produce a big endian encoding, while the test
-file is little endian. To avoid the problem, explicitly specify
-`utf-16-le` encoding. Since this meant that the BOM is no longer
-produced, explicitly include it in input.
-
-Fixes #312
----
- importlib_resources/tests/test_functional.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/importlib_resources/tests/test_functional.py b/importlib_resources/tests/test_functional.py
-index 69706cf..255bd13 100644
---- a/importlib_resources/tests/test_functional.py
-+++ b/importlib_resources/tests/test_functional.py
-@@ -82,7 +82,7 @@ def test_read_text(self):
- 'utf-16.file',
- errors='backslashreplace',
- ),
-- 'Hello, UTF-16 world!\n'.encode('utf-16').decode(
-+ '\ufeffHello, UTF-16 world!\n'.encode('utf-16-le').decode(
- errors='backslashreplace',
- ),
- )
-@@ -130,7 +130,7 @@ def test_open_text(self):
- ) as f:
- self.assertEqual(
- f.read(),
-- 'Hello, UTF-16 world!\n'.encode('utf-16').decode(
-+ '\ufeffHello, UTF-16 world!\n'.encode('utf-16-le').decode(
- errors='backslashreplace',
- ),
- )
diff --git a/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild
deleted file mode 100644
index f330b2dab003..000000000000
--- a/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-# backport from py3.12
-PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Read resources from Python packages"
-HOMEPAGE="
- https://github.com/python/importlib_resources/
- https://pypi.org/project/importlib-resources/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-
-BDEPEND="
- dev-python/setuptools-scm[${PYTHON_USEDEP}]
- test? (
- >=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}]
- >=dev-python/zipp-3.17[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests unittest
-
-PATCHES=(
- # https://github.com/python/importlib_resources/pull/313
- "${FILESDIR}/${P}-be.patch"
-)