summaryrefslogtreecommitdiff
path: root/app-text/jo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
commit2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch)
tree8c816148bcbd22757d892089c989ae614eae4f5a /app-text/jo
parent0f558761aa2dee1017b4751e4017205e015a9560 (diff)
gentoo resync : 09.07.2022
Diffstat (limited to 'app-text/jo')
-rw-r--r--app-text/jo/Manifest6
-rw-r--r--app-text/jo/jo-1.6.ebuild (renamed from app-text/jo/jo-99999.ebuild)18
-rw-r--r--app-text/jo/jo-9999.ebuild36
-rw-r--r--app-text/jo/metadata.xml15
4 files changed, 64 insertions, 11 deletions
diff --git a/app-text/jo/Manifest b/app-text/jo/Manifest
index c7fc1ad11b96..cc83ab0e1ca1 100644
--- a/app-text/jo/Manifest
+++ b/app-text/jo/Manifest
@@ -1,4 +1,6 @@
DIST jo-1.4.tar.gz 144596 BLAKE2B 0e0a0290d276b18fbfea0c770e134f29ea3f1eea9c7e5ccdd6c7d853dc0a8c70279fa464731f5b231d6d9d48816be4e5a6d93c7abc0e03408a86f0e1691d67a0 SHA512 c283b25e76fa06842c4f7d8ae8d94b207981d92a1bd4a064631e0646bdeedc06c1a00dddac405a455b27bda5eb34aaa7dc6d886ccf750741fd4d7312f692d169
+DIST jo-1.6.tar.gz 151941 BLAKE2B 13d7d68c33d7f89ebb4a5cdb448082bd4d245060ebf8c85149c39f2a184f03f1ac1c380833a742894c37c0815e3627569cfe29f202f9aa3dcec7fa089f99b918 SHA512 a2cb1327c8255e0f8d1b6e6056bbce081d7703192bdb974e908549b863d7db645531dbeff87629a6ed53626295ab7ca8a72816d104f9188846ef175c8a9acb07
EBUILD jo-1.4.ebuild 488 BLAKE2B e6fa094208c84a74e8f81715ab621b7323c37d13ba04433e64d7c78b1115b2ec80291df2c898e38b99ed998e01cf17096f21b5d610eabe050ebe7f88c875a2e9 SHA512 3c26934e8a5e3c8be1e16bdc530a5e014af4b2b2b80173d46940c8ff0ce6cb14c78f727d1230ad26fcf08e3e309a5c0f64c4162c7f961c1089b55dc747a6b55d
-EBUILD jo-99999.ebuild 505 BLAKE2B 87c67279bfd395e89ee8e9f2f26cc4bd12abfbf4955da369791b323da30dbc19646c73e19e7a13e6205ab59fac4d383cc41092ff6ba92f4ce6b0ab464c1e9555 SHA512 57988d8a84baab4b7551331ee546a60bd1a3ddb7b0e428d949dd815c53d311a37e6bc956267fc0c77a716ad769ae9c4fbd37dc067b567457dc1173031584f628
-MISC metadata.xml 242 BLAKE2B b6c549e7eebb080950771674f3679f10c745dc0187764a701fcd752be7964988ebf3bf85e2935a6bb3cd52ce4eff04dcc8b4041b25ce4860885ea11b0b6a3aae SHA512 d62797e7cbc223c92dbd01aa616ab513bcf1e298e045734b085b387dd8292b261064d309f850f6f4239ef32cf6322fa8dcbeef0814d7c126ce00db037489950d
+EBUILD jo-1.6.ebuild 674 BLAKE2B b5e592f309d72a8fd4aca5969712443a5702962e1ace938b23538edc425f49ef84234dfae3a94e29aeea90d07d71b91005120151a429b71539828f78a8006ef7 SHA512 7115adfe0762bec6c2f6e9e16528c9731ea5f82330795c8d2c6349fa2d8069fcf60773e581f3985dd1441917a8360c85a1cfbe643b71bae4eaa0b4444048ff7b
+EBUILD jo-9999.ebuild 674 BLAKE2B b5e592f309d72a8fd4aca5969712443a5702962e1ace938b23538edc425f49ef84234dfae3a94e29aeea90d07d71b91005120151a429b71539828f78a8006ef7 SHA512 7115adfe0762bec6c2f6e9e16528c9731ea5f82330795c8d2c6349fa2d8069fcf60773e581f3985dd1441917a8360c85a1cfbe643b71bae4eaa0b4444048ff7b
+MISC metadata.xml 489 BLAKE2B 9b632112e91510ede7d1e74e53f54d7ac0130d82719ff564742cb82d12cf58765c5b5d5d2889ab9abc532620b7f94087be00cea09a8f8e972cff345db209ad32 SHA512 05c8206f64c79a633d28d5fd139e3477661aad4c823b0fe343e0c914a88c23fe00a8a2557b425ae29ac9a8e98561111e001f5029f3b73970d29495a069451acf
diff --git a/app-text/jo/jo-99999.ebuild b/app-text/jo/jo-1.6.ebuild
index 098a68881de3..162d12aebd86 100644
--- a/app-text/jo/jo-99999.ebuild
+++ b/app-text/jo/jo-1.6.ebuild
@@ -1,16 +1,24 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-inherit autotools bash-completion-r1 git-r3
+EAPI=8
+
+inherit autotools bash-completion-r1
DESCRIPTION="JSON output from a shell"
HOMEPAGE="https://github.com/jpmens/jo"
-EGIT_REPO_URI="https://github.com/jpmens/${PN}"
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jpmens/${PN}"
+else
+ SRC_URI="https://github.com/jpmens/${PN}/releases/download/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS=""
+
+BDEPEND="virtual/pkgconfig"
src_prepare() {
default
diff --git a/app-text/jo/jo-9999.ebuild b/app-text/jo/jo-9999.ebuild
new file mode 100644
index 000000000000..162d12aebd86
--- /dev/null
+++ b/app-text/jo/jo-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools bash-completion-r1
+
+DESCRIPTION="JSON output from a shell"
+HOMEPAGE="https://github.com/jpmens/jo"
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jpmens/${PN}"
+else
+ SRC_URI="https://github.com/jpmens/${PN}/releases/download/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ export bashcompdir=$(get_bashcompdir)
+ default
+}
+
+src_install() {
+ default
+ mv "${D}"$(get_bashcompdir)/jo{.bash,} || die
+}
diff --git a/app-text/jo/metadata.xml b/app-text/jo/metadata.xml
index 6aaa98d22ea0..602b4237d04e 100644
--- a/app-text/jo/metadata.xml
+++ b/app-text/jo/metadata.xml
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">jpmens/jo</remote-id>
- </upstream>
+ <maintainer type="person" proxied="yes">
+ <name>Thamognya Kodi</name>
+ <email>contact@thamognya.com</email>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jpmens/jo</remote-id>
+ </upstream>
</pkgmetadata>