commit: 87810189eb7a315ce3bcf6c44ca3bddca87e101d Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Mar 20 02:01:35 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sun Mar 20 02:01:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87810189
dev-python/pypandoc: don't install examples Closes: https://bugs.gentoo.org/835475 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> .../pypandoc-1.7.4-dont-install-examples.patch | 23 ++++++++++++++++++++++ dev-python/pypandoc/pypandoc-1.7.4.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch b/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch new file mode 100644 index 000000000..2e84756c8 --- /dev/null +++ b/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch @@ -0,0 +1,23 @@ +From 44fa67fc92993301ec3e446d342a74c49d58334c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= <[email protected]> +Date: Fri, 18 Mar 2022 08:41:08 +0500 +Subject: [PATCH] Don't install examples + +See Gentoo Bugzilla: https://bugs.gentoo.org/835475 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -32,14 +32,6 @@ packages = [ + { include = "pypandoc" }, + ] + +-include = [ +-"examples/*", +-"LICENSE", +-"README.md", +-"tests.py", +-"filter_test.md", +-] +- + [tool.poetry.dependencies] + python = "^2.7 || ^3.6" + diff --git a/dev-python/pypandoc/pypandoc-1.7.4.ebuild b/dev-python/pypandoc/pypandoc-1.7.4.ebuild index 4e5cda380..e58e3e7bd 100644 --- a/dev-python/pypandoc/pypandoc-1.7.4.ebuild +++ b/dev-python/pypandoc/pypandoc-1.7.4.ebuild @@ -32,6 +32,7 @@ DEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] " +PATCHES=( "${FILESDIR}/${P}-dont-install-examples.patch" ) PROPERTIES="test_network" RESTRICT="test"
