summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-06-15 03:49:02 -0700
committerZac Medico <zmedico@gentoo.org>2021-06-15 03:54:57 -0700
commite7fac66ef40178728dda90d3f9c763ae5c0efbbd (patch)
treee9eeb0f100a392d083e46130027fdcfd3b3d4ab2 /app-misc/jpipe
parentmedia-gfx/darktable: drop 2.6.2 (diff)
downloadgentoo-e7fac66ef40178728dda90d3f9c763ae5c0efbbd.tar.gz
gentoo-e7fac66ef40178728dda90d3f9c763ae5c0efbbd.tar.bz2
gentoo-e7fac66ef40178728dda90d3f9c763ae5c0efbbd.zip
app-misc/jpipe: Bump to version 0.1.3.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-misc/jpipe')
-rw-r--r--app-misc/jpipe/Manifest2
-rw-r--r--app-misc/jpipe/jpipe-0.1.3.1.ebuild (renamed from app-misc/jpipe/jpipe-0.0.1.ebuild)15
-rw-r--r--app-misc/jpipe/metadata.xml3
3 files changed, 17 insertions, 3 deletions
diff --git a/app-misc/jpipe/Manifest b/app-misc/jpipe/Manifest
index e44ddc0001da..56c40aec3104 100644
--- a/app-misc/jpipe/Manifest
+++ b/app-misc/jpipe/Manifest
@@ -1 +1 @@
-DIST jpipe-0.0.1.tar.gz 4567 BLAKE2B 0c33e36ed03373ef2a030aa2ac0ecc6e05c0683f04bf4c96eeec0cc07b75a16e3c805bc9c59b6cf7fd6aa9e65dc639dbc1e496d4084bb4b74835ea0c3043c8be SHA512 8cd7f9ff5138f55c13497a0059d32fdde6d6e698020e9ea231ed0431e76e97b2769f781e8a58ec636cadfe110f84f940161cbfa212cfa2f805e18e92a7e0d310
+DIST jpipe-0.1.3.1.tar.gz 5957 BLAKE2B ce7570006aa40ca61939c59a93608569898b0327d10a3ebce85e44ca33175a1fcf8412740008a648865ce5098594318154ad415505ed3167664c8726827402c7 SHA512 4dd90c4d59f1a3ca8a2417a20b95db9bb949c380104030a35053edb5e1c3a1bc73d28725cc18c0a3384181899198837f4d4abedaf9c7e374ec905e42ce1af4f6
diff --git a/app-misc/jpipe/jpipe-0.0.1.ebuild b/app-misc/jpipe/jpipe-0.1.3.1.ebuild
index 0ac556bbf2b2..a7ed62838505 100644
--- a/app-misc/jpipe/jpipe-0.0.1.ebuild
+++ b/app-misc/jpipe/jpipe-0.1.3.1.ebuild
@@ -14,15 +14,26 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
-IUSE="jp-symlink test"
+IUSE="jpp jp-symlink test"
RESTRICT="!test? ( test )"
RDEPEND="
- jp-symlink? ( !app-misc/jp )
+ jpp? ( !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
+ 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() {
diff --git a/app-misc/jpipe/metadata.xml b/app-misc/jpipe/metadata.xml
index 0f6af2e7daef..c1da5f3b0541 100644
--- a/app-misc/jpipe/metadata.xml
+++ b/app-misc/jpipe/metadata.xml
@@ -12,5 +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>
</use>
</pkgmetadata>