From ac0f08f95207829f7f63f4c998572b539689add5 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Mon, 2 Dec 2024 18:01:12 +0500 Subject: [PATCH 01/10] dev-python/rich-click: add 1.8.5, drop 1.8.3 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/rich-click/Manifest | 2 +- .../{rich-click-1.8.3.ebuild => rich-click-1.8.5.ebuild} | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) rename dev-python/rich-click/{rich-click-1.8.3.ebuild => rich-click-1.8.5.ebuild} (84%) diff --git a/dev-python/rich-click/Manifest b/dev-python/rich-click/Manifest index b6eb24ca5a..3719fb2142 100644 --- a/dev-python/rich-click/Manifest +++ b/dev-python/rich-click/Manifest @@ -1,2 +1,2 @@ -DIST rich-click-1.8.3.gh.tar.gz 325306 BLAKE2B a98f5a7a6c6a43a53b4366afe335509b57632299935c8e47431b16e11984317059dea6e75df6b571efdd6e793575c7c9004bfa087c2a1dd386e30b70635daefa SHA512 714d5d3c4b32529323f2944964e5a08479a19d6b54071750f5ccaab6ceadc5035e1d9fde4c4bc0756baef0f3e5f974a78a514fe7a35ccb621d231d5e96ec0290 DIST rich-click-1.8.4.gh.tar.gz 375081 BLAKE2B f69491a9b5b0321783d0ce0225ae49d91bc38962a866ea85d438940860fc11f22662f242a85621b156d3143245c544c63947d260cc817ae3da96cbc15e9683c5 SHA512 34d650cf47becef15cb0ad32b6fe87b534e4d56de42106baacbcc3721c39297d383050118e57bb85a18332d28b52ba93f989141c8acc5c142953248c8e9e6a95 +DIST rich-click-1.8.5.gh.tar.gz 8135268 BLAKE2B 84e9fe895d70a4357ea49d383822b6f50d9c89b3788e0ef60200c2a67807ac1e77df2dba8d1fafc9a78f4174d12241c7f3faf53177bfa64d031da673c67ce4e8 SHA512 ccb309f05593c55edc097a199eb07f4c260217751e3bc5a27a6f11cfa5d6f98125086729639f0a5d6b476c17c18ef1b9cc29a26ac24dacb84754feed4291af3d diff --git a/dev-python/rich-click/rich-click-1.8.3.ebuild b/dev-python/rich-click/rich-click-1.8.5.ebuild similarity index 84% rename from dev-python/rich-click/rich-click-1.8.3.ebuild rename to dev-python/rich-click/rich-click-1.8.5.ebuild index bbf75dcaa2..923a7332dc 100644 --- a/dev-python/rich-click/rich-click-1.8.3.ebuild +++ b/dev-python/rich-click/rich-click-1.8.5.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 +inherit click-app distutils-r1 DESCRIPTION="Format click help output nicely with rich" HOMEPAGE=" @@ -22,11 +22,13 @@ KEYWORDS="~amd64" RDEPEND=" >=dev-python/click-7[${PYTHON_USEDEP}] >=dev-python/rich-10.7[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] " distutils_enable_tests pytest +click-app_enable_completions rich-click + src_prepare() { distutils-r1_src_prepare From 85c6b7fafc16b4b906585c7a1556b33cb61d113e Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Mon, 2 Dec 2024 18:03:42 +0500 Subject: [PATCH 02/10] dev-util/find-work-bugzilla: add 1.0.0, drop 0.2.2 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-util/find-work-bugzilla/Manifest | 2 +- ...la-0.2.2.ebuild => find-work-bugzilla-1.0.0.ebuild} | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) rename dev-util/find-work-bugzilla/{find-work-bugzilla-0.2.2.ebuild => find-work-bugzilla-1.0.0.ebuild} (81%) diff --git a/dev-util/find-work-bugzilla/Manifest b/dev-util/find-work-bugzilla/Manifest index 0c5b8bb1cb..cd7d02cee1 100644 --- a/dev-util/find-work-bugzilla/Manifest +++ b/dev-util/find-work-bugzilla/Manifest @@ -1,2 +1,2 @@ -DIST find_work_bugzilla-0.2.2.tar.gz 5801 BLAKE2B 760f95853987ffaeedbc1b8ea32bcb7b2e943506bf3e7ccb708da1f7f990837843bdeeabc3789382eeea98f9db20265761e31321a935809794316df19d0e36d1 SHA512 7ab50d90e24d3f6d18565c02ceaeaea938a6e3ac2f39e56a0b6b19c4bd2667366de4b811d457bdb02d41c20d7ae2d4505b032fa7c02a981e94f858be30a30d2b DIST find_work_bugzilla-0.3.0.tar.gz 6098 BLAKE2B 433302126bfe54925ec1d7b0808238d17970ab866b88dfe22d0376619f8bcd4fc7803f5829062644fa9aa1c93814f7dc9e82630bdca88f6c235378cce5953c43 SHA512 5e6625cc80c25bd53778012e0331ddb52870299ce48eea751308b14576217043e708d7006b1a903d333a2e66f0b1b9f8178745e32c976c13c84a36c3dd0e59f6 +DIST find_work_bugzilla-1.0.0.tar.gz 6317 BLAKE2B 7cae7fea9090877bf81cb0c0d0c043a0a530c9c295e895aeaa793f3e35701609d9d5817c50092650c58af8b2b4f535192e2a5f3401cc4f3dbf479bbd533621a1 SHA512 12b3ae347aeea5134e3fa79da3c9e1e94e07b8e1574d292faf262ec833111c7c079b1f6d9dec72f67b73c0d83c8e165672a8ae9885ed4c0ff9a24976906addd2 diff --git a/dev-util/find-work-bugzilla/find-work-bugzilla-0.2.2.ebuild b/dev-util/find-work-bugzilla/find-work-bugzilla-1.0.0.ebuild similarity index 81% rename from dev-util/find-work-bugzilla/find-work-bugzilla-0.2.2.ebuild rename to dev-util/find-work-bugzilla/find-work-bugzilla-1.0.0.ebuild index 8955469bd4..cf98ec67ed 100644 --- a/dev-util/find-work-bugzilla/find-work-bugzilla-0.2.2.ebuild +++ b/dev-util/find-work-bugzilla/find-work-bugzilla-1.0.0.ebuild @@ -26,8 +26,8 @@ RDEPEND=" >=dev-python/pydantic-core-2[${PYTHON_USEDEP}] =dev-util/find-work-0.91[${PYTHON_USEDEP}] + >=dev-util/find-work-1[${PYTHON_USEDEP}] + Date: Mon, 2 Dec 2024 18:06:36 +0500 Subject: [PATCH 03/10] dev-util/find-work-pkgcheck: add 1.0.0, drop 0.2.1-r1 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-util/find-work-pkgcheck/Manifest | 2 +- ....2.1-r1.ebuild => find-work-pkgcheck-1.0.0.ebuild} | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) rename dev-util/find-work-pkgcheck/{find-work-pkgcheck-0.2.1-r1.ebuild => find-work-pkgcheck-1.0.0.ebuild} (79%) diff --git a/dev-util/find-work-pkgcheck/Manifest b/dev-util/find-work-pkgcheck/Manifest index 34824cc251..75bffd129c 100644 --- a/dev-util/find-work-pkgcheck/Manifest +++ b/dev-util/find-work-pkgcheck/Manifest @@ -1,2 +1,2 @@ -DIST find_work_pkgcheck-0.2.1.tar.gz 5331 BLAKE2B 703de8d9b8e44fd8018778ca2038f6bf33d0cf791d84f9981208cd53af29b4be4013da4fcc95b6cfa56b43b7e50e3f55ef4d91e344e2065c92cadf6224b849ce SHA512 aabd3f972a512098d0a006c15a72fa389069896d633bbe0491725ee45efdb0862548f5cf746b679ca35309c959a562ee48d43d367530683635ddcd10f3350244 DIST find_work_pkgcheck-0.3.0.tar.gz 5652 BLAKE2B 10f4da84acbacaec6a73ddf8bc76a53b2dc91c418638108ce930bb88cd0c2fa477a3bc436a86254f3ea71ef98fcbad9504ec5ebd5fa8c68ad5e4fc6b7b04c684 SHA512 d0bd2e4faeb38f49159441e59f42eff03425ebe1e3ee2a57c8ccd0eb8976849f5753427dd47d7079240f378a1c11c32deaf79e25e749d6d6308bf9d4eb9a7584 +DIST find_work_pkgcheck-1.0.0.tar.gz 6402 BLAKE2B 21035a257ea9f5f55b3e121b5239c20a003b17bd93a2c1252217cbc0b6b42af07840a927d69d362786889bca2c3d2890eef21291829f5ef6953ae43bb606e5eb SHA512 2ab93f3e3512bce3de35bdef79289f7b72f65a2cbd68fa69d7f4e08c8893dfc359f05095f57d7e1d7395f78ddd9f065e183133ab104b46b227693c00b5bcb8fd diff --git a/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1-r1.ebuild b/dev-util/find-work-pkgcheck/find-work-pkgcheck-1.0.0.ebuild similarity index 79% rename from dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1-r1.ebuild rename to dev-util/find-work-pkgcheck/find-work-pkgcheck-1.0.0.ebuild index 382f669654..f3f27d8f58 100644 --- a/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1-r1.ebuild +++ b/dev-util/find-work-pkgcheck/find-work-pkgcheck-1.0.0.ebuild @@ -18,14 +18,15 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - =dev-python/pydantic-2[${PYTHON_USEDEP}] =dev-util/find-work-0.91[${PYTHON_USEDEP}] + >=dev-util/find-work-1[${PYTHON_USEDEP}] + Date: Mon, 2 Dec 2024 18:07:47 +0500 Subject: [PATCH 04/10] dev-util/find-work-repology: add 1.0.0, drop 0.2.1-r1 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-util/find-work-repology/Manifest | 2 +- ...y-0.2.1-r1.ebuild => find-work-repology-1.0.0.ebuild} | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) rename dev-util/find-work-repology/{find-work-repology-0.2.1-r1.ebuild => find-work-repology-1.0.0.ebuild} (84%) diff --git a/dev-util/find-work-repology/Manifest b/dev-util/find-work-repology/Manifest index 136b498e85..1dd5d66c6d 100644 --- a/dev-util/find-work-repology/Manifest +++ b/dev-util/find-work-repology/Manifest @@ -1,2 +1,2 @@ -DIST find_work_repology-0.2.1.tar.gz 7021 BLAKE2B 1f461c4723f28f19a945c62d1fe7030ecff15d0bc03b2f65afa6ef4d85167867ec036de2f8fd30c911732631142b2fe5587eb9a1a0f412d708e8a83b057eec8e SHA512 18d7536d8ec0031a546025f11e7d078d19d9e72029aef00d575b823d1b987da2d380b49f65a3e2e1abf13a80c61373ad39a5d7ac7fbfb2c2a8d69ca2cf17b4f5 DIST find_work_repology-0.3.0.tar.gz 7121 BLAKE2B 078b941e718779e1a75c2935e9574a7b88b9a3cae3706c182256ca32091f3240b6245ffd8d6c1905bf182bf8c2676123dcd7553ba3f020120755261e0713224f SHA512 96ef6332f618efbbbeaf933a48e0cc986cfcfb1ca71f30f8dd7b8d18095b71a786b4cc9a24cc0db633526dfa5ca0a7445cb95b459b2ac76074ee71b1120c111d +DIST find_work_repology-1.0.0.tar.gz 7236 BLAKE2B 41c2b56b5b8aa9e80a8358d5f6d6f4782cee0cb58e4f311d86d59a7a529d3716dae565f5699f91e4b2bf0cf4264b055d72408f9e2e02dc5e89d48ec972b528a2 SHA512 b02227377d060c88f2d707b993da18b7db1c822162210c8e471018658b1552961741edc8cce6dd8a2e35bab703c0c0e2de9196bc61ec6a7323aa8444546c274d diff --git a/dev-util/find-work-repology/find-work-repology-0.2.1-r1.ebuild b/dev-util/find-work-repology/find-work-repology-1.0.0.ebuild similarity index 84% rename from dev-util/find-work-repology/find-work-repology-0.2.1-r1.ebuild rename to dev-util/find-work-repology/find-work-repology-1.0.0.ebuild index 89c14a78ca..bde5a0b34d 100644 --- a/dev-util/find-work-repology/find-work-repology-0.2.1-r1.ebuild +++ b/dev-util/find-work-repology/find-work-repology-1.0.0.ebuild @@ -26,7 +26,8 @@ RDEPEND=" >=dev-python/repology-client-0.0.2[${PYTHON_USEDEP}] =dev-util/find-work-0.91[${PYTHON_USEDEP}] + >=dev-util/find-work-1[${PYTHON_USEDEP}] + Date: Mon, 2 Dec 2024 13:46:28 +0000 Subject: [PATCH 05/10] dev-lua/basexx: new package, add 0.4.1 Signed-off-by: Nicolas PARLANT --- dev-lua/basexx/Manifest | 1 + dev-lua/basexx/basexx-0.4.1.ebuild | 33 ++++++++++++++++++++++++++++++ dev-lua/basexx/metadata.xml | 11 ++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-lua/basexx/Manifest create mode 100644 dev-lua/basexx/basexx-0.4.1.ebuild create mode 100644 dev-lua/basexx/metadata.xml diff --git a/dev-lua/basexx/Manifest b/dev-lua/basexx/Manifest new file mode 100644 index 0000000000..a4985fb7fa --- /dev/null +++ b/dev-lua/basexx/Manifest @@ -0,0 +1 @@ +DIST basexx-0.4.1.tar.gz 8100 BLAKE2B 9a3e09eb4ddc7c9158096f50d52735711ee63618ada0175af8aac4ba906e95cbf3fe2750f3d0fff821e34b71b4a414f39a13313e9aac0960fc4f06d24c5e0422 SHA512 b52ac9573196129e5af3f6d4fdc69b26d77ed3c114cf95c3dc46aa58e5f288a3212a91e8ee48257609607a71088c24205ca79c5512f077a6e9cef6ad7f136ba0 diff --git a/dev-lua/basexx/basexx-0.4.1.ebuild b/dev-lua/basexx/basexx-0.4.1.ebuild new file mode 100644 index 0000000000..ffe460be90 --- /dev/null +++ b/dev-lua/basexx/basexx-0.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +DESCRIPTION="A base2, base16, base32, base64 and base85 library for Lua" +HOMEPAGE="https://github.com/aiq/basexx/" +SRC_URI="https://github.com/aiq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND}" + +lua_enable_tests busted test + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins lib/${PN}.lua +} + +src_install() { + lua_foreach_impl lua_src_install + einstalldocs +} diff --git a/dev-lua/basexx/metadata.xml b/dev-lua/basexx/metadata.xml new file mode 100644 index 0000000000..d3e0cd0b86 --- /dev/null +++ b/dev-lua/basexx/metadata.xml @@ -0,0 +1,11 @@ + + + + + nicolas.parlant@parhuet.fr + Nicolas PARLANT + + + aiq/basexx + + From 868b2edb1f93c0dfb61bdc788a9503e3b9683ab7 Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Mon, 2 Dec 2024 13:47:08 +0000 Subject: [PATCH 06/10] dev-lua/lpeg-patterns: new package, add 0.5 Signed-off-by: Nicolas PARLANT --- dev-lua/lpeg-patterns/Manifest | 1 + .../lpeg-patterns/lpeg-patterns-0.5.ebuild | 41 +++++++++++++++++++ dev-lua/lpeg-patterns/metadata.xml | 11 +++++ 3 files changed, 53 insertions(+) create mode 100644 dev-lua/lpeg-patterns/Manifest create mode 100644 dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild create mode 100644 dev-lua/lpeg-patterns/metadata.xml diff --git a/dev-lua/lpeg-patterns/Manifest b/dev-lua/lpeg-patterns/Manifest new file mode 100644 index 0000000000..246f4f51cc --- /dev/null +++ b/dev-lua/lpeg-patterns/Manifest @@ -0,0 +1 @@ +DIST lpeg-patterns-0.5.tar.gz 26183 BLAKE2B 005ca2d99710f4b3c6eddb6d07f89d65dd0450ca522fac9717318388d86b24b57b7a4460e6a10f35b0c1cbc7446f21ff0b4438e0a41ae7f5fdbcc839eeac1025 SHA512 74e36083872cfa7ff8bb03927d075680b490b4d7ba55cee0cad7e1e27e6744809b05286a80967a19cd79f526168f53d362efa2b87c318efad726fa1ba3708f80 diff --git a/dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild b/dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild new file mode 100644 index 0000000000..7e137fb913 --- /dev/null +++ b/dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +MY_PN="${PN/-/_}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A collection of LPEG patterns" +HOMEPAGE="https://github.com/daurnimator/lpeg_patterns" +SRC_URI="https://github.com/daurnimator/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND=" + ${LUA_DEPS} + dev-lua/lpeg[${LUA_USEDEP}] +" +RDEPEND="${DEPEND}" + +lua_enable_tests busted + +lua_src_install() { + insinto $(lua_get_lmod_dir)/${MY_PN}/ + doins ${MY_PN}/*.lua +} + +src_install() { + lua_foreach_impl lua_src_install + einstalldocs +} diff --git a/dev-lua/lpeg-patterns/metadata.xml b/dev-lua/lpeg-patterns/metadata.xml new file mode 100644 index 0000000000..1abfb9266d --- /dev/null +++ b/dev-lua/lpeg-patterns/metadata.xml @@ -0,0 +1,11 @@ + + + + + nicolas.parlant@parhuet.fr + Nicolas PARLANT + + + daurnimator/lpeg_patterns + + From 364d1882d051412b6c103adf68ad02e4d7523831 Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Mon, 2 Dec 2024 13:46:41 +0000 Subject: [PATCH 07/10] dev-lua/binaryheap: new package, add 0.4 Signed-off-by: Nicolas PARLANT --- dev-lua/binaryheap/Manifest | 1 + dev-lua/binaryheap/binaryheap-0.4.ebuild | 62 ++++++++++++++++++++++++ dev-lua/binaryheap/metadata.xml | 11 +++++ 3 files changed, 74 insertions(+) create mode 100644 dev-lua/binaryheap/Manifest create mode 100644 dev-lua/binaryheap/binaryheap-0.4.ebuild create mode 100644 dev-lua/binaryheap/metadata.xml diff --git a/dev-lua/binaryheap/Manifest b/dev-lua/binaryheap/Manifest new file mode 100644 index 0000000000..251f87d005 --- /dev/null +++ b/dev-lua/binaryheap/Manifest @@ -0,0 +1 @@ +DIST binaryheap.lua-version_0v4.tar.gz 13556 BLAKE2B 92b7d7a54b5f1e1988a865842e80600852df0d03e566ca0075f59c521462632bc54dedcf0e67db71f1d6f29c2c932afc44fab4604eb0c386039c9528021276f1 SHA512 2d26108af024f6de5873d9ad2a10dc2fec5b603770c5ff3b3b36289c73261ad6952ed790caad6886bd313a41f9bd42a8257585dd653508d7f1bcd5d1236d2e12 diff --git a/dev-lua/binaryheap/binaryheap-0.4.ebuild b/dev-lua/binaryheap/binaryheap-0.4.ebuild new file mode 100644 index 0000000000..b3b85c7209 --- /dev/null +++ b/dev-lua/binaryheap/binaryheap-0.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +MY_PN="${PN}.lua" +MY_PV="version_$(ver_rs 1 v)" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Binary heap implementation in pure Lua" +HOMEPAGE="http://tieske.github.io/binaryheap.lua" +SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + dev-lua/busted[${LUA_USEDEP}] + dev-lua/luacov[${LUA_USEDEP}] + ) +" + +src_prepare() { + default + lua_copy_sources +} + +lua_src_test() { + if [[ ${ELUA} == "lua5.3" ]]; then + # this test failed only with 5.3 + rm "${BUILD_DIR}"/spec/dijkstras_algorithm_spec.lua || die + fi + busted --lua="${ELUA}" --output="plainTerminal" "${BUILD_DIR}"/spec || die "Tests fail with ${ELUA}" +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins src/${PN}.lua +} + +src_install() { + lua_foreach_impl lua_src_install + einstalldocs +} diff --git a/dev-lua/binaryheap/metadata.xml b/dev-lua/binaryheap/metadata.xml new file mode 100644 index 0000000000..d9ad9d6354 --- /dev/null +++ b/dev-lua/binaryheap/metadata.xml @@ -0,0 +1,11 @@ + + + + + nicolas.parlant@parhuet.fr + Nicolas PARLANT + + + Tieske/binaryheap.lua + + From 4c07ae9bbe2e4682b1ad84562e8f4f6dcd4015c2 Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Mon, 2 Dec 2024 13:47:20 +0000 Subject: [PATCH 08/10] dev-lua/lua-http: new package, add 20240908 Signed-off-by: Nicolas PARLANT --- dev-lua/lua-http/Manifest | 1 + dev-lua/lua-http/lua-http-20240908.ebuild | 47 +++++++++++++++++++++++ dev-lua/lua-http/metadata.xml | 11 ++++++ 3 files changed, 59 insertions(+) create mode 100644 dev-lua/lua-http/Manifest create mode 100644 dev-lua/lua-http/lua-http-20240908.ebuild create mode 100644 dev-lua/lua-http/metadata.xml diff --git a/dev-lua/lua-http/Manifest b/dev-lua/lua-http/Manifest new file mode 100644 index 0000000000..c32ca2fbe0 --- /dev/null +++ b/dev-lua/lua-http/Manifest @@ -0,0 +1 @@ +DIST lua-http-20240908.tar.gz 142897 BLAKE2B 2c68b11ffa8e579ba2be9db08c65f8f28b1eb96079a8d1b71c245ff516a7249cee86317aca3e0635b2e612120aedfa6f4e3bbe9392919835502845567cb2100f SHA512 579db298e901c555bfabd09d375d83ec1be0b45e37c9c55a779620c720a18392fdee3dc971a2ded7b0804f1fcdfc9f69863510a5823b1a0b2637b8195a42cae1 diff --git a/dev-lua/lua-http/lua-http-20240908.ebuild b/dev-lua/lua-http/lua-http-20240908.ebuild new file mode 100644 index 0000000000..c0e49196e4 --- /dev/null +++ b/dev-lua/lua-http/lua-http-20240908.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +DESCRIPTION="HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server." +HOMEPAGE="https://daurnimator.github.io/lua-http/" +EGIT_COMMIT="ee3cf4b4992479b8ebfb39b530694af3bbd1d1eb" +SRC_URI="https://github.com/daurnimator/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND=" + ${LUA_DEPS} + lua_targets_luajit? ( dev-lua/compat53[lua_targets_luajit(-)] ) + lua_targets_lua5-1? ( dev-lua/compat53[lua_targets_lua5-1(-)] ) + dev-lua/basexx[${LUA_USEDEP}] + dev-lua/binaryheap[${LUA_USEDEP}] + dev-lua/cqueues[${LUA_USEDEP}] + dev-lua/fifo[${LUA_USEDEP}] + dev-lua/lpeg[${LUA_USEDEP}] + dev-lua/lpeg-patterns[${LUA_USEDEP}] + dev-lua/LuaBitOp[${LUA_USEDEP}] + dev-lua/luaossl[${LUA_USEDEP}] +" +RDEPEND="${DEPEND}" + +lua_enable_tests busted + +lua_src_install() { + insinto $(lua_get_lmod_dir)/http/ + doins http/*.lua http/compat/*.lua +} + +src_install() { + lua_foreach_impl lua_src_install + einstalldocs +} diff --git a/dev-lua/lua-http/metadata.xml b/dev-lua/lua-http/metadata.xml new file mode 100644 index 0000000000..a8fee6db0e --- /dev/null +++ b/dev-lua/lua-http/metadata.xml @@ -0,0 +1,11 @@ + + + + + nicolas.parlant@parhuet.fr + Nicolas PARLANT + + + daurnimator/lua-http + + From 9f6cb43b567c0cf618e8a1d123313250b53b222a Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Mon, 2 Dec 2024 13:46:52 +0000 Subject: [PATCH 09/10] dev-lua/compat53: new package, add 0.14.3 Signed-off-by: Nicolas PARLANT --- dev-lua/compat53/Manifest | 1 + dev-lua/compat53/compat53-0.14.3.ebuild | 65 +++++++++++++++++++++++++ dev-lua/compat53/metadata.xml | 11 +++++ 3 files changed, 77 insertions(+) create mode 100644 dev-lua/compat53/Manifest create mode 100644 dev-lua/compat53/compat53-0.14.3.ebuild create mode 100644 dev-lua/compat53/metadata.xml diff --git a/dev-lua/compat53/Manifest b/dev-lua/compat53/Manifest new file mode 100644 index 0000000000..fd97281a90 --- /dev/null +++ b/dev-lua/compat53/Manifest @@ -0,0 +1 @@ +DIST lua-compat-5.3-0.14.3.tar.gz 61873 BLAKE2B 056a6f3ea4239821d616bff50eef12427745a06d0992e0b2abbcfb311eace583ca47312f8a6d3770b2526da09e47ac1a4fb3352c06c49c53b8d205b418f47d9e SHA512 9e355df0d1a165b7bbdc69c39fe49467ae5a7d93e02b875ade5863e2d44ba80955287210376fccbc5f2370970f5552774d84c812a9681d49a78b8eceeab37442 diff --git a/dev-lua/compat53/compat53-0.14.3.ebuild b/dev-lua/compat53/compat53-0.14.3.ebuild new file mode 100644 index 0000000000..3a986a4942 --- /dev/null +++ b/dev-lua/compat53/compat53-0.14.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-1 luajit ) + +inherit edo lua toolchain-funcs + +MY_PN="lua-${PN/53/-5.3}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1" +HOMEPAGE="https://github.com/lunarmodules/lua-compat-5.3/" +SRC_URI="https://github.com/lunarmodules/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND}" + +src_prepare() { + default + mv liolib.c io.c || die + mv lstrlib.c string.c || die + mv ltablib.c table.c || die + mv lutf8lib.c utf8.c || die + lua_copy_sources +} + +lua_src_compile() { + cd "${BUILD_DIR}" || die + local u="" + for u in *.c; do + edo $(tc-getCC) -shared -fPIC \ + ${CPPFLAGS} -DCOMPAT53_PREFIX="compat53" \ + ${CFLAGS} $(lua_get_CFLAGS) -Ic-api \ + ${SOFLAGS} \ + ${LDFLAGS} $(lua_get_LIBS) \ + -o "${u/.c/.so}" ${u} c-api/compat-5.3.c + done +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + cd "${BUILD_DIR}" || die + insinto $(lua_get_lmod_dir)/${PN} + doins compat53/*.lua + exeinto $(lua_get_cmod_dir)/${PN} + doexe *.so +} + +src_install() { + lua_foreach_impl lua_src_install + einstalldocs +} diff --git a/dev-lua/compat53/metadata.xml b/dev-lua/compat53/metadata.xml new file mode 100644 index 0000000000..fb956c84c1 --- /dev/null +++ b/dev-lua/compat53/metadata.xml @@ -0,0 +1,11 @@ + + + + + nicolas.parlant@parhuet.fr + Nicolas PARLANT + + + lunarmodules/lua-compat-5.3 + + From 37e6ad58b0f66a576bec1f7b183aeca036bc050f Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Mon, 2 Dec 2024 13:46:58 +0000 Subject: [PATCH 10/10] dev-lua/fifo: new package, add 0.2 Signed-off-by: Nicolas PARLANT --- dev-lua/fifo/Manifest | 1 + dev-lua/fifo/fifo-0.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++ dev-lua/fifo/metadata.xml | 11 +++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-lua/fifo/Manifest create mode 100644 dev-lua/fifo/fifo-0.2.ebuild create mode 100644 dev-lua/fifo/metadata.xml diff --git a/dev-lua/fifo/Manifest b/dev-lua/fifo/Manifest new file mode 100644 index 0000000000..0a56c4fa36 --- /dev/null +++ b/dev-lua/fifo/Manifest @@ -0,0 +1 @@ +DIST fifo-0.2.tar.gz 5210 BLAKE2B 08d4df04b49d2edddddb966320baf751b873a1e833af9da83375e02e36e55f40a544de1fc287f994692bfcfd1494574908deb5f5a6a4adea309639174d6e246b SHA512 db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306 diff --git a/dev-lua/fifo/fifo-0.2.ebuild b/dev-lua/fifo/fifo-0.2.ebuild new file mode 100644 index 0000000000..af574a13cb --- /dev/null +++ b/dev-lua/fifo/fifo-0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +MY_PN="${PN}.lua" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Fifo library for Lua" +HOMEPAGE="https://github.com/daurnimator/fifo.lua" +SRC_URI="https://github.com/daurnimator/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND}" + +lua_enable_tests busted + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins ${PN}.lua +} + +src_install() { + lua_foreach_impl lua_src_install + einstalldocs +} diff --git a/dev-lua/fifo/metadata.xml b/dev-lua/fifo/metadata.xml new file mode 100644 index 0000000000..97eea74e7e --- /dev/null +++ b/dev-lua/fifo/metadata.xml @@ -0,0 +1,11 @@ + + + + + nicolas.parlant@parhuet.fr + Nicolas PARLANT + + + daurnimator/fifo.lua + +