diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-lua/dkjson | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-lua/dkjson')
| -rw-r--r-- | dev-lua/dkjson/Manifest | 2 | ||||
| -rw-r--r-- | dev-lua/dkjson/dkjson-2.10.ebuild | 48 | ||||
| -rw-r--r-- | dev-lua/dkjson/dkjson-2.9.ebuild | 48 | ||||
| -rw-r--r-- | dev-lua/dkjson/metadata.xml | 19 |
4 files changed, 117 insertions, 0 deletions
diff --git a/dev-lua/dkjson/Manifest b/dev-lua/dkjson/Manifest new file mode 100644 index 000000000000..439a4dcd6f7c --- /dev/null +++ b/dev-lua/dkjson/Manifest @@ -0,0 +1,2 @@ +DIST dkjson-2.10.tar.gz 18067 BLAKE2B a59bec683d67294b0d297791735402b4709f957930d245585395bb07a43f4f7677e0a653f0ecff5e41e3d3238848edc1bdba87de77e34000e80456f702422759 SHA512 861139d472409941c1815ad43f9a6e58271eb56f6a1e8a5eaf70c2c44de024337e4f5197e6d8ff6199bb7cd304b5f38f86309db10e016ef5b97fd7ab0a142699 +DIST dkjson-2.9.tar.gz 17961 BLAKE2B 3fc367539443b5ef45af00865c2683cf38f9074d0f494ed4bd051aaf2a07ba15053f6e80a4540e9fad29197a132746d6474cd4cf34babb0f7a01f5e84f3a9a64 SHA512 76f31c40367077827fdc353cf24bb3f73b7c31fcba9cd377503b7de36d6cf2f27b9cc86d26bf012cbfd7dc8c2e934f74e6393792031c9819aec7b585adb1eca4 diff --git a/dev-lua/dkjson/dkjson-2.10.ebuild b/dev-lua/dkjson/dkjson-2.10.ebuild new file mode 100644 index 000000000000..5aebb752adc7 --- /dev/null +++ b/dev-lua/dkjson/dkjson-2.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) + +inherit lua + +DESCRIPTION="David Kolf's JSON module for Lua" +HOMEPAGE="http://dkolf.de/src/dkjson-lua.fsl/" +SRC_URI="http://dkolf.de/dkjson-lua/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${RDEPEND} ) +" + +DOCS=( "readme.md" ) + +lua_src_test() { + ${ELUA} jsontest.lua || die + ${ELUA} speedtest.lua ${PN} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins dkjson.lua +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/dkjson/dkjson-2.9.ebuild b/dev-lua/dkjson/dkjson-2.9.ebuild new file mode 100644 index 000000000000..316c7054ce2c --- /dev/null +++ b/dev-lua/dkjson/dkjson-2.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) + +inherit lua + +DESCRIPTION="David Kolf's JSON module for Lua" +HOMEPAGE="http://dkolf.de/src/dkjson-lua.fsl/" +SRC_URI="http://dkolf.de/dkjson-lua/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${RDEPEND} ) +" + +DOCS=( "readme.md" ) + +lua_src_test() { + ${ELUA} jsontest.lua || die + ${ELUA} speedtest.lua ${PN} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins dkjson.lua +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/dkjson/metadata.xml b/dev-lua/dkjson/metadata.xml new file mode 100644 index 000000000000..4841e620d47b --- /dev/null +++ b/dev-lua/dkjson/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <stabilize-allarches/> + <longdescription> + dkjson is a module for encoding and decoding JSON data. It supports + UTF-8. + + JSON (JavaScript Object Notation) is a format for serializing data + based on the syntax for JavaScript data structures. + + dkjson is written in Lua without any dependencies, but + when LPeg is available dkjson uses it to speed up decoding. + </longdescription> +</pkgmetadata> |
