diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
commit | 34dea8e38f88007799629d0a56b12dec480b1d21 (patch) | |
tree | 6790873994b58030360328cf5897d934b3b03d16 /app-misc/jpipe | |
parent | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff) |
gentoo resync : 20.06.2021
Diffstat (limited to 'app-misc/jpipe')
-rw-r--r-- | app-misc/jpipe/Manifest | 6 | ||||
-rw-r--r-- | app-misc/jpipe/jpipe-0.1.3.9.ebuild (renamed from app-misc/jpipe/jpipe-0.1.3.4.ebuild) | 24 | ||||
-rw-r--r-- | app-misc/jpipe/metadata.xml | 4 |
3 files changed, 15 insertions, 19 deletions
diff --git a/app-misc/jpipe/Manifest b/app-misc/jpipe/Manifest index 29b2fa9607a0..d5a6082449a9 100644 --- a/app-misc/jpipe/Manifest +++ b/app-misc/jpipe/Manifest @@ -1,3 +1,3 @@ -DIST jpipe-0.1.3.4.tar.gz 6339 BLAKE2B b6d01a7b4f3394c540e14cdf8cd8e422462cf5b93043d8846f6da805e9e7c78392996edd4553b36886b728773296a5dd5291168cf145d1837a01cfbb8404a46e SHA512 8a9a548b5b9cb512ca32471820a542d2b9bde6032ed275ad366f0b71224ee14fe1d05da9c544175e375378f076402de2f9c2a6c60c5e347985bad2b456baa810 -EBUILD jpipe-0.1.3.4.ebuild 1018 BLAKE2B 8417ef0f6dfc09a8535c8cc584be1a296b5c3edfe994a35d6b2ee4ba84bcedc4c7c9b17a339185c6d427d64f1d951209cc925cf126e0484efacfc9e098c0d46a SHA512 ecd0610b1a28235eb0f1ef1d46716c62ed1b835f799102e95e294af15ffaf53cf62533e81a679ec2aba9e182f64743edbfc804a92373e1c64ac105152c00446e -MISC metadata.xml 540 BLAKE2B 48ce177f946eb9958b56d18688f8318f33ef14200c893f4645d2a26ac3d372b10b90775e1caa888c86051c3bc644c8f240581ab5ceed72c14cab6f9188f7a6a7 SHA512 8ba8fadf241f2ed2b25d5312293cf8c0d5410bc78e7f8cdca7607c9cef4a04297377ec13eea075deabaf2788cdd0b53a66488cb41887df6321e3fcf54ddf5265 +DIST jpipe-0.1.3.9.tar.gz 7659 BLAKE2B 91ade62f8a41c895acc56fd3019b56cd23a1550b689db7e4ee0ab5da402bd63d423dd6b5570c864230075a96fe251254dd8ca8c9954329af2606805025be15c3 SHA512 ca8f91a9a4cabb8daad4fc83221950c059fbe4fae984d084546bdba7b9726242e38043480fdaa674a5967864538c452f5577b0b0b9d565a7a273245d98f16730 +EBUILD jpipe-0.1.3.9.ebuild 1014 BLAKE2B 16cec3719743a43e984b173a5da48a40e02437a77a8543704ddff7a7a58d7f84acac5c93f1e0f0eba8f7e96932077663d825328d8404cd174e1bbc111a6d5cb0 SHA512 66440b88bcf5ed08e10b754e103cbff6ffb241902700f10906ad77f7965d903e3378fdfe467b79e83b3b2afbaa9305fb29f9eb34b102b15a6f43fa6d87ba1b11 +MISC metadata.xml 522 BLAKE2B 2a543f31244dedbbd7d7e73a03943e4183f0a8232e6055d725aee4bfd6e7e5a52fa655fed26987896126f3fe7e7520ba5cdb8ba7e2bb9078e2b0c0383bd6ccbc SHA512 fff08d857a32fe20ddcbd2decabadc125703854e0e8be0fb79877608c606eae647b37330b5c3fc1faf2cd3ac1c5b8f5c7d5a283323445cb75361828e82b51672 diff --git a/app-misc/jpipe/jpipe-0.1.3.4.ebuild b/app-misc/jpipe/jpipe-0.1.3.9.ebuild index d40453fbf158..5fc4e62fcce8 100644 --- a/app-misc/jpipe/jpipe-0.1.3.4.ebuild +++ b/app-misc/jpipe/jpipe-0.1.3.9.ebuild @@ -3,7 +3,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit distutils-r1 @@ -14,29 +14,25 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" KEYWORDS="~amd64" SLOT="0" -IUSE="jpp jp-symlink test" +IUSE="jpp-symlink jp-symlink test" RESTRICT="!test? ( test )" RDEPEND=" - jpp? ( !app-misc/jp[jpp] ) + jpp-symlink? ( !app-misc/jp[jpp] ) jp-symlink? ( !app-misc/jp[jp] ) dev-python/jmespath[${PYTHON_USEDEP}] " python_prepare_all() { - if ! use jpp; then - sed -e '/jpp_main/d' -i setup.py || die + if ! use jpp-symlink; then + sed -e '/"jpp = jpipe/d' -i setup.py || die + fi + if ! use jp-symlink; then + sed -e '/"jp = jpipe/d' -i setup.py || die fi distutils-r1_python_prepare_all } python_test() { - "${PYTHON}" test/test_jpipe.py || die "tests failed for ${EPYTHON}" - if use jpp; then - "${PYTHON}" test/test_jpp.py || die "jpp tests failed for ${EPYTHON}" - fi -} - -src_install() { - distutils-r1_src_install - use jp-symlink && dosym jpipe /usr/bin/jp + "${PYTHON}" test/test_jp.py || die "jp tests failed for ${EPYTHON}" + "${PYTHON}" test/test_jpp.py || die "jpp tests failed for ${EPYTHON}" } diff --git a/app-misc/jpipe/metadata.xml b/app-misc/jpipe/metadata.xml index c1da5f3b0541..cac479078bf9 100644 --- a/app-misc/jpipe/metadata.xml +++ b/app-misc/jpipe/metadata.xml @@ -12,8 +12,8 @@ <flag name="jp-symlink"> Install a jp symlink that points to jpipe. </flag> - <flag name="jpp"> - Install jpp which is an extended superset of the jp CLI for JMESPath. + <flag name="jpp-symlink"> + Install a jpp symlink that points to jpipe. </flag> </use> </pkgmetadata> |