diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/pylint | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/pylint')
-rw-r--r-- | dev-python/pylint/Manifest | 15 | ||||
-rw-r--r-- | dev-python/pylint/files/pylint-2.5.3-tests.patch | 12 | ||||
-rw-r--r-- | dev-python/pylint/pylint-2.7.1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pylint/pylint-2.7.2-r1.ebuild (renamed from dev-python/pylint/pylint-2.7.2.ebuild) | 5 | ||||
-rw-r--r-- | dev-python/pylint/pylint-2.7.4.ebuild (renamed from dev-python/pylint/pylint-2.6.2.ebuild) | 26 | ||||
-rw-r--r-- | dev-python/pylint/pylint-2.8.0.ebuild | 69 | ||||
-rw-r--r-- | dev-python/pylint/pylint-2.8.1.ebuild | 63 | ||||
-rw-r--r-- | dev-python/pylint/pylint-2.8.2.ebuild | 67 |
8 files changed, 225 insertions, 34 deletions
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 6b101ddb019b..38d1242f0b13 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,9 +1,14 @@ AUX pylint-2.4.4-sphinx-theme.patch 468 BLAKE2B 741a362b51d35f574b245b4df81309b1b08be7a38ca7fd5c04d6c9ce39bc830e32531a29103d1261d9fea6eecf5f52fb1d4cf74ab0ec3bda5f6299e4edfecf94 SHA512 7f1896819d4f2766a83ce2600754d7a698ce13388de9127e83b42b76b332ae5eb54eb538b9dd5d81dafe1cd5798e703c1f3fd7fa318a8582aa7c2c0db7cc7a30 -AUX pylint-2.5.3-tests.patch 455 BLAKE2B 608ec913ea9d8088c3e7303026339eca69cbf706601ccb841642eef83ae9eccb7d6863da6c7957f9f49a81f24d17e72d835c3740ef177ced6356bec7510a0221 SHA512 dd1930e47dc342cb76fe55fad22cde3b4d5935a62c62d740b75e27701606bb8d5513b8f2c9e2f3116c0456a545a2c56f6d75b87903e2cdec1df97e4b8ed1b532 -DIST pylint-2.6.2.tar.gz 680364 BLAKE2B 59bd18d5458f86a7279a7fc895f1564fc575c27e7ad7b4a668456d6005cc2a4d920e2221c2ec3f447c1c63376e1b35f1e1c5177c355f52872d3c556aa63ae462 SHA512 75e88aea23e4e68714451d22b0a6a2106a4821c05cdd7d077e12ea7f6198959ebdace6824b1e2fb42a632051e049a2c84eb93990a7b6af23c7fee7e2f56bf6ec DIST pylint-2.7.1.tar.gz 708916 BLAKE2B 606637ff25daccba741ae5bcdecb6a2be50bc17393009193a29312b4a218622d23287a0f0c5a81e79e77cc54dfe529483ad01fa39445103f240addaa3ad58bf7 SHA512 eebf1d3da5ca072cb912ecffebf183c79f2f8b2c2b14044751aad202d75d06d1c06abb561d4581990b92fe54c06b570a1de39b792b0d729cf300c01c82c4e3c0 DIST pylint-2.7.2.tar.gz 709177 BLAKE2B 5e4daeb19b6b18d570f4d78b01cc5023d5d245840160fdbddb194ab7036118742ffe3075ee27c37bd7a700d11d9006dc9abaaba9cf9596ae1b63941f139da7ac SHA512 800b210fbe5665db390d5c885d103856dc474b4e43d2f752bdcfcea36121132c26eecdcb67620c4a90456823f11a33568de4d37d59eea692dcd1751d931420f7 -EBUILD pylint-2.6.2.ebuild 1594 BLAKE2B 5366dede47d8cc419a23382872e7938ff1922e9b2dfa31a342d82108622a044b52604428c1c65533ae967a7aba0af1364c8de3ceb20517c7b506aa5f987d83ed SHA512 56cc68bbaee4a335dc38072b176dd58eeea72757b127b99590c8743ba5973c14f6da8f9f1aa5d708fb68805157e1c2858c0e33bb261bfdba698c9909370f5718 -EBUILD pylint-2.7.1.ebuild 1727 BLAKE2B e07d6f741c58a76124132176c4f6332c9d3f9bb103befb18f76814c5cad9bd6c79e3e90f7e694ef972b19fdd3379c15bb32925b5da8cfff07e5e2504b664a4c5 SHA512 cd3b03bc30673c727d2e8af8fab9e09e87535b613e4e43a66cb3ecf40d7859f14a264cafdeb06af4f8be5bc531076448c15676e462fe017bb6fa01df99b465b0 -EBUILD pylint-2.7.2.ebuild 1773 BLAKE2B 68e534aafd63231a8c0e6ace09da37f9fc56980dcf86ed284e906915d0aa26cd0e028788da442fb0faf95d52ad24513fedf9ce28441bed36e5a3af9814214804 SHA512 4eec70ae69c69be749f335f555753ce067b05ea9873a8b7c49e549369a67757768632429c52f085271a338bb4925af0d9e4a9f23bfb9c63aaf6622e8fa96a073 +DIST pylint-2.7.4.tar.gz 715507 BLAKE2B 141506c067195422d0b052924baf87c363c89e28b3279f5173d989ac9247163184840251bd05dfb7dbb765f7b2e921a851fde0323b6c4cc231bc58911c77f692 SHA512 2b7ec9ab3325209021cb0282a6dacabf7ddd1f5e4049157610015ac8c11413471defc9e0528f81e1a60c2b259260f1bde1d04286776b3f32f771968b9866d734 +DIST pylint-2.8.0.tar.gz 734325 BLAKE2B 479c6f409a7da46d8416c4c06f76937b70ddbffab64d57a9107f9b04283fa985186684d3d146c5ca585a0e8e9369d28e4fbeb5f53262662d94edd862694dd4fa SHA512 d4f6b6c6046265beb0e17b8d375d2604a889bf9b6569d4dae9cdec3f92c8c76d440f6527c9d42f7197a73d4a65fab73f57e5ab99c98d40681119eb051b117211 +DIST pylint-2.8.1.tar.gz 734583 BLAKE2B eb28c54a952c87f9cf59d18956dbc632ff89f4d3a91423a84ee3d4468e5af5fe7fcf37288964af0f36884bc0c46d400e2414bbf114a4a06f75a5c8da50ba9030 SHA512 ec8710396f07cdec8a395748ffda403a1f3fbd00094a1ad32e976c52be946c08b9e32521205dc165a0284467c68d9f467be40d141907bcd148b94e285eeca606 +DIST pylint-2.8.2.gh.tar.gz 734667 BLAKE2B 1525273298f39163de4db7946a749768cb9bcf7e11f89791944ccb5fb8d0918eedfc80d5e559d33934d468dd5781d4cb4921b9407daf2842613a8e3ba7d134e0 SHA512 7023603668f540ecc0b35f3289377855c4c0df01e04a9af255f5c8031f568f6b76508bb3a7f0aba8e76a86b63eae423908c30f47258d6dee46bb23320c952701 +EBUILD pylint-2.7.1.ebuild 1720 BLAKE2B f98e10d24b806675f5fba8f4aa8624277609feef6ebcb3688b01c5012e3916ae5ee4103b0e18c1b0d7508c2e42c4ce77131c39fdde17e17972f4925fec6992b9 SHA512 6a81bdef4de277f0c3a74fcc75a49a389783db0c4d41fa0a2650a497b78d28d8776806d4dda04e589b9b94a57b550f51a40b886c60e5c822867ed2cf6f341520 +EBUILD pylint-2.7.2-r1.ebuild 1602 BLAKE2B a0fdcbec0d8029fc048192ad82db384414f170a2ab7365dbb462b359ab821ba08d4b6206854347b0a7bd12e29f28a0c50a9dccd48abdd1ba86ba6415a507b206 SHA512 62685c0b9c997d1e6f8ab1586f03db333b967e4fb0552dff9e394f759b4b40753260eee80148c3dd13415b8cc8f4330a76bb13be86ee61dad209ad7c6ce45914 +EBUILD pylint-2.7.4.ebuild 1651 BLAKE2B e5f5fdaba97c6dabbcca84f4c0c3f4d5c13aeaa93ff6f7d67e746d828b90405c5069e3d4b9f3793ec80a8f64f866fb71d32388634f40df69b01c24bfb52394ad SHA512 173fd962ad159c4814d8b17aa3a074df6bb69f9cc115028ec52d2a6d2426000455ba1023592e4475f114b26f15419c7c051cb4bbc9ab24356f4631573f5c7dc9 +EBUILD pylint-2.8.0.ebuild 1948 BLAKE2B 799e68e529411b21d3efb0e11ca478ce145c9aea78789dbf4d3b6932dcc603cc57e3d0285684f3fc57dd6649636ec6251c134a93a6d4891f2350989633d65cf2 SHA512 912077d77839377a0c0536eb18aa2ac130c89c8d92c598c3e6e065945450a5077434f6970020a22c16a1fda396ce39c08a34d3114927029163ecfb8a85414bfa +EBUILD pylint-2.8.1.ebuild 1649 BLAKE2B 659171094296ee7a0701db59ccf2d4cb3373a080fc8d8b95ed270d91850618588044d850728b1ff758ed51915b0f2519454dc7766146ab5c3273ce560df137f7 SHA512 1daea178f52b03adae8a82bee1f17360fb640fcb4da66e8f117e9eb12ef33222fd8e01f110240a00c4c050aed34d29e028889ff6b34a8a4c4d51633cd0311348 +EBUILD pylint-2.8.2.ebuild 1747 BLAKE2B 243626aba4e5df24bb776fdf03fe04b9f9341f91d4767eb3da71678f9e704f019e8bf68dba584f07fa47faa62c32359e67c580645a958e61c1de5a399c3991bd SHA512 50ef3c0a64a1596ed2761a54b6bdafecc64eb7802307db6ee4a3c942b8fddee9d3e376c5bcb892f7fba6ceb9efe5563d6d1fd1d59f5ecd4579df2b66415047eb MISC metadata.xml 1099 BLAKE2B 11aa1f9ede89bc8c27e520c8fe9a8219aeff70c1f456dedcc816217fcff1ec67ecc41a528c93365cef316ec863466b706d4709dcc1237a3aae4edb792e2be7b5 SHA512 d2b4e51b129d7c83727310da44ca9385e81fdaeb350f63560a6a328308bcdcb939ec4e570b02e255fe6c8f68cabeb0d651994058b385598380edb42932785ad5 diff --git a/dev-python/pylint/files/pylint-2.5.3-tests.patch b/dev-python/pylint/files/pylint-2.5.3-tests.patch deleted file mode 100644 index 72a42e4caaeb..000000000000 --- a/dev-python/pylint/files/pylint-2.5.3-tests.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/tests/test_self.py b/tests/test_self.py -index 6c27fd6c..9fde0214 100644 ---- a/tests/test_self.py -+++ b/tests/test_self.py -@@ -686,6 +686,7 @@ class TestRunTC: - ) - - @staticmethod -+ @pytest.mark.skip("seems to be failing to import nonexistant module") - def test_do_not_import_files_from_local_directory(tmpdir): - p_astroid = tmpdir / "astroid.py" - p_astroid.write("'Docstring'\nimport completely_unknown\n") diff --git a/dev-python/pylint/pylint-2.7.1.ebuild b/dev-python/pylint/pylint-2.7.1.ebuild index 48b79b75f0cf..ecd28c413561 100644 --- a/dev-python/pylint/pylint-2.7.1.ebuild +++ b/dev-python/pylint/pylint-2.7.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" IUSE="examples" # Mirror requirements from pylint/__pkginfo__.py diff --git a/dev-python/pylint/pylint-2.7.2.ebuild b/dev-python/pylint/pylint-2.7.2-r1.ebuild index e6b283ca3cff..152e9041ad9c 100644 --- a/dev-python/pylint/pylint-2.7.2.ebuild +++ b/dev-python/pylint/pylint-2.7.2-r1.ebuild @@ -23,7 +23,7 @@ IUSE="examples" # Mirror requirements from pylint/__pkginfo__.py RDEPEND=" <dev-python/astroid-2.6[${PYTHON_USEDEP}] - >=dev-python/astroid-2.5.1[${PYTHON_USEDEP}] + >=dev-python/astroid-2.5.2[${PYTHON_USEDEP}] >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] <dev-python/isort-6[${PYTHON_USEDEP}] >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] @@ -45,9 +45,6 @@ distutils_enable_tests pytest python_test() { local skipped_tests=( - # Fails when PYTHONPATH ends with a colon - # https://github.com/PyCQA/pylint/issues/3636 - tests/test_self.py::TestRunTC::test_do_not_import_files_from_local_directory # No need to run the benchmarks tests/benchmark/test_baseline_benchmarks.py ) diff --git a/dev-python/pylint/pylint-2.6.2.ebuild b/dev-python/pylint/pylint-2.7.4.ebuild index 387a8d2c4933..def4ed8778bd 100644 --- a/dev-python/pylint/pylint-2.6.2.ebuild +++ b/dev-python/pylint/pylint-2.7.4.ebuild @@ -3,12 +3,11 @@ EAPI=7 -# Not ready for Python 3.9 yet: https://github.com/PyCQA/pylint/issues/3895 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE="threads(+)" DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 optfeature +inherit distutils-r1 DESCRIPTION="Python code static checker" HOMEPAGE="https://www.logilab.org/project/pylint @@ -18,13 +17,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="examples" # Mirror requirements from pylint/__pkginfo__.py RDEPEND=" - >=dev-python/astroid-2.4.0[${PYTHON_USEDEP}] - <dev-python/astroid-2.5[${PYTHON_USEDEP}] + <dev-python/astroid-2.6[${PYTHON_USEDEP}] + >=dev-python/astroid-2.5.2[${PYTHON_USEDEP}] >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] <dev-python/isort-6[${PYTHON_USEDEP}] >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] @@ -39,17 +38,20 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" - "${FILESDIR}/${PN}-2.5.3-tests.patch" ) distutils_enable_sphinx doc --no-autodoc distutils_enable_tests pytest -python_prepare_all() { - # we don't want to run the benchmarking tests - rm -f tests/benchmark/test_baseline_benchmarks.py || die - - distutils-r1_python_prepare_all +python_test() { + local skipped_tests=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + # Fails when graphviz is installed (?!) + tests/test_import_graph.py::test_missing_graphviz + ) + # Specify the test directory explicitly to avoid import file mismatches + epytest tests ${skipped_tests[@]/#/--deselect } } python_install_all() { diff --git a/dev-python/pylint/pylint-2.8.0.ebuild b/dev-python/pylint/pylint-2.8.0.ebuild new file mode 100644 index 000000000000..9197c0f768e1 --- /dev/null +++ b/dev-python/pylint/pylint-2.8.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint/" +SRC_URI=" + https://github.com/pycqa/pylint/archive/${P}.tar.gz" +S=${WORKDIR}/${PN}-${P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-2.7[${PYTHON_USEDEP}] + >=dev-python/astroid-2.5.2[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7[${PYTHON_USEDEP}] + >=dev-python/toml-0.7.1[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" +) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +python_test() { + local skipped_tests=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + # Fails when graphviz is installed (?!) + tests/test_import_graph.py::test_missing_graphviz + # TODO + 'tests/lint/unittest_expand_modules.py::test_expand_modules[files_or_modules1-expected1]' + ) + [[ ${EPYTHON} == python3.8 ]] && skipped_tests+=( + # TODO + 'tests/test_functional.py::test_functional[typing_deprecated_alias]' + 'tests/test_functional.py::test_functional[typing_consider_using_alias]' + 'tests/test_functional.py::test_functional[typing_consider_using_alias_without_future]' + ) + # Specify the test directory explicitly to avoid import file mismatches + epytest tests ${skipped_tests[@]/#/--deselect } +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/pylint-2.8.1.ebuild b/dev-python/pylint/pylint-2.8.1.ebuild new file mode 100644 index 000000000000..4f033ab1f2c7 --- /dev/null +++ b/dev-python/pylint/pylint-2.8.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint/" +SRC_URI=" + https://github.com/pycqa/pylint/archive/${P}.tar.gz" +S=${WORKDIR}/${PN}-${P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-2.7[${PYTHON_USEDEP}] + >=dev-python/astroid-2.5.6[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7[${PYTHON_USEDEP}] + >=dev-python/toml-0.7.1[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" +) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +python_test() { + local skipped_tests=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + # Fails when graphviz is installed (?!) + tests/test_import_graph.py::test_missing_graphviz + # TODO + 'tests/lint/unittest_expand_modules.py::test_expand_modules[files_or_modules1-expected1]' + ) + # Specify the test directory explicitly to avoid import file mismatches + epytest tests ${skipped_tests[@]/#/--deselect } +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/pylint-2.8.2.ebuild b/dev-python/pylint/pylint-2.8.2.ebuild new file mode 100644 index 000000000000..e47c80f8b64a --- /dev/null +++ b/dev-python/pylint/pylint-2.8.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python code static checker" +HOMEPAGE="https://www.logilab.org/project/pylint + https://pypi.org/project/pylint/ + https://github.com/pycqa/pylint/" +SRC_URI=" + https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-2.7[${PYTHON_USEDEP}] + >=dev-python/astroid-2.5.6[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7[${PYTHON_USEDEP}] + >=dev-python/toml-0.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" +) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local skipped_tests=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + # Fails when graphviz is installed (?!) + tests/test_import_graph.py::test_missing_graphviz + # TODO + 'tests/lint/unittest_expand_modules.py::test_expand_modules[files_or_modules1-expected1]' + ) + # Specify the test directory explicitly to avoid import file mismatches + epytest tests ${skipped_tests[@]/#/--deselect } +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} |