diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-21 13:54:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-21 13:54:09 +0000 |
commit | 454de691f3543d47dc89cd0b137eaa9ea4640cd3 (patch) | |
tree | 90ec469ff7d2e1b1fac0b0f98f32d49dacb30278 /dev-python/isort/files | |
parent | e393c0503a79342594a61547dc43f80f8bcc086e (diff) |
gentoo auto-resync : 21:12:2022 - 13:54:08
Diffstat (limited to 'dev-python/isort/files')
-rw-r--r-- | dev-python/isort/files/isort-5.11.3-sitepkg-junk.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/isort/files/isort-5.11.3-sitepkg-junk.patch b/dev-python/isort/files/isort-5.11.3-sitepkg-junk.patch new file mode 100644 index 000000000000..4843d330a89e --- /dev/null +++ b/dev-python/isort/files/isort-5.11.3-sitepkg-junk.patch @@ -0,0 +1,35 @@ +From a6fdbfd7d82df63c49dcc01b98d25110c0ff4caf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Wed, 21 Dec 2022 10:36:42 +0100 +Subject: [PATCH] Stop installing documentation files to top-level + site-packages + +Add `format = sdist` to `include` table values to prevent +the documentation files from being installed directly into +site-packages, i.e.: + + /usr/lib/python3.11/site-packages/CHANGELOG.md + /usr/lib/python3.11/site-packages/LICENSE + +Originally reported by Anna Vyalkova on https://bugs.gentoo.org/887569. +--- + pyproject.toml | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index eaeafb90..b0608a58 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -34,9 +34,9 @@ classifiers = [ + urls = { Changelog = "https://github.com/pycqa/isort/blob/main/CHANGELOG.md" } + include = [ + { path = "tests", format = "sdist" }, +- { path = "ACKNOWLEDGEMENTS.md" }, +- { path = "CHANGELOG.md" }, +- { path = "LICENSE" }, ++ { path = "ACKNOWLEDGEMENTS.md", format = "sdist" }, ++ { path = "CHANGELOG.md", format = "sdist" }, ++ { path = "LICENSE", format = "sdist" }, + ] + + [tool.poetry.dependencies] |