mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for Maubot Integrations"
|
||||
|
||||
ACCT_GROUP_ID=-1
|
||||
@@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>julien@jroy.ca</email>
|
||||
<name>Julien Roy</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
15
acct-user/maubot/maubot-0.ebuild
Normal file
15
acct-user/maubot/maubot-0.ebuild
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for Maubot Matrix Integrations"
|
||||
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( maubot )
|
||||
ACCT_USER_HOME=/var/lib/maubot
|
||||
ACCT_USER_HOME_PERMS=0750
|
||||
|
||||
acct-user_add_deps
|
||||
@@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>julien@jroy.ca</email>
|
||||
<name>Julien Roy</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,11 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( nitter )
|
||||
|
||||
acct-user_add_deps
|
||||
@@ -1 +0,0 @@
|
||||
DIST asynctools-0.1.1_p20210606.tar.gz 30003 BLAKE2B 200127abb72aa692470c55fc8346594cf9220db63a9b1b7ce3b3b97ecf21686b4c6fd0efcae2baf169f3677731e5ed05fa28ad8ce1b5892a573b4522dba99110 SHA512 16433e81b46251eefdac254e6d2496883d867ff8560c1d11ff898cf3a5689da33c6e55ed5ce81db07c73ae20e6a0d3563346c3e686c9f3395a1a517945249f6f
|
||||
@@ -1,28 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
COMMIT="84ced6d002789567f2396c75800ffd6dff2866f7"
|
||||
DESCRIPTION="Various asynchronous tools for Nim language"
|
||||
HOMEPAGE="
|
||||
https://github.com/cheatfate/asynctools
|
||||
https://nimble.directory/pkg/asynctools
|
||||
"
|
||||
SRC_URI="https://github.com/cheatfate/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/cheatfate/asynctools"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# disable tests that require network
|
||||
sed "/asyncdns/d" -i ${PN}.nimble || die
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">cheatfate/asynctools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST balls-3.9.6.tar.gz 42281 BLAKE2B 223f3581d7a5e28b23756b70712fec0a2e917d9df465eca7ea347d0b9aff90f042e4fe0e46a75fbf8e47cf2562ebe5311cd4466c04c4a5da45098e94f094b201 SHA512 65e5d52da2bae81d0fde2d409f1d7c273d45e2feefd295c50212e88927fe31c4d6e43c50fc5b33886470e61ca1c50ef8d4487adba92f270a262b18f3b8d749ab
|
||||
DIST balls-3.9.8.tar.gz 42325 BLAKE2B 9dcf3d5e8d83db1495d8dc7f41f4395b990699ca594eab361034068c858698b1cf4f7d8544ad68ef0521659b0a0e7c81560a91df27332450962bf2a830057640 SHA512 705b3d50f122d3268aea7a095798dc3d44b9ae901d05bfbd51f5d1e673ac17fd9c3f0713319aab1bc60665a1dfd23a0cd41af2311aeb6fd4b054de5211728cd1
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo nimble
|
||||
|
||||
DESCRIPTION="A unittest macro to save the world, or at least your Sunday"
|
||||
HOMEPAGE="https://github.com/disruptek/balls"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
=dev-nim/grok-0*
|
||||
=dev-nim/ups-0*
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/disruptek/balls"
|
||||
|
||||
src_test() {
|
||||
edo "${BUILD_DIR}"/${PN}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo nimble
|
||||
|
||||
DESCRIPTION="A unittest macro to save the world, or at least your Sunday"
|
||||
HOMEPAGE="https://github.com/disruptek/balls"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
=dev-nim/grok-0*
|
||||
=dev-nim/ups-0*
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/disruptek/balls"
|
||||
|
||||
src_test() {
|
||||
edo "${BUILD_DIR}"/${PN}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
<?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">disruptek/balls</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/balls/issues</bugs-to>
|
||||
<doc>https://disruptek.github.io/balls/balls.html</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST dotenv-2.0.1.tar.gz 5368 BLAKE2B 7b442145cfbc401626a2ed8b9d28813dfa7bcdd7ae6ed9b02daae7c3dc7bd8103092040848773346209c69db3225fc368d3b3c4a7f52733ea57d1a1888d957c5 SHA512 0fcc777076f48d2ba6ffd352ac5574d8feda5a3b7fd750955321c430914489896e82cf6eb791305403cefa1981e1df6c5ed03ddb530c3458ef34712d23a4b83b
|
||||
@@ -1,20 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="dotenv implementation for Nim"
|
||||
HOMEPAGE="
|
||||
https://github.com/euantorano/dotenv.nim
|
||||
https://nimble.directory/pkg/dotenv
|
||||
"
|
||||
SRC_URI="https://github.com/euantorano/${PN}.nim/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}.nim-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/euantorano/dotenv.nim"
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">euantorano/dotenv.nim</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST flatty-0.3.4.tar.gz 17517 BLAKE2B 0fb7a0a752ab97f84ed7ba21b8751e960c14a69d18eb681190ca12b4eb85dfad873c11ba27a83240f5f02ebf5667e2ecfa1c177e595baaa1c7f2f2eb09636f8c SHA512 ce0845fa89b47128b0ed18821e9687c7fa3edeacac6030972a9865a13afa8c21f450d773ac0a82326d37973b83ee4007b284e9513e13bc081be772005f3dc906
|
||||
@@ -1,26 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Tools and serializer for plain flat binary files"
|
||||
HOMEPAGE="
|
||||
https://github.com/treeform/flatty
|
||||
https://nimble.directory/pkg/flatty
|
||||
"
|
||||
SRC_URI="https://github.com/treeform/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/treeform/flatty"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove failing tests
|
||||
rm tests/test_hexprint.nim || die
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">treeform/flatty</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST frosty-3.0.0.tar.gz 14573 BLAKE2B 8f9e7647a15840b1f92032fa6961ed417b928fc21604eec61cb67a98cdcfacba8dbfaea94941e83af323300d34a7971ace556147b69eb06679a2005a526f6303 SHA512 83cc18dca29da8df288ed29779394f016fc81772273939d0ca3d184440f5d9b75c00e69c34f6c330e8672244fdee6213b6eaf3f68fa840093166d07d6478ad98
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Serialize native Nim types to strings, streams, sockets, or anything else"
|
||||
HOMEPAGE="https://github.com/disruptek/frosty"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? (
|
||||
>dev-nim/balls-2.0.0
|
||||
<dev-nim/balls-4.0.0
|
||||
)"
|
||||
|
||||
set_package_url "https://github.com/disruptek/frosty"
|
||||
@@ -1,10 +0,0 @@
|
||||
<?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">disruptek/frosty</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/frosty/issues</bugs-to>
|
||||
<doc>https://disruptek.github.io/frosty/frosty.html</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST grok-0.6.2.tar.gz 5861 BLAKE2B 1ba1b36c1f18867c86ef58260a836b0d2772587e80116db28d3e532407bd1d1b5d60494bbeac396af9aefbbb3c6f739919f439684cfe1f58e114a3a458659fdb SHA512 096301978fb53f1c1166834caef16993e7f2e6e51af1efd59fa13224353eebb5b638feae7ceabe74e39500e61b12e1622ea127154e4af2bac4ed85a5b54efa3e
|
||||
DIST grok-0.6.4.tar.gz 5991 BLAKE2B 32cf818d0bc5efea6ad3a0cb048a14b96e5760a2223f5478eccf8e97854e1030b8216c19358c62e046e5631b6cd99e973b936ca127fd4b213377d04ad3ca44a5 SHA512 40f5e4e641d013fdb79b34fca21b896387d4ac74788518c5bc50bea783de6cc13ce34f7aace45a0e18a382eed4e566bc6dfa343b07dc57a9bc7fd4ca8befebae
|
||||
@@ -1,16 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Macro library for Nim"
|
||||
HOMEPAGE="https://github.com/disruptek/grok"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/disruptek/grok"
|
||||
@@ -1,16 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Macro library for Nim"
|
||||
HOMEPAGE="https://github.com/disruptek/grok"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/disruptek/grok"
|
||||
@@ -1,9 +0,0 @@
|
||||
<?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">disruptek/grok</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/grok/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST httpbeast-0.4.1.tar.gz 12581 BLAKE2B 47b07a11192f3554ac0e127c94a9309dc963f3d00dd839aae7b3cadb5825fd3a227224f0e215a421150c70e5fa44ad71754da113e0dd00c688e0ed28f115ff7c SHA512 cb06765d89ebc948f3ffc4121b50ff75f5710c5a196ee97ef3c0efa1e3d53fc3fb3d3bb724c4dab49687c7f6754ea44722f672f07293c3c9da9c06c67ccf34c8
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A super-fast epoll-backed and parallel HTTP server"
|
||||
HOMEPAGE="
|
||||
https://github.com/dom96/httpbeast
|
||||
https://nimble.directory/pkg/httpbeast
|
||||
"
|
||||
SRC_URI="https://github.com/dom96/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-nim/asynctools )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
set_package_url "https://github.com/dom96/httpbeast"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use test || nimble_comment_requires asynctools
|
||||
sed "s/nimble c -y/nim c/g" -i tests/tester.nim || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
enim r tests/tester
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">dom96/httpbeast</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,3 +0,0 @@
|
||||
DIST NIA-a776a247bef10a61697530742d70c1c214ad2a78.tar.gz 11454 BLAKE2B 8f4105a0a35d132d029952c77973ce162582b5a0b8210d023f649ab739b88e6d4a65cddd1a0c4ab3bd29a485725aaf9a7cffdc638b2808db58fad91825500cd2 SHA512 1c89cd2c01f3cbe65cc6215acfb858af198cfa0a494da37a49fec07dd9af17d3dfb054abad5b290efb36407520d827a6cc70aafd384943ee3fb94709ed57dd51
|
||||
DIST jester-0.5.0.tar.gz 27750 BLAKE2B 488d2076ecb84e75b50582084a69a8810fea4953421d2fd7aafc282629c2c636511ede82cf05ebaed8b84295d9c7b76fa244b59a35a8349f4e78ec25dd8142ad SHA512 e000635e89560aa267056f1753eec1718e8ccbf9ee966745a5bfe5db7337f102f43a76a0e8d89961f607c517ecab40919027e3a8a12e86355c76db01897a21b8
|
||||
DIST jester-0.6.0.tar.gz 29230 BLAKE2B 4cf1221ed4dcf4b4f1301aa0b2a1c18cffe1987a96f51feb32331e98c9033dc213b39c7f5a26f1d092ed52b6dce5a77fc83524fc4adbbdfde799b14a13816626 SHA512 a44c146bb73c3969ee98edf91f2c6fee7e52cc3026a0c0feea9f046de486f247f303a9c073a0d1cb902d2af03e638f67fea74632fd8e4e470dd0fbc288e1cd15
|
||||
@@ -1,15 +0,0 @@
|
||||
Remove Tweeter test
|
||||
|
||||
--- a/tests/tester.nim
|
||||
+++ b/tests/tester.nim
|
||||
@@ -286,10 +286,5 @@ when isMainModule:
|
||||
issue150(useStdLib=true)
|
||||
customRouterTest(useStdLib=false)
|
||||
customRouterTest(useStdLib=true)
|
||||
-
|
||||
- # Verify that Nim in Action Tweeter still compiles.
|
||||
- test "Nim in Action - Tweeter":
|
||||
- let path = "tests/nim-in-action-code/Chapter7/Tweeter/src/tweeter.nim"
|
||||
- check execCmd("nim c --path:. " & path) == QuitSuccess
|
||||
finally:
|
||||
doAssert execCmd("kill -15 " & $serverProcess.processID()) == QuitSuccess
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A sinatra-like web framework for Nim"
|
||||
HOMEPAGE="
|
||||
https://github.com/dom96/jester
|
||||
https://nimble.directory/pkg/jester
|
||||
"
|
||||
SRC_URI="https://github.com/dom96/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
# can't deselect broken tests
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-nim/httpbeast"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-nim/asynctools
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( {changelog,readme,todo}.markdown )
|
||||
|
||||
set_package_url "https://github.com/dom96/jester"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed "s|https://github.com/timotheecour/\(asynctools\)|\1|g" \
|
||||
-i *.nimble || die
|
||||
use test || nimble_comment_requires asynctools
|
||||
|
||||
sed "s/nimble \(c --hints:off\) -y/nim \1/g" -i tests/tester.nim || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
enim r tests/tester
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
NIA_COMMIT="a776a247bef10a61697530742d70c1c214ad2a78"
|
||||
DESCRIPTION="A sinatra-like web framework for Nim"
|
||||
HOMEPAGE="
|
||||
https://github.com/dom96/jester
|
||||
https://nimble.directory/pkg/jester
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dom96/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? ( https://github.com/dom96/nim-in-action-code/archive/${NIA_COMMIT}.tar.gz -> NIA-${NIA_COMMIT}.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-nim/httpbeast"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-libs/libpcre:3
|
||||
dev-nim/asynctools
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-remove-test.patch )
|
||||
|
||||
DOCS=( {changelog,readme,todo}.markdown )
|
||||
|
||||
set_package_url "https://github.com/dom96/jester"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if use test; then
|
||||
rmdir "${S}"/tests/nim-in-action-code || die
|
||||
mv "${WORKDIR}"/nim-in-action-code-${NIA_COMMIT} ${S}/tests/nim-in-action-code || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed "s/nimble \(c --hints:off\) -y/nim \1/g" -i tests/tester.nim || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
enim r tests/tester
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">dom96/jester</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST jsony-1.1.3_p20220114.tar.gz 19390 BLAKE2B 814844f1c68ab3cc5213309fc8fb1a22dbd00674326d7d073dd5a3f455fc9a97516d817c5f947bfbaaf307810eb39be59ba271b7e7270f78107d7c873cc51588 SHA512 5a3da0de68fa5b1379f4002f10477f294e90b94fe8bedb2393d5c8d4381f2c17cedec0ba407086dea302b5655c564b5ea900c9862b3a924e8f5b909d3ac635f7
|
||||
DIST jsony-1.1.5.tar.gz 20236 BLAKE2B 6e892ec95bd4548157db7c9f353b61e95c7236144e22e09085338297d78f591cb9063bf3511ecb1dea2b479cc5efffd6e01245f8a7651eb978e492d96821aa9a SHA512 f00dda7bbdfd1a2b2113503026bfe92a3dd10143e2036687a6eff653e718ce64471535a00a5e1dd90af608586337a6bcd8baa40223396379383ae2261a9f9d11
|
||||
@@ -1,21 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
COMMIT="d0e69bddf83874e15b5c2f52f8b1386ac080b443"
|
||||
DESCRIPTION="A loose direct to object json parser with hooks"
|
||||
HOMEPAGE="
|
||||
https://github.com/treeform/jsony
|
||||
https://nimble.directory/pkg/jsony
|
||||
"
|
||||
SRC_URI="https://github.com/treeform/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV%_*}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/treeform/jsony"
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A loose direct to object json parser with hooks"
|
||||
HOMEPAGE="
|
||||
https://github.com/treeform/jsony
|
||||
https://nimble.directory/pkg/jsony
|
||||
"
|
||||
SRC_URI="https://github.com/treeform/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/treeform/jsony"
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">treeform/jsony</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST karax-1.2.3.tar.gz 195125 BLAKE2B 54fdfe176db181d45c0894540f10b15fbccaea2a5d565b65a14209b638e55252392617cc388d7a511a32240c8809b90bc66efaeea01a9ea2ee347a0004fb314b SHA512 1ee82ba188f2e21357a5dca7b00583fef7813d03ba9c3d666c304896b26a64a29d8fc5bbca2d19f1e4fbe8819226420d0693d5e8bbd10463c7cab8dc6a7a9b1e
|
||||
DIST karax-1.3.0.tar.gz 196032 BLAKE2B 842d8feb759267efc17b9a7d6ef1498ce2f7f1bd8f922ecaef58e68e76eab174471bad648be28c771b1881bb19cf76c73d5aad5816402c61486aa7018370704c SHA512 bdc9d641059ab8bafb7378c436d270a5c15ad65a5b01fcbdacc730e361c9ed59813ea473af4a8c67b3d89c44c72765a7b16b683beced065d40fb554b95a4ca46
|
||||
@@ -1,32 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a framework for developing single page applications in Nim"
|
||||
HOMEPAGE="
|
||||
https://github.com/karaxnim/karax
|
||||
https://nimble.directory/pkg/karax
|
||||
"
|
||||
SRC_URI="https://github.com/${PN}nim/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-nim/dotenv
|
||||
dev-nim/ws
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
net-libs/nodejs
|
||||
)
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/karaxnim/karax"
|
||||
@@ -1,32 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a framework for developing single page applications in Nim"
|
||||
HOMEPAGE="
|
||||
https://github.com/karaxnim/karax
|
||||
https://nimble.directory/pkg/karax
|
||||
"
|
||||
SRC_URI="https://github.com/${PN}nim/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-nim/dotenv
|
||||
dev-nim/ws
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
net-libs/nodejs
|
||||
)
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/karaxnim/karax"
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">karaxnim/karax</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST markdown-0.8.5.tar.gz 123499 BLAKE2B e5b775f446901a54bee00af31b2d23d6f08d9278e12e62f832be9c3cc4e2414c609609ef5dbe07ca16974ccddcbeb04665163f7d761a5026ec8d7c072a422b96 SHA512 1d1188cff1174b318a5c708863a82464ae10d9d6c4bb621e14f5eb618daf491d001a5b9fdd8c06a782a94bcb833a9007a876c234700172f63991b78b1b5eb33f
|
||||
DIST markdown-0.8.7.tar.gz 124239 BLAKE2B 8be0029d8d2a979cb283c19feed81660c9ac81567d1f98a0bf28fa3a3351d693ef7b4c210d681257e8acfb9160f12ba3adcc6b826be148a62abdc0976dfe57a1 SHA512 6483ec61ed8b6391140a935ebe022e106108021c8abe501a424ce05f66199790aa67411d0744cd5cd44b6d8d88e0d61a4562d9ef07be156b0b50e4830b6991b6
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A Markdown Parser in Nim World"
|
||||
HOMEPAGE="
|
||||
https://github.com/soasme/nim-markdown
|
||||
https://nimble.directory/pkg/markdown
|
||||
"
|
||||
SRC_URI="https://github.com/soasme/nim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/nim-${P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/soasme/nim-markdown"
|
||||
|
||||
src_install() {
|
||||
nimble_src_install
|
||||
mv "${ED}"/usr/bin/{markdown,nim-markdown} || die
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A Markdown Parser in Nim World"
|
||||
HOMEPAGE="
|
||||
https://github.com/soasme/nim-markdown
|
||||
https://nimble.directory/pkg/markdown
|
||||
"
|
||||
SRC_URI="https://github.com/soasme/nim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/nim-${P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-libs/libpcre:3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
set_package_url "https://github.com/soasme/nim-markdown"
|
||||
|
||||
src_install() {
|
||||
nimble_src_install
|
||||
mv "${ED}"/usr/bin/{markdown,nim-markdown} || die
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">soasme/nim-markdown</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST nimcrypto-0.5.4_p20210619.tar.gz 2213698 BLAKE2B bb8db63efc40d72c3e6bb60bb94903738da7a94ea84cf25cf1ab92ff9bf2327ada17389267199ff543c8a47b3d2170393a949e0a0a038865dd98b8c23f6304a6 SHA512 a291b51b2185293f53ee575cf108e1483967d150bd3d455b4ab8be31a3be06319643d5ea60804f086614bedd3124caaba74df51f806914fc9b0464c5e06463a0
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">cheatfate/nimcrypto</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit check-reqs nimble
|
||||
|
||||
COMMIT="a5742a9a214ac33f91615f3862c7b099aec43b00"
|
||||
DESCRIPTION="Nim cryptographic library"
|
||||
HOMEPAGE="
|
||||
https://github.com/cheatfate/nimcrypto
|
||||
https://nimble.directory/pkg/nimcrypto
|
||||
"
|
||||
SRC_URI="https://github.com/cheatfate/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CHECKREQS_MEMORY=4G
|
||||
|
||||
HTML_DOCS=( docs/. )
|
||||
|
||||
set_package_url "https://github.com/cheatfate/nimcrypto"
|
||||
|
||||
pkg_pretend() {
|
||||
has test ${FEATURES} && check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
has test ${FEATURES} && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
echo '--path:".."' >> tests/nim.cfg || die
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST npeg-1.2.0.tar.gz 7665405 BLAKE2B e2dd680a7a927d614b58c8b36ad0bc5b0619626b6ab5543458519bd2cae103b05afb4bcbee93e5b89af096a3722113c3844440ae061ab461d83cddf03de57a40 SHA512 270c36748399dcab4d4ec72c5e23e43b925694da540553e815ae37e90011fd1e23a769ce9aeb988ab2f16dded4f01847a58ffd30c5b262396a298038bb086a15
|
||||
DIST npeg-1.2.1.tar.gz 7665477 BLAKE2B aacba00453ee856982941f2ad21b3d089bb0564d4430821973ea0d8d7f2567569609bfd28964e463b007e62e447719bf4a78bc6f0f27eb5d1c18b19d380745d9 SHA512 e737cc3037d7c2b84b6dd405f9a6f4ea53582ce37c35c94cf9b03cb553eba428b53733a27803599c70e10afe4cff6b1ea30fb011df868229e07daf51714fe528
|
||||
@@ -1,10 +0,0 @@
|
||||
<?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">zevv/npeg</remote-id>
|
||||
<bugs-to>https://github.com/zevv/npeg/issues</bugs-to>
|
||||
<doc>https://nimble.directory/docs/npeg</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,22 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a PEG library for Nim"
|
||||
HOMEPAGE="https://github.com/zevv/npeg https://nimble.directory/pkg/npeg"
|
||||
SRC_URI="https://github.com/zevv/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=( {Changelog,INTERNALS,README}.md )
|
||||
|
||||
set_package_url "https://github.com/zevv/npeg"
|
||||
|
||||
src_test() {
|
||||
nimble_build testc
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a PEG library for Nim"
|
||||
HOMEPAGE="https://github.com/zevv/npeg https://nimble.directory/pkg/npeg"
|
||||
SRC_URI="https://github.com/zevv/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=( {Changelog,INTERNALS,README}.md )
|
||||
|
||||
set_package_url "https://github.com/zevv/npeg"
|
||||
|
||||
src_test() {
|
||||
nimble_build testc
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST packedjson-0.2.2.tar.gz 13748 BLAKE2B 44d8d7b4d9e8e10ea5ba1893185d8bcf0d05d735fb24d9d82618f23c9b6f03a4653ddab32e5059609cd619f358d73972504d7231bc6143d60dd84a875b382bbf SHA512 0e0493e55b8bf05624d0e995afad455e7fcf5018985f397feb9b1cf99830836e760fb91b68ec718c9488bb592ad59556d7f737a415fa75f248455858ed304123
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">Araq/packedjson</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="an alternative Nim implementation for JSON"
|
||||
HOMEPAGE="
|
||||
https://github.com/Araq/packedjson
|
||||
https://nimble.directory/pkg/packedjson
|
||||
"
|
||||
SRC_URI="https://github.com/Araq/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/Araq/packedjson"
|
||||
|
||||
src_test() {
|
||||
enim r ${PN}.nim | tee "${T}"/tests.out
|
||||
grep -q "test failed" "${T}"/tests.out && die "tests failed"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST redpool-0.1.0_p20220120.tar.gz 1571 BLAKE2B 47c01533030464ed52c999381d1e569dec909d000ce126586253b3f9cdc9a188bb92f512e476fc79e9d135ee805e085b9a4c132d98e30b786243e78a37e25104 SHA512 f11b45d986fdd8e05d4d03097aa4b7bf9a07c09692a315cdf4f89f3921470d85443c3c3f47184a24e356bbaa97bcc2ca680562f9118cef6aac149adfb2d22a0f
|
||||
@@ -1,14 +0,0 @@
|
||||
<?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">zedeus/redpool</remote-id>
|
||||
<bugs-to>https://github.com/zedeus/redpool/issues</bugs-to>
|
||||
<doc>https://nimble.directory/docs/redpool</doc>
|
||||
<maintainer>
|
||||
<email>zedeus@pm.me</email>
|
||||
<name>Zed</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,23 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
COMMIT="8b7c1db069797300425037c98b825c5d3316f752"
|
||||
DESCRIPTION="Simple Redis connection pool"
|
||||
HOMEPAGE="
|
||||
https://github.com/zedeus/redpool
|
||||
https://nimble.directory/pkg/redpool
|
||||
"
|
||||
SRC_URI="https://github.com/zedeus/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-nim/zedeus_redis"
|
||||
|
||||
set_package_url "https://github.com/zedeus/redpool"
|
||||
@@ -1 +0,0 @@
|
||||
DIST sass-0.2.0.tar.gz 4768 BLAKE2B 6dd6d625caa96ed85b513950eb4f28598eb00d37ea7817bf6dcb2d84a2a06c118955ea1ebb07da759a9b28e02d4c0105e612a0832132511bea2a92491c1338d2 SHA512 9f9a57c07403adcf49845e5d1a6812a9889d9823c6b49a89b0cae863cca2810547703680934511ead14e2f1b995418702fb026fa9cc4199d8b764746f30d057a
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">dom96/sass</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,22 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A wrapper for the libsass library"
|
||||
HOMEPAGE="
|
||||
https://github.com/dom96/sass
|
||||
https://nimble.directory/pkg/sass
|
||||
"
|
||||
SRC_URI="https://github.com/dom96/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-libs/libsass"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
set_package_url "https://github.com/dom96/sass"
|
||||
@@ -1 +0,0 @@
|
||||
DIST supersnappy-2.1.3.tar.gz 9618144 BLAKE2B 953087a338a3a6a762e2a1897152d2045088b37346713f819b6606c34bfb1a288ff6d1f1cc3a347465fba8f07c30aa7ea1d790337d61ef542fbb42cd72ea4964 SHA512 96a1e0ad0882e04f407663072794ae6c4623a69a283a741d07ce015cf04083f83628ac7773f0b2891494f72e65a292f3ebea237034139d7b856aaa27ecf05cd9
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">guzba/supersnappy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Nim implementation of Google's Snappy compression"
|
||||
HOMEPAGE="
|
||||
https://github.com/guzba/supersnappy
|
||||
https://nimble.directory/pkg/supersnappy
|
||||
"
|
||||
SRC_URI="https://github.com/guzba/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/guzba/supersnappy"
|
||||
@@ -1 +0,0 @@
|
||||
DIST sync-1.5.0.tar.gz 75216 BLAKE2B 9de2415cd591d0094b7bdbb0a988a3547434d099e97f41eaca225e33bbd31a3d3d253f802d60f01455e21d91f192d604e4060824f9e7da12e507cc9236ef4480 SHA512 4943afff8e219283042001c43e7e47297197c598c5885dd958f29d42d96ee911582aff56a519305a9ffa87e2e8dffa8f2d1586d94fe9758c2aab08f6743480ab
|
||||
@@ -1,10 +0,0 @@
|
||||
<?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">planetis-m/sync</remote-id>
|
||||
<bugs-to>https://github.com/planetis-m/sync/issues</bugs-to>
|
||||
<doc>https://planetis-m.github.io/sync/index.html</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Useful synchronization primitives"
|
||||
HOMEPAGE="https://github.com/planetis-m/sync https://nimble.directory/pkg/sync"
|
||||
SRC_URI="https://github.com/planetis-m/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/planetis-m/sync"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove failing tests
|
||||
rm tests/tspsc1.nim || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mynimargs=(
|
||||
--threads:on
|
||||
)
|
||||
nimble_src_configure
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST synthesis-0.2.0.tar.gz 659395 BLAKE2B a4ef5c92e385fbc3fc6f9bd70263f3d37d61f6018d58e30c33d8d95edd829bfdd607d48f489c4ef6dc28f8a7a5305388a77147a768ca88782fdba492597bd318 SHA512 30dc72f55cd21965759fd7e32d9fb0fcd0cc5584d2333219f40e10a198d3169262f3a95346d6da0d226d7d476c7d11fbe0390355e7d169172b1d13cc9bd3539c
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">mratsim/Synthesis</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,20 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="A compile-time, compact, fast, without allocation, state-machine generator"
|
||||
HOMEPAGE="
|
||||
https://github.com/mratsim/Synthesis
|
||||
https://nimble.directory/pkg/synthesis
|
||||
"
|
||||
SRC_URI="https://github.com/mratsim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P^}"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/mratsim/Synthesis"
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST ups-0.0.8.tar.gz 17670 BLAKE2B ba26f0203ca175a8786ba596124192c9e6dcd53322651d9cc98bdb5b58ea5bd2179863c2ac0cc65b18857dd3acc8c7d0ff7117ab63ee6f19d69c7646fe3eac4a SHA512 8cb754a4d4c84dde1da7e89c42603b9e2c333d09f3509b3d28de991a2f1fdac20d375eac6a99e0e76c40dc182d0c61ffd7165c4d16b44ad0c91acf5403df2d9c
|
||||
DIST ups-0.0.9.tar.gz 17666 BLAKE2B f9b8ea94e3a6f190275b15ab0f9aa9a4bab18505f28dd4db8d82d540e4aabb1c72bfdaf0d6f8513f7bc43e35b3e42fd08cf747f15cfd6e52feafb6a5675c9792 SHA512 652bf327f71b40db86c508850e3049713e2f8087f774a92cc3ecd7b654f31d713824580ad9977544a89e981417c99ad5bcaf513850faf17e2818acce064864a4
|
||||
@@ -1,9 +0,0 @@
|
||||
<?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">disruptek/ups</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/ups/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,23 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a package handler"
|
||||
HOMEPAGE="https://github.com/disruptek/ups"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="<dev-nim/npeg-2.0:*"
|
||||
DEPEND="test? ( ${RDEPEND} )"
|
||||
BDEPEND="test? ( dev-nim/balls )"
|
||||
|
||||
set_package_url "https://github.com/disruptek/ups"
|
||||
@@ -1,23 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a package handler"
|
||||
HOMEPAGE="https://github.com/disruptek/ups"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="<dev-nim/npeg-2.0:*"
|
||||
DEPEND="test? ( ${RDEPEND} )"
|
||||
BDEPEND="test? ( dev-nim/balls )"
|
||||
|
||||
set_package_url "https://github.com/disruptek/ups"
|
||||
@@ -1 +0,0 @@
|
||||
DIST weave-0.4.0.tar.gz 1150585 BLAKE2B b60588853fbd5b0535941d78e1830f2b19fe2e58e62bd3ebcf10c9b749b5486ae0b92b434c293539bc2950da2e333a0c2bef01634db6ec33c1958cae02344776 SHA512 a836b6a0bf497af90c8de4f389b31e5644846a240294fc8b81df046792df3ab49ab0ff59191aa19a61fe12c162c0c80d96685e9a0e51fe1bc881ebb9ae54b7f4
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">mratsim/weave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a state-of-the-art multithreading runtime"
|
||||
HOMEPAGE="
|
||||
https://github.com/mratsim/weave
|
||||
https://nimble.directory/pkg/weave
|
||||
"
|
||||
SRC_URI="https://github.com/mratsim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-nim/synthesis"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-nim/cligen
|
||||
)
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/mratsim/weave"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# failing tests
|
||||
sed "/weave\/parallel_for.nim/d" -i ${PN}.nimble || die
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST ws-0.5.0.tar.gz 2279043 BLAKE2B 3bfce18e21113fa9d2b604a29bd0ed13929318885ba0e3012998848c043fc3348fc7a742103c0d10bc6d4a7754b15e08ec922609c063229fda26a7e36a0c796e SHA512 f0a4a54f42bddd1fb61400c2b5e2db08a1d2d47e533c0b2b3c65e6ee47e171c9339e85d38531e255b5520103f587c44c5722907d4f5b621f240273c460ac0f2f
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">treeform/ws</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,26 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Simple WebSocket library for nim"
|
||||
HOMEPAGE="
|
||||
https://github.com/treeform/ws
|
||||
https://nimble.directory/pkg/ws
|
||||
"
|
||||
SRC_URI="https://github.com/treeform/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/treeform/ws"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove failing tests
|
||||
rm tests/test_timeout.nim || die
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST zedeus_redis-0.3.0_p20211226.tar.gz 14502 BLAKE2B ac88fe57e87bc9718914d8fa1364bd9c7ad52af7f192507fe1ebdb9b37aabdee047a96bc3eaa4763327ed0d65f6b83fa3e182b9717161611ccabd7f85d9dd7de SHA512 b4e0fdbdc9ae5a8cc17cca16db6b18a9832b079f772cb99f80e1147d0c7c65b6c4d6701cefbb6ce765c600035564f6b4d00ddfdfcb65592b9f4628e97d6b6873
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">zedeus/redis</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit databases nimble
|
||||
|
||||
MY_PN="redis"
|
||||
COMMIT="d0a0e6fb3010015f0cc483ca2e540ace02446570"
|
||||
DESCRIPTION="Fork of the official redis client for Nim"
|
||||
HOMEPAGE="https://github.com/zedeus/redis"
|
||||
SRC_URI="https://github.com/zedeus/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( ${DATABASES_DEPEND[redis]} )"
|
||||
|
||||
set_package_url "https://github.com/zedeus/redis"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv redis.nimble ${PN}.nimble || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests that don't require redis, currently broken
|
||||
#enim r tests/tawaitorder.nim
|
||||
|
||||
# Tests that require redis
|
||||
eredis --start
|
||||
nimble_src_test
|
||||
eredis --stop
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST zippy-0.10.10.tar.gz 33638312 BLAKE2B 93567c9da9f95cb0d24f1597ed451f3b02af813f8f559f7c616fd79c14438bb5cd5e9695dbe52d1eb18402a4352842bb5d54a8eb7c0ac011eef52d59a554996b SHA512 5dc84f98412c6f4c7469547adee64fff2b656a21b25f63e0538213dd9fa3d39bd64ab74579c3fdd7607c8493ef758e88378f332f346d15218b6f8368d5e1cea5
|
||||
DIST zippy-0.10.9.tar.gz 33638556 BLAKE2B 5298bde81ac5281ed51b4a895eeba7f569191fa42246f835f28a13a0cd83850c37f18621a53b9a740ab605fcba94c605f32be1ac8bd09069027eb68b895384ee SHA512 6f045d15ea51b0f55b7d2aa3be51fd23fadb78d92e603432935245f3adea09e9fc9cbbd9511f46b7bef1c1affa8680f088c3abaf31d79adc1fa741961af005fb
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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">guzba/zippy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Pure Nim implementation of deflate, zlib, gzip and zip"
|
||||
HOMEPAGE="
|
||||
https://github.com/guzba/zippy
|
||||
https://nimble.directory/pkg/zippy
|
||||
"
|
||||
SRC_URI="https://github.com/guzba/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/guzba/zippy"
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Pure Nim implementation of deflate, zlib, gzip and zip"
|
||||
HOMEPAGE="
|
||||
https://github.com/guzba/zippy
|
||||
https://nimble.directory/pkg/zippy
|
||||
"
|
||||
SRC_URI="https://github.com/guzba/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/guzba/zippy"
|
||||
@@ -382,16 +382,19 @@ IUSE="wayland"
|
||||
DEPEND="
|
||||
acct-group/input
|
||||
dev-libs/openssl
|
||||
sys-apps/dbus
|
||||
x11-libs/wxGTK
|
||||
wayland? (
|
||||
x11-libs/libxkbcommon[wayland]
|
||||
)
|
||||
!wayland? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXtst
|
||||
x11-libs/libxkbcommon[X]
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
@@ -24,6 +24,7 @@ DEPEND="
|
||||
dev-libs/wayland
|
||||
<media-libs/fcft-4.0.0
|
||||
>=media-libs/fcft-3.0.0
|
||||
media-libs/fontconfig
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
cairo? ( x11-libs/cairo )
|
||||
@@ -18,10 +18,10 @@ RESTRICT="!test? ( test )"
|
||||
RDEPEND="
|
||||
dev-libs/inih
|
||||
dev-libs/wayland
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/wayland-protocols
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/wayland-scanner
|
||||
1
net-im/maubot/Manifest
Normal file
1
net-im/maubot/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST maubot-0.4.2.tar.gz 1981478 BLAKE2B 47ed5ef89b37099ee071a08914bf0f7ae49c7f53786696d29e5f5a58ecae7dab4707b7bd2ac59bbc8246778a9c0ef487d5724fe5b61342f52637e0a0c74a7298 SHA512 136cc8870de804f0cf8b85efa21ed16ef56f803c64e8f04562b5c69402573596edf87a9c783670d09878f4cbf59613553ce6898c11aa166248d02d26704f7921
|
||||
28
net-im/maubot/files/maubot.initd
Normal file
28
net-im/maubot/files/maubot.initd
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
name="maubot daemon"
|
||||
description="A plugin-based Matrix bot system"
|
||||
module="maubot"
|
||||
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
command="/usr/bin/python"
|
||||
command_args="-m ${module} -c /etc/maubot/${module}.yaml"
|
||||
command_background=true
|
||||
command_user="maubot:maubot"
|
||||
|
||||
output_log="/var/log/maubot/maubot_daemon.log"
|
||||
error_log="/var/log/maubot/maubot_daemon.log"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0755 -o "$command_user" /var/lib/maubot
|
||||
checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/plugins
|
||||
checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/logs
|
||||
checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/trash
|
||||
checkpath -f -m 0644 -o "$command_user" "$output_log"
|
||||
}
|
||||
12
net-im/maubot/files/maubot.service
Normal file
12
net-im/maubot/files/maubot.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=A plugin-based Matrix bot system
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=maubot
|
||||
Group=maubot
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/python -m maubot -c /etc/maubot/maubot.yaml
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
61
net-im/maubot/maubot-0.4.2.ebuild
Normal file
61
net-im/maubot/maubot-0.4.2.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi systemd
|
||||
|
||||
DESCRIPTION="Plugin-based Matrix bot system"
|
||||
HOMEPAGE="https://github.com/maubot/maubot/"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/maubot
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiosqlite[${PYTHON_USEDEP}]
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/asyncpg[${PYTHON_USEDEP}]
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/cryptg[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/mautrix[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
dev-python/python-olm[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/unpaddedbase64[${PYTHON_USEDEP}]
|
||||
dev-python/yarl[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
keepdir /var/log/maubot
|
||||
fowners root:maubot /var/log/maubot
|
||||
fperms 770 /var/log/maubot
|
||||
sed -i -e "s/\.\/${PN}.log/\/var\/log\/maubot\/${PN}.log/" "${ED}/usr/example-config.yaml" || die
|
||||
sed -i -e "s/\.\/plugins/\/var\/lib\/maubot\/plugins/g" "${ED}/usr/example-config.yaml" || die
|
||||
sed -i -e "s/\.\/trash/\/var\/lib\/maubot\/trash/g" "${ED}/usr/example-config.yaml" || die
|
||||
|
||||
insinto "/etc/maubot"
|
||||
newins "${ED}/usr/example-config.yaml" "${PN}.yaml"
|
||||
rm "${ED}/usr/example-config.yaml" || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
fowners -R root:maubot /etc/maubot
|
||||
fperms -R 770 /etc/maubot
|
||||
}
|
||||
19
net-im/maubot/metadata.xml
Normal file
19
net-im/maubot/metadata.xml
Normal file
@@ -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">
|
||||
<name>Julien Roy</name>
|
||||
<email>julien@jroy.ca</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Tulir Asokan</name>
|
||||
<email>tulir@maunium.net</email>
|
||||
</maintainer>
|
||||
<changelog>https://github.com/maubot/maubot/releases</changelog>
|
||||
<doc>https://docs.mau.fi/maubot/</doc>
|
||||
<bugs-to>https://github.com/maubot/maubot/issues</bugs-to>
|
||||
<remote-id type="github">maubot/maubot</remote-id>
|
||||
<remote-id type="pypi">maubot</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -117,39 +117,6 @@ dev-python/evernote3
|
||||
dev-python/python-oauth2
|
||||
dev-python/oauth2
|
||||
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2024-04-20)
|
||||
# With Twitter's complete removal of Guest Accounts, Nitter is dead and will
|
||||
# most likely stay so (https://github.com/zedeus/nitter/issues/1197).
|
||||
# also mask dependencies not claimed by anyone else
|
||||
# Removal on 2024-05-23.
|
||||
www-apps/nitter
|
||||
acct-user/nitter
|
||||
acct-group/nitter
|
||||
dev-nim/asynctools
|
||||
dev-nim/balls
|
||||
dev-nim/dotenv
|
||||
dev-nim/flatty
|
||||
dev-nim/frosty
|
||||
dev-nim/grok
|
||||
dev-nim/httpbeast
|
||||
dev-nim/jester
|
||||
dev-nim/jsony
|
||||
dev-nim/karax
|
||||
dev-nim/markdown
|
||||
dev-nim/nimcrypto
|
||||
dev-nim/npeg
|
||||
dev-nim/packedjson
|
||||
dev-nim/redpool
|
||||
dev-nim/sass
|
||||
dev-nim/supersnappy
|
||||
dev-nim/sync
|
||||
dev-nim/synthesis
|
||||
dev-nim/ups
|
||||
dev-nim/weave
|
||||
dev-nim/ws
|
||||
dev-nim/zedeus_redis
|
||||
dev-nim/zippy
|
||||
|
||||
# Julien Roy <julien@jroy.ca> (2024-03-21)
|
||||
# sys-libs/libucontext is masked in ::gentoo
|
||||
sys-libs/gcompat
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST nitter-2023.05.20.tar.gz 1184325 BLAKE2B aefeade24bd8b34303d3b0bd1280ad48e2b898c603bbaf5bf93a712fc0e59aec507340209483a72378bd4e72f94b262f13c37bca6323e07911e1f50d4cf556fd SHA512 03cbfef15eed61092cc03549755f3eb96be42999d1af652210df112fe41aea4b68aadd7a45faedb84702e8b852fa09c7ee29c908c983a5a9a8ec2d509d063c9a
|
||||
DIST nitter-2023.07.12.tar.gz 1184928 BLAKE2B 02658a4d89205c5ac8d302e51b9628714c72e2bedb40785c0018ccddc3ca74185e1894228792e05e0c67f6527f7bd98cd10f76a9a880ee2c2083f43948fbf0ca SHA512 9ac70ae5e5f954e14dd1dd8cfc82d8ec8058ae228b61f5639a23a5959d7611833f99b7e6dd90b6cc26ab5ed4244c2027d5b5ca91daac338f877b63eabd275f8b
|
||||
@@ -1,48 +0,0 @@
|
||||
# This is an example. Copy this file to /etc/nitter/nitter.conf and edit to
|
||||
# match your preferences.
|
||||
|
||||
[Server]
|
||||
address = "0.0.0.0"
|
||||
port = 8080
|
||||
https = false # disable to enable cookies when not using https
|
||||
httpMaxConnections = 100
|
||||
staticDir = "/usr/share/nitter/public"
|
||||
title = "nitter"
|
||||
hostname = "nitter.net"
|
||||
|
||||
[Cache]
|
||||
listMinutes = 240 # how long to cache list info (not the tweets, so keep it high)
|
||||
rssMinutes = 10 # how long to cache rss queries
|
||||
redisHost = "localhost" # Change to "nitter-redis" if using docker-compose
|
||||
redisPort = 6379
|
||||
redisPassword = ""
|
||||
redisConnections = 20 # connection pool size
|
||||
redisMaxConnections = 30
|
||||
# max, new connections are opened when none are available, but if the pool size
|
||||
# goes above this, they're closed when released. don't worry about this unless
|
||||
# you receive tons of requests per second
|
||||
|
||||
[Config]
|
||||
hmacKey = "secretkey" # random key for cryptographic signing of video urls
|
||||
base64Media = false # use base64 encoding for proxied media urls
|
||||
enableRSS = true # set this to false to disable RSS feeds
|
||||
enableDebug = false # enable request logs and debug endpoints
|
||||
proxy = "" # http/https url, SOCKS proxies are not supported
|
||||
proxyAuth = ""
|
||||
tokenCount = 10
|
||||
# minimum amount of usable tokens. tokens are used to authorize API requests,
|
||||
# but they expire after ~1 hour, and have a limit of 187 requests.
|
||||
# the limit gets reset every 15 minutes, and the pool is filled up so there's
|
||||
# always at least $tokenCount usable tokens. again, only increase this if
|
||||
# you receive major bursts all the time
|
||||
|
||||
# Change default preferences here, see src/prefs_impl.nim for a complete list
|
||||
[Preferences]
|
||||
theme = "Nitter"
|
||||
replaceTwitter = "nitter.net"
|
||||
replaceYouTube = "piped.kavin.rocks"
|
||||
replaceReddit = "teddit.net"
|
||||
replaceInstagram = "bibliogram.art"
|
||||
proxyVideos = true
|
||||
hlsPlayback = false
|
||||
infiniteScroll = false
|
||||
@@ -1,30 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: ${NITTER_CONF_FILE:="/etc/nitter/${RC_SVCNAME}.conf"}
|
||||
export NITTER_CONF_FILE
|
||||
|
||||
command="/usr/bin/nitter"
|
||||
command_background=yes
|
||||
command_user="nitter:nitter"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
logpath="/var/log/nitter"
|
||||
output_log="${logpath}/${RC_SVCNAME}.log"
|
||||
error_log="${output_log}"
|
||||
|
||||
depend() {
|
||||
need redis
|
||||
use net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -do "${command_user}" "${logpath}"
|
||||
checkpath -fo "${command_user}" "${output_log}"
|
||||
|
||||
if [ ! -f "${NITTER_CONF_FILE}" ]; then
|
||||
eerror "Configuration file '${NITTER_CONF_FILE}' not found"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=Nitter
|
||||
After=network.service
|
||||
Requires=redis.service
|
||||
|
||||
[Service]
|
||||
User=nitter
|
||||
Environment="NITTER_CONF_FILE=/etc/nitter/nitter.conf"
|
||||
ExecStart=/usr/bin/nitter
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user