From b1f2cdf56e5eea363adc4c1ea1bd418f65733a7a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Aug 2022 14:36:42 +0100 Subject: gentoo auto-resync : 19:08:2022 - 14:36:41 --- dev-python/clikit/Manifest | 6 +++-- dev-python/clikit/clikit-0.6.2-r1.ebuild | 43 ++++++++++++++++++++++++++++++++ dev-python/clikit/clikit-0.6.2.ebuild | 14 ++++++----- dev-python/clikit/metadata.xml | 4 +++ 4 files changed, 59 insertions(+), 8 deletions(-) create mode 100644 dev-python/clikit/clikit-0.6.2-r1.ebuild (limited to 'dev-python/clikit') diff --git a/dev-python/clikit/Manifest b/dev-python/clikit/Manifest index 0e45adcdd88c..9a37b8d3eb2f 100644 --- a/dev-python/clikit/Manifest +++ b/dev-python/clikit/Manifest @@ -1,3 +1,5 @@ +DIST clikit-0.6.2.gh.tar.gz 72115 BLAKE2B b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27 SHA512 6f6e436b2161349ce03c705df594e564dbc594b03370dfd62e3b1c8f2accbbc12a1cda881ca392a096435ee243e4f772589ce6f6dfbd3af63d1656d49c3fcb04 DIST clikit-0.6.2.tar.gz 72115 BLAKE2B b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27 SHA512 6f6e436b2161349ce03c705df594e564dbc594b03370dfd62e3b1c8f2accbbc12a1cda881ca392a096435ee243e4f772589ce6f6dfbd3af63d1656d49c3fcb04 -EBUILD clikit-0.6.2.ebuild 851 BLAKE2B f088a0f346008b53ba0555496e5aab81158417bbfe82aa6e2d5af41a5fd4bb90fa597adf23cc834e2a35b597e6d9c2435b575009e7b936bfc6967bd6767f0166 SHA512 74b902ea215c672b3bc07163b4368880faab40ba7a4965154511fd007c68d9f2267918298baeba24dae5511a51b8ffae3c8f3ed180f178e6dbe6a36f0d5f9466 -MISC metadata.xml 410 BLAKE2B d41047e98bdbd0345d6091af448d4c195b9d8858a8cfeba5bf8ed1cf2f999838672f12fe3210a237e4a2fb4dc274aff10cc12724e1d2a570deb8d4e8eb8728d6 SHA512 62374193aa556621d5e225d7121f770d871eb8a1f63c1576622101402426ee7ea4d77264d2b8290f1d2605d492224f6c4bd15ffdf4941a0e519db36836f76652 +EBUILD clikit-0.6.2-r1.ebuild 884 BLAKE2B 66910cc885e46759f5c8407bca321bcbf1f3a2cadc79b784d602687c2b58088cbc507a507656100ae64339f9a5dd62bd79eaa964f6abd2a835866a98d3483a5c SHA512 b239589c470f9f0d03478591dcf49c47c63935778f0cc1fbabb1c3138e0b4ad20720dae4dea95582f59bd9d82c5a49b94053f765e4654682b41de7911ebff947 +EBUILD clikit-0.6.2.ebuild 883 BLAKE2B 53896c9964fa64788dc51cfc4545bf4544f2ff28b9df3d7072908cc7130c6414abe0026b78fff3e758a8d5efb7493f32d30b32b951987dd85139cbcc75d6a97f SHA512 cbd31bdd481d1f03eaa9f482ac34c44b2499f8aa74b49de5e60cd97ca982d79e8b7ef8e035c732090f421599b2d0889962cb6a1609fd3fd82ca570642c263ce6 +MISC metadata.xml 517 BLAKE2B de8f2ffe5ab315f2dda508eb12c291f3b531f2e35f33207d5ff8e2e6b698fcfa51df95cac081b3ca674b0f91c55736c75ed228185e457c2a7eb5ce9a64a2a133 SHA512 f34660ceef8ec6a47bc710ee311d1b1fa39d3ba4ece8b87801ff956ec195ceee654b114d22f3fba5f12eb3000ba0574b8212137016f3cb4fe5703557d039d9cd diff --git a/dev-python/clikit/clikit-0.6.2-r1.ebuild b/dev-python/clikit/clikit-0.6.2-r1.ebuild new file mode 100644 index 000000000000..3b1b46b4b24b --- /dev/null +++ b/dev-python/clikit/clikit-0.6.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Group of utilities to build beautiful and testable command line interfaces" +HOMEPAGE=" + https://github.com/sdispater/clikit/ + https://pypi.org/project/clikit/ +" +SRC_URI=" + https://github.com/sdispater/clikit/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/pastel[${PYTHON_USEDEP}] + dev-python/pylev[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/crashtest[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock.plugin + local -x COLUMNS=80 + epytest +} diff --git a/dev-python/clikit/clikit-0.6.2.ebuild b/dev-python/clikit/clikit-0.6.2.ebuild index 8bb676a6f1ba..200eb8b1216e 100644 --- a/dev-python/clikit/clikit-0.6.2.ebuild +++ b/dev-python/clikit/clikit-0.6.2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Group of utilities to build beautiful and testable command line interfaces" @@ -27,9 +27,11 @@ BDEPEND=" distutils_enable_tests pytest -python_prepare_all() { - # skip failing test - rm tests/utils/test_terminal.py || die - - distutils-r1_python_prepare_all +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # skip failing test + tests/utils/test_terminal.py + ) + epytest } diff --git a/dev-python/clikit/metadata.xml b/dev-python/clikit/metadata.xml index 56a7414e444f..3437f4545e03 100644 --- a/dev-python/clikit/metadata.xml +++ b/dev-python/clikit/metadata.xml @@ -5,6 +5,10 @@ jsmolic@gentoo.org Jakov Smolić + + python@gentoo.org + Python + sdispater/clikit -- cgit v1.2.3