diff options
Diffstat (limited to 'dev-python/jaraco-text')
-rw-r--r-- | dev-python/jaraco-text/Manifest | 4 | ||||
-rw-r--r-- | dev-python/jaraco-text/jaraco-text-3.11.1.ebuild | 10 | ||||
-rw-r--r-- | dev-python/jaraco-text/metadata.xml | 5 |
3 files changed, 15 insertions, 4 deletions
diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest index d775be8ea3ec..195b84839e74 100644 --- a/dev-python/jaraco-text/Manifest +++ b/dev-python/jaraco-text/Manifest @@ -1,3 +1,3 @@ DIST jaraco.text-3.11.1.tar.gz 16083 BLAKE2B f7268128209fbdc849a745595339f4dc9a097f3f4f8f0cdcb05ca3106ed5a45460126fbb2b7d9c3b01b63aa3f750175e8cd366034183b7d8804a1650fe493e4b SHA512 b4066589e9d4c9a2a82ae2b0825d34b22b93ee179d29c3666e9b978390121520afcb8fc5ffa6457022d2e8477f4cf2b76485d9896438ee46275326577609f201 -EBUILD jaraco-text-3.11.1.ebuild 2077 BLAKE2B ef1361b3025cd489550a6cc05a41d05845f0f760da7ec19aeb38b713680b6df15fe395607ea65c5ebdb8e8b2d254ced8b4b6cbf45e07b23b22998d5214b092e0 SHA512 78f162353e9e0a60dd38184f3cb9cd9b4a31e7344c40ae12d725d999ec8ed1aa4c30ede77a352a67de37dd9cd6fd874fac46174157eed40822b20cd3f3c39f9d -MISC metadata.xml 550 BLAKE2B 147f1a6d5bb65e6ca4a29de497742b1cc69da4f46111512c05518c54c8fc351c12aeb452cc12c0a70974094ddead7014f58a5a2fb546173334ce282e218b8c9f SHA512 fd3bf89a43ca3ebf4be15c1cff79ebc70085b0fa0192fc9a44e6e1e799044ab9935545d4722d3bc6a3989d2a3199432a47f64876ea5b822e8e46fc3c41acd005 +EBUILD jaraco-text-3.11.1.ebuild 2143 BLAKE2B 4e8c943d028ae83a7c5957b0fa10557548ff2e361b37a27bd6e6aec6ca92ae028d67681dffd6483162c23f887ab8036d84c74c0effb2f61b3e88c9b0ff9b6782 SHA512 da749abc50bdafd88c841149a5ac15859f09390e76dfab36d8d859be002a0f7e5830df5cbdfb076f71103427d8f98a3da6c84ecb8e1f3d632a895bd302eac7ff +MISC metadata.xml 656 BLAKE2B f801288ddad8d0a8ca1ae4683df60e718512bc13b6be2f79b4c67d03632d87d38844c43d08d3f16b16b21f1da02112e164ec72777bf6e31cbcc967fff01ff9da SHA512 62d5f23d2bc836afe3d1a86c541dd0c562849dc481bed6024901595ebd341e2f4d7fc17427a8416a8b6a330928fdd7a44a5c53370d19d6f6781a9ff77531c503 diff --git a/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild b/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild index 3c4773fac6e5..4a3217e4b983 100644 --- a/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild +++ b/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild @@ -21,6 +21,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="cli" RDEPEND=" >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] @@ -28,13 +29,18 @@ RDEPEND=" " # needed only for CLI tool, make it PDEPEND to reduce pain in setuptools # bootstrap -PDEPEND=" +CLI_DEPEND=" $(python_gen_cond_dep ' dev-python/autocommand[${PYTHON_USEDEP}] dev-python/inflect[${PYTHON_USEDEP}] dev-python/more-itertools[${PYTHON_USEDEP}] ' "${CLI_COMPAT[@]}") " +PDEPEND=" + cli? ( + ${CLI_DEPEND} + ) +" BDEPEND=" test? ( ${PDEPEND} @@ -65,7 +71,7 @@ src_configure() { python_test() { local EPYTEST_IGNORE=() - if ! has "${EPYTHON/./_}" "${CLI_COMPAT[@]}"; then + if ! use cli || ! has "${EPYTHON/./_}" "${CLI_COMPAT[@]}"; then EPYTEST_IGNORE+=( jaraco/text/show-newlines.py jaraco/text/strip-prefix.py diff --git a/dev-python/jaraco-text/metadata.xml b/dev-python/jaraco-text/metadata.xml index 53b2aac86a52..7d0942d6335b 100644 --- a/dev-python/jaraco-text/metadata.xml +++ b/dev-python/jaraco-text/metadata.xml @@ -12,4 +12,9 @@ <bugs-to>https://github.com/jaraco/jaraco.text/issues</bugs-to> <changelog>https://github.com/jaraco/jaraco.text/blob/master/CHANGES.rst</changelog> </upstream> + <use> + <flag name="cli"> + Install dependencies needed for CLI tools (Rust warning!) + </flag> + </use> </pkgmetadata> |