parent
e6ff429576
commit
fad956fd4a
Binary file not shown.
Binary file not shown.
@ -1,6 +1,9 @@
|
||||
DIST ansible-core-2.14.11.tar.gz 3144040 BLAKE2B b9ae1b284219650a764af6b2a341172730cbfe3481b9ff3d1e33549ddd9b687071455a6349124019f0dd8448d5c61ada9e0011375f2ffc74ca4ae44cd1ce285b SHA512 778d7b2646d59ac45994a0d33e59d0f85ca2cbf58605d94185fc86d9bc782d642d155c056213703c95e5b144939e287176096d833b9487971efa5cc22624bd27
|
||||
DIST ansible-core-2.14.12.tar.gz 3144432 BLAKE2B 7c7e1f73a19e6033b7b230ac6505d34aeb57b75bfe0ece88332b98aa1cd0c6a27eb843829cbe25b5956dd602143171a6eea313cdd97f53b0ddeceefe905955e5 SHA512 648835f2b025ca37c1b88a47eb34ce972c15e66563e14573b9ad9e518cf0d96af882784495311724a5d66cb028fc65aa351e56f827d328032a95c9fb0c882bd8
|
||||
DIST ansible-core-2.14.13.tar.gz 3145413 BLAKE2B 75b11feaaefa9a63c6f83f64c796ceacf7c6b08322ac0b85f6dcf968db7b80cc97262ea6f8f839e5e41e800ad7cae610e96f312c1ae0f58882c8891246a81b8a SHA512 195885815d40448d8497eae9533a4104c4b9f17ab3a812d544a403f41d2e77e7be2c15bae5a6df07563499052beb273580a569d51b667d0a9c5a16e55b35258a
|
||||
DIST ansible-core-2.15.6.tar.gz 3154982 BLAKE2B 3c69671639d11e13aab266659fffeea2a213b8ed0e87d343926791428f4ad1c5a5e32e1d841eca2080d78af58c2a68b833cfa900b29403a6e86663fe8671154f SHA512 e1876b59c3393429d42e03bb74252e0f22f3d7cec8f80c74d2f024e1204c2bfa354c4240a283c16c63186cf8e7a705c2f99b08715ea2dcfe290884ce1f8b9114
|
||||
DIST ansible-core-2.15.7.tar.gz 3159286 BLAKE2B 8efcc68dc01beaf9dfd7b7988dcc8c9581e390813a0b04514c69d674cbf6fef19e8b46950a03b558cd7de0c394d6923ddae85aa8a4f32f60b7abb63f73ad2a3c SHA512 f94416122040c945dc871fa0f897e3bc3d02e43459573bc5e7fa4f1988b1d7b5be306cb48e9ebc59dd111e710c462a5e421312f909f8476d6ae5d3bc6b493c4d
|
||||
DIST ansible-core-2.15.8.tar.gz 3160606 BLAKE2B 439a3f584940e5ab46b43b0b47395e0618a3ea52c67ebcd51667f31220cb038dda35506e7843d177d555b77a55a9d2c6245a916741ab1dcdf222c535afb5f83d SHA512 020191ef4b005abbf799204da68270bd4f13a85c7f23cb9dffe85b1c5c093c0ad86e061211ab9fcc8fd0be9367717fb0baadefb1ebecd3579471120fb2e8647f
|
||||
DIST ansible-core-2.16.0.tar.gz 3155083 BLAKE2B b488548d01bc5a1eb3826533241a35948b029cbc83c8b1d8e78d0f9e2d9c88ee16dbc6858b4e1e3c656fee760ff839d445c2ab6bfa2ae72686933f668113731a SHA512 1a94d958423f8a6b3f74f3c88157c21cced9c5332db2e3f601aa54360a0d9434082f61c2d5c3356beb19cd17b876f27d5c8f6b12e17360334a41ce25cf7fd5c0
|
||||
DIST ansible-core-2.16.1.tar.gz 3162449 BLAKE2B b31b0a7506cd753131745b10734a79af5aa41ce2842e15effda88b81deef59978704d3b8d17b4434a657dc984ad8466a0dff807f63db06c190d8e24509f36327 SHA512 c01ad95fedc47a8467c9ddf00ac05875d11507ad63da4978c1e6a9d17f3ae200da288851175378147302eb590af9fe6071042695faad3b9aee60161a0df27a6b
|
||||
DIST ansible-core-2.16.2.tar.gz 3163899 BLAKE2B 6365dd573ae4a2f3ebfc870ae3ea399b268615333de2ddf7e21323189dfdd9bf61ae836b536c86d713f4a934468ed36835084e06e4b6d9b32c4b633f55353ad9 SHA512 6e2389fc6b34645c0f1566eca960da36616619a5ed5e35b46f3d659979fe519db20d89b4f598344a389f4b6ac33bb660ea91a1a6509002bbf4ac791ea3cb4cbd
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/resolvelib.patch"
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST ansible-7.7.0.tar.gz 40709642 BLAKE2B ee2f8d124f79ca3a3f131bfbc4f93e10d104a38262b7d60edd2a88284275fecdd3acf0e566a5cc81a1fb6a179a0b7c51215f2945d669be4c6af7aa2a4f31ade0 SHA512 7da6845c9a68f2b8c10cf3e4cc6ea347861d5b59daa6ac895731ac79b733c6724d234345054fe9e3bf4ea460345b9026492fda42dce22bfbc027c9b4de093fd9
|
||||
DIST ansible-8.6.0.tar.gz 41548019 BLAKE2B 01506ff418045b138fb7b8cb7c12b30e269c1001a66d2ba3c67fd50542f3823f83f1c85d934985bbeec18ec7275bffdecba47b1a3e6cbb0f350422751eccf319 SHA512 b316f1d6e8ffd4739f142d9add50f39802d8a57bac026f8ab833fd3d07c2ccd9df1d2ba5bcf68b3486db99e12943e8787203e22b16d1ecd1c4c1655a3573cf5d
|
||||
DIST ansible-8.6.1.tar.gz 41550388 BLAKE2B bfa1d1a3fd3a32270f0551942594c117c3637e1556e838ff25fc2116e10e40556fcf0c495228c5aa52238466857194898329cf16dfa9e16d5499a86d80018ea0 SHA512 92cb3909693b54c47b88987aa92b3ca7caa1765f16a7e4c88abf0e3ff70e9d764de145fffdc56d04c40b4d4d6551775cfd7b99423373feffe6706ef80c84baa4
|
||||
DIST ansible-8.7.0.tar.gz 49317896 BLAKE2B d5923753e368e908a569c5f8f261b1afe7c51d5381db190bf7de1e81f0a6359136581852faa2974f174e816944c66e2c0f625d3d62bdde324758309982c90de9 SHA512 6a67f8553c3fa56559e4a31ec627cfe2c5f42e147d94bea305ec4580af9ba8add136092b209a5a3d7f9022407e9d557484f044d23cb227973fe4e4341fed7983
|
||||
DIST ansible-9.0.1.tar.gz 41021796 BLAKE2B d5127e5be9ec2f835e4d32a4a30889f9c0cd50f63f843472b36bce7220a3c7063fefa9e47cba1ea790f44e2a55fd8c1652df49518f76cfa1cac6ad84d7f076c3 SHA512 8ae5f6a3e5039129d3a918a538b6b16644a2b489894cbd8a455cbb71ba73b0b0eeb326b7d72b238698af4f7f19cd4ac3fed8e8d55518f817eeae8651776ae503
|
||||
DIST ansible-9.1.0.tar.gz 48839908 BLAKE2B caa652b339fb93334bff7246d1bab6bbdd9672a096637aa0695cd94a7f50d0e5ca7a1bfeb559792833c97eb9d16486965776b609354dc05ca63b1474d43e767b SHA512 ec6d86b3d05e66053001720b6b7d7bd1dba8bd50917c913e1f08a63b0c94f76a5d69732c78e793d038622a0b8c652860290a89cee1dfb22491a81763923ef843
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=app-admin/ansible-core-2.15.0
|
||||
<app-admin/ansible-core-2.16"
|
||||
|
||||
python_compile() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_install() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=app-admin/ansible-core-2.16.0
|
||||
<app-admin/ansible-core-2.17"
|
||||
|
||||
python_compile() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_install() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
DIST aws-cli-1.30.6.gh.tar.gz 2596217 BLAKE2B 3b4cbd540ede2826d212233e76a4431f090fdaa1848f3ddd5e52c3d637e8ccb6ed406072b5b4b3f62b67a29a995d984bfcf1f961915594459e52199dba2341b8 SHA512 8273d234428eb42e8845052c4122e06bb6d0693d2878296a101fa3ce72c5690787c6151aa8f819db83fe36f5263d14efd1e4b469494da8994d47d1f213c394b3
|
||||
DIST aws-cli-1.31.11.gh.tar.gz 2605881 BLAKE2B 816846d5dd50a382b837cb25e01be330cb345b55819907ddc8bd3a6623752322d5eb79526a42addb85e9b4dedbf86cee0f064f8ae87d9bd2b3ee996751f37265 SHA512 8147f2c39618317755903a49b02cbfacdc514fd76df31fd354526a684c8da97753d7e2429ca9d46f035fc12263cdec847078f7461dd1ed7948d6614d6408debb
|
||||
DIST aws-cli-1.31.12.gh.tar.gz 2606087 BLAKE2B f36825a15265ed7a260b42251dc6ed9b6a414fa1c27a6209395cc195fc1b30f0df3dec3c58deb9a9a003e3c6fa6cde5bd9b28b3f89e03d9adef1852dbc0bf49b SHA512 ef6de63c6540a4ac87280f5d557096a827939db5de258b62cd8b8fed5740e3c866e250c402ab6bd41bfc369891945605c79f5799be76e1166e0fa2495e129da5
|
||||
DIST aws-cli-1.31.13.gh.tar.gz 2606313 BLAKE2B fb2df38db566d07a44eeca9793cd043e58ef773a09122b69a084498ac3eb55ec65177c55d287a48f1739e743b3b642504b9fc87a8b8537fc870844b9a00fe838 SHA512 dde6e3494d841906a3670577f8619742d5957afca53db58cab31a90962ccf368d28aa04f7c3d39ff91be3c96ac6e13a4f399758c2cb73516221c9fdcf70b8d49
|
||||
DIST aws-cli-1.31.6.gh.tar.gz 2605365 BLAKE2B 30e7789a2a4f47b3b4dce9fb3c8083d56ebec8501d66fa03e34309c1c9e0c6302ce79c044fb1aecd879f2784443db5a9927bfb1c22e94883709600f0e1c538b4 SHA512 5da1be164d4e52b255093c0685b4add43a21b2f0259a6ad9b6e6bc1c7bbb17e1ee0db0f6b29ff0227b301d7f66e1d63b3d92047ccef5578b9de6b5579319be6c
|
||||
DIST aws-cli-1.32.0.gh.tar.gz 2605997 BLAKE2B 03d0b9fffd2c0cbd075196902e08e9b3b85b4c542603c6e9bdc981731c2e65b2685d352a74fd355667d7ca398e41fdbc79aede03dea0855458fe940d7245d2fe SHA512 3aa4aba02a35d50a3acc7cce4ab3631795e16ec2cda4588ca55e523c37b26d7128cf0a975d35308344331a060091b7727b18ae593252f99e6953b9bc2ead06bf
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST linode-cli-5.45.2.tar.gz 126870 BLAKE2B adfb0862159fbd1dc887726a9d40c2534526b9fe7326c6340c52ed928aff5c9960b20a5961ed6aac7e276201e52a254fd6ba5e6aaa80da7d68e95cc0dc949f27 SHA512 9a6697b3306434cc4f59ef695d0b51e33f71b2d1be4d942e369a22328c3cbf78da0efc939f39f8da928ba5fb5bc2bc06a6ee5d0c9a8e0deb78b657738f19501d
|
||||
DIST linode-cli-5.46.0.tar.gz 127805 BLAKE2B a1ef51195bb853d57c41763c465885e3d3b429ede4cac4abb6408f9375499122780f5fc45c52e83a60772e88f3ed82d3e4e093e419d651e116a7b8430079cc4e SHA512 70751b1609ae6888325937e6a6855763c170682e9dad7ce82303199922fb48cd5eecc5e86bb25b578c1019ae74a6eee9850b10f6c10852154e91095ad6b38e11
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Linode Command Line Interface"
|
||||
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
dev-python/openapi3[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/rich[${PYTHON_USEDEP}]
|
||||
<dev-python/urllib3-3[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,8 +1,6 @@
|
||||
DIST rsyslog-8.2304.0.tar.gz 3274047 BLAKE2B 13c0e200acf750e9b40b14153270b0f45358ac8be7a9d0e1fa879e686da9f5a3be3b7915e3c90757a42dbdfbf4c36301cfea213aafe5a0481e1b117f28cf3cf6 SHA512 ca8df2d1d38c78d853b1081c731d9f94cad653a915259b699f3a78a88bcf9c9d1d18b91667ef954fc96a0bd251aa3afd2b6264ce5a6b4ca700687a654507b64f
|
||||
DIST rsyslog-8.2306.0.tar.gz 3293380 BLAKE2B cb9ae3fa9f5c8c71491346323b7549d5997b116ec3141296e25871cb8be75f372d1de8b315a6a37e42dd649782790685b30705d1f91151d5561249da508e961d SHA512 4012ea18d49efa75438aa225fec1daafcaadc216cd5c0ecceccdc34688940bbdca9eb19bd9c401e834b023d9b9a5a0870529f7b855bb64c796a55538639dadfc
|
||||
DIST rsyslog-8.2308.0.tar.gz 3346424 BLAKE2B fc55323ab9f7e88cc84f32f95531a8cad87aad22bbb7a23303033bb841c8badc4053a8a9fc302611aeb4288efc148708affa7d873e41b07521cbece7e3ccfc45 SHA512 f8bcbbfe2c5c0a7e56203fc4ff285594cfa27fa7c998db2fe065a3f06b9bc30692626787c509b1f5d081a4b176680183b651625c5e3ccb4580ac59f3980ae8a5
|
||||
DIST rsyslog-8.2310.0.tar.gz 3349174 BLAKE2B df451f473fdf1714d2ff2bf92afe5e53d00395eb21508fd00c628784fa577aaf6fed597f79c99e64f62bd3a5eadde0748ce08e6c082a24a507fa687055599d70 SHA512 f04e14ede8c35e1799eadc711a6e99dbe56d312c7909c7ebed4d4bd489d310a44a5c2d3ed23968fbf3ccff5b580870d0f3ceeb690deb1d1424420fc9d3220696
|
||||
DIST rsyslog-doc-8.2304.0.tar.gz 6586061 BLAKE2B 4680db37eaa8583e21865fafb62ba07ffa235f4184a43bf9a1930166aa26a3bccdc15c43ba26504d157339eb02b05ea95076cf738abc3323eef16e07b42de2af SHA512 1ce8a8cf40cb767e4e62016aa2513f93535a3bd3c47ef34bc1efca007f7afe5c84ca4d30e911903dc8ba529ede0a07feb05ace075b5ef6c1757e5727d11f112e
|
||||
DIST rsyslog-doc-8.2306.0.tar.gz 6637017 BLAKE2B 7b4157bbfcdba6c7ac824ef4369bb2141a33989d4e3d1a95ca6b347f3d3eaa98266f7b7a684a8aa0342a8a38f87d7ae144444f888133619e82fb4802ef12d314 SHA512 eb5df4285ed9f5afe884dae497ed77ad96050a9101e94c8d83125c893998094e27d4fad7b7a42391d72cfdc1bf2aeb9fac8f65d61d8aa5c49dda9d0cac81d777
|
||||
DIST rsyslog-8.2312.0.tar.gz 3358109 BLAKE2B 8b463c07a44efa60b6faeaa466498a2540eefc158efa759479cc6fc36acb04a718dd6ee4015f311343e6b66b6e074d5ed40db29cbcad6c71b42286a58cb92d7c SHA512 a65ca1c6fe2d9dd853d073d93cfd4d007c3533bd10c633113fcf94c4746192945ed0a2b2ff84f9174b55de90ade2a062a0bd556ffe375864fad3772ef8ce39e3
|
||||
DIST rsyslog-doc-8.2308.0.tar.gz 6668327 BLAKE2B ca82fa7b69b19ba03fd30adbdf2bdc37eb7f11c714ec7f79d4cfb352fcdf42aae4cf146a6911ec26212de64057ac23416bb2ca27e8001cbe9f9945fd7c7a931e SHA512 f0a581e2a7642d100cdca94125c39cf00acfc3339114ddad067d726f1526941f52ab33c0f5789f9cbd4197b3e1f3c841da86c71886fa97306990193db8d6c935
|
||||
DIST rsyslog-doc-8.2310.0.tar.gz 6674428 BLAKE2B e951d564a63c57c1d9d130a315c4bc9f4c25c9cfaf83bece1bbda582eb40260f000c7d9805faca550d8df7b0f6074aff6cc86ff877706cad69909040c3dff5b1 SHA512 cf452f3705680fc81495e940ea7d5ae705a6dbfe0e2ce5a87865c3043f79daaec243df20e8aadd9fac6144a3df8f19d7c56fdf19ec68df78e2fdaffa45096143
|
||||
DIST rsyslog-doc-8.2312.0.tar.gz 6621561 BLAKE2B 2aca14d24606e3a125259cad5fa43af61da2b70ba0b1916e5496f3d4eb6a28b612287bb83c3fa610f0f367deedcec4f0b3e93a552643194fdcf552dff3d408b6 SHA512 2fe8ab0e37a6899a545c09ea2586c33ab89a3e3d93ff079f99b15e9b1743423bbe54931684ba8509ed4f578a4b55ea22f6306aca256ee2245f88115a5f44e400
|
||||
|
@ -1,496 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
sys-apps/lsb-release
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? (
|
||||
dev-libs/apr-util
|
||||
www-servers/civetweb
|
||||
virtual/libcrypt:=
|
||||
)
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? (
|
||||
>=dev-libs/hiredis-0.11.0:=
|
||||
dev-libs/libevent[threads(+)]
|
||||
)
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
>=dev-libs/openssl-0.9.8y:0=
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-8.2112.0-pr5024-configure.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
--disable-imfile-tests # Some imfile tests fail (noticed in version 8.2208.0)
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imdocker
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
--enable-fmunflatten
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST ryzen_monitor-1.0.4.tar.gz 33716 BLAKE2B f755cc946b26ea5566c1bd304f84e3a3aee80383d151ec8e702919837d04287d4b3b4000b4f9587003cb20b2be45d4af727eb941c0080772b5f94104d68f8b78 SHA512 93cb55b64db75596da88d8f1f3c5eab38cce52d7ae9bb8b7895d62d39ec0b4c0157bad3ed688c32cc0aecf09eb211614b81159a31c704a0f028751ded46723c5
|
||||
DIST ryzen_monitor-1.0.5.tar.gz 37372 BLAKE2B 021b417a60a284020e7f9e96348f5e0745aede68e01c1b560e2205c4738fd504d4565bbc5b9c6824ea697a8c0a1d981722f9e6e178a8cfa9213b2e703c5f6b72 SHA512 8e1f02f59f40a3e4fe84c805a1053939a20d21e5c40223bb6b7c41716eff361b86e87fc67fd90078d3ffa9d78d2016284af5362aad2212b9cf35979427906ca8
|
||||
DIST ryzen_monitor-1.0.6_pre20220901.tar.gz 37992 BLAKE2B 550e3f4da0d5d22a503953c0746c35c2508915e7722230678943a0227a3a0f8b675a044b0e742fb4b1e77ed8abbb5b6ce5bd256e4ed4cd434076a739a761a5a2 SHA512 1f09759ef7c68c5240bbcaf756d6ed87047f452522352a47d07d7121bc21a230fd679fd4b400728919f489009b162ded050aaa8c3eb0cace15bebe9049cfdb87
|
||||
DIST ryzen_smu-v0.1.5.tar.bz2 415723 BLAKE2B 0fed89aad85a5080d4c1a6ecdaaef6ffe2b70f0cebbf58392c725f1aa626151e4b5335096bd63cf73ff29d6f5768ce6e0a844dc7030e8c1e4dc5e04990521651 SHA512 5793beae8204a16800ed876da2a07d2f477a21cef706fed6076e1dcc6e74118b7c45a330e264302d644fdb49f7c44e4fca53dc67e43b2f2a62b3b1ea4ad00d8f
|
||||
|
@ -1,5 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>negril.nx+gentoo@gmail.com</email>
|
||||
<name>Paul Zander</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">hattedsquirrel/ryzen_monitor</remote-id>
|
||||
<remote-id type="gitlab">leogx9r/ryzen_smu</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
SMU_PN="ryzen_smu"
|
||||
SMU_PV="0.1.5"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Monitor power information of Ryzen processors via the PM table of the SMU"
|
||||
HOMEPAGE="https://github.com/hattedsquirrel/ryzen_monitor"
|
||||
SRC_URI="
|
||||
https://github.com/hattedsquirrel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://gitlab.com/leogx9r/${SMU_PN}/-/archive/v${SMU_PV}/${SMU_PN}-v${SMU_PV}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-admin/ryzen_smu"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz" "${SMU_PN}-v${SMU_PV}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm "src/lib/"* || die
|
||||
cp -a "${WORKDIR}/${SMU_PN}-v${SMU_PV}/lib/libsmu."{c,h} "src/lib/" || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/ryzen_monitor
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
GIT_COMMIT="7529c7cfc2688d9781912c84adfc0343d83dc78c"
|
||||
SMU_PN="ryzen_smu"
|
||||
SMU_PV="0.1.5"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Monitor power information of Ryzen processors via the PM table of the SMU"
|
||||
HOMEPAGE="https://github.com/hattedsquirrel/ryzen_monitor"
|
||||
SRC_URI="
|
||||
https://github.com/hattedsquirrel/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://gitlab.com/leogx9r/${SMU_PN}/-/archive/v${SMU_PV}/${SMU_PN}-v${SMU_PV}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-admin/ryzen_smu"
|
||||
|
||||
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz" "${SMU_PN}-v${SMU_PV}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm "src/lib/"* || die
|
||||
cp -a "${WORKDIR}/${SMU_PN}-v${SMU_PV}/lib/libsmu."{c,h} "src/lib/" || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/ryzen_monitor
|
||||
}
|
@ -1,8 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>negril.nx+gentoo@gmail.com</email>
|
||||
<name>Paul Zander</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">leogx9r/ryzen_smu</remote-id>
|
||||
<remote-id type="gitlab">leogx9r/ryzen_smu</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,247 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||
+zeromq vim-syntax
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
>=dev-python/cryptography-41.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
dev-python/looseversion[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? (
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiosignal[${PYTHON_USEDEP}]
|
||||
>=dev-python/apache-libcloud-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist(-)]
|
||||
>=dev-python/pyopenssl-23.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
cheetah? ( >=dev-python/cheetah3-3.2.2[${PYTHON_USEDEP}] )
|
||||
genshi? ( dev-python/genshi[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
neutron? (
|
||||
>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-19.0.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/apache-libcloud[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2023.07.22[${PYTHON_USEDEP}]
|
||||
dev-python/cherrypy[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-factories-1.0.0_rc28[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-shell-utilities[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-system-statistics[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-custom-exit-code[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
net-dns/bind-tools
|
||||
>=dev-python/virtualenv-20.3.0[${PYTHON_USEDEP}]
|
||||
dev-util/yamllint[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.21.46[${PYTHON_USEDEP}] )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )
|
||||
test? ( cheetah genshi )"
|
||||
RESTRICT="!test? ( test ) x86? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-3003-gentoolkit-revdep.patch"
|
||||
"${FILESDIR}/salt-3005.1-no-entry-points.patch"
|
||||
"${FILESDIR}/salt-3006-skip-tests-that-oom-machine.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# remove tests with external dependencies that may not be available, and
|
||||
# tests that don't work in sandbox
|
||||
rm tests/unit/{test_{zypp_plugins,module_names},utils/test_extend}.py || die
|
||||
rm tests/unit/modules/test_boto_{vpc,secgroup,elb}.py || die
|
||||
rm tests/unit/states/test_boto_vpc.py || die
|
||||
|
||||
#rm tests/support/gitfs.py || die
|
||||
rm tests/pytests/functional/transport/server/test_req_channel.py || die
|
||||
rm tests/pytests/functional/utils/test_async_event_publisher.py || die
|
||||
rm tests/pytests/functional/runners/test_winrepo.py || die
|
||||
rm tests/unit/netapi/rest_tornado/test_saltnado.py || die
|
||||
|
||||
# tests that require network access
|
||||
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||
rm -r tests/integration/cloud || die
|
||||
rm -r tests/kitchen/tests/wordpress/tests || die
|
||||
rm tests/kitchen/test_kitchen.py || die
|
||||
rm tests/unit/modules/test_network.py || die
|
||||
rm tests/pytests/functional/modules/test_pip.py || die
|
||||
rm tests/pytests/unit/client/ssh/test_ssh.py || die
|
||||
rm -r tests/pytests/{integration,functional}/netapi tests/integration/netapi || die
|
||||
|
||||
# tests require root access
|
||||
rm tests/integration/pillar/test_git_pillar.py || die
|
||||
rm tests/integration/states/test_supervisord.py || die
|
||||
rm tests/pytests/scenarios/performance/test_performance.py || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
|
||||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||
find "${S}" -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d ; /pycryptodomex/ d' -i || die
|
||||
# pycryptodome rather than pycryptodomex
|
||||
find "${S}" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:Cryptodome:Crypto:g' -- || die
|
||||
# called_once should be assert_called_once_with
|
||||
find "${S}/tests" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:[.]called_once:.assert_called_once:g' -- || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-5 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -a EPYTEST_DESELECT=(
|
||||
# doesn't like the distutils warning
|
||||
tests/pytests/integration/cli/test_batch.py::test_batch_retcode
|
||||
tests/pytests/integration/cli/test_batch.py::test_multiple_modules_in_batch
|
||||
# hangs indefinitely
|
||||
tests/pytests/unit/test_minion.py::test_master_type_disable
|
||||
# needs root
|
||||
tests/pytests/unit/modules/test_cmdmod.py::test_runas_env_sudo_group
|
||||
# don't like sandbox
|
||||
tests/pytests/functional/cli/test_salt.py::test_help_log
|
||||
tests/pytests/functional/cli/test_salt.py::test_versions_report
|
||||
tests/pytests/integration/ssh/test_pillar_compilation.py::test_gpg_pillar
|
||||
tests/pytests/integration/ssh/test_pillar_compilation.py::test_saltutil_runner
|
||||
tests/unit/utils/test_vt.py::test_split_multibyte_characters_unicode
|
||||
tests/unit/utils/test_vt.py::test_split_multibyte_characters_shiftjis
|
||||
tests/pytests/unit/utils/test_vt.py::test_log_sanitize
|
||||
tests/pytests/unit/client/ssh/test_single.py::test_run_with_pre_flight_args
|
||||
tests/pytests/unit/modules/test_aptpkg.py::test_call_apt_dpkg_lock
|
||||
tests/pytests/unit/modules/test_yumpkg.py::test_get_yum_config
|
||||
tests/pytests/unit/test_master.py::test_fileserver_duration
|
||||
tests/pytests/unit/test_template.py::test_compile_template_str_mkstemp_cleanup
|
||||
tests/pytests/unit/_logging/handlers/test_deferred_stream_handler.py::test_deferred_write_on_flush
|
||||
tests/pytests/unit/_logging/handlers/test_deferred_stream_handler.py::test_sync_with_handlers
|
||||
tests/pytests/unit/modules/test_portage_config.py::test_enforce_nice_config
|
||||
tests/pytests/unit/modules/test_msteams.py::test_post_card
|
||||
tests/pytests/unit/renderers/test_yamlex.py::test_basic
|
||||
tests/pytests/unit/renderers/test_yamlex.py::test_complex
|
||||
tests/pytests/unit/states/test_file.py::test_file_recurse_directory_test
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_anyof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_dict_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_hostname_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_not_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_oneof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_optional_requirements_config_validation
|
||||
# tests that need network access
|
||||
tests/pytests/unit/utils/test_http.py::test_query_proxy
|
||||
tests/pytests/unit/utils/test_http.py::test_backends_decode_body_false
|
||||
tests/pytests/unit/utils/test_http.py::test_backends_decode_body_true
|
||||
tests/pytests/unit/utils/test_network.py::test_isportopen
|
||||
)
|
||||
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 4096 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
local TMPDIR
|
||||
TMPDIR="$(mktemp --directory --tmpdir=/tmp ${PN}-XXXX)" || die
|
||||
(
|
||||
export TMPDIR
|
||||
cleanup() { rm -rf "${TMPDIR}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${TMPDIR}"
|
||||
|
||||
USE_SETUPTOOLS=1 NO_INTERNET=1 SHELL="/bin/bash" \
|
||||
epytest
|
||||
)
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||
HOMEPAGE="https://www.terraform.io/"
|
||||
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="BUSL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
|
||||
BDEPEND="dev-go/gox"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( {README,CHANGELOG}.md )
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED=0
|
||||
gox \
|
||||
-os=$(go env GOOS) \
|
||||
-arch=$(go env GOARCH) \
|
||||
-output bin/terraform \
|
||||
-verbose \
|
||||
. || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to install shell completions please run:"
|
||||
elog " terraform -install-autocomplete"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,52 @@
|
||||
https://github.com/rpm-software-management/rpm/commit/6ad8a71407b173b6c50d389f01edd8a4aecd6807
|
||||
--- a/lib/fsm.c
|
||||
+++ b/lib/fsm.c
|
||||
@@ -1015,27 +1015,28 @@
|
||||
}
|
||||
|
||||
setmeta:
|
||||
- /* Special files require path-based ops */
|
||||
- int mayopen = S_ISREG(fp->sb.st_mode) || S_ISDIR(fp->sb.st_mode);
|
||||
- if (!rc && fd == -1 && mayopen) {
|
||||
- int flags = O_RDONLY;
|
||||
- /* Only follow safe symlinks, and never on temporary files */
|
||||
- if (fp->suffix)
|
||||
- flags |= AT_SYMLINK_NOFOLLOW;
|
||||
- fd = fsmOpenat(di.dirfd, fp->fpath, flags,
|
||||
- S_ISDIR(fp->sb.st_mode));
|
||||
- if (fd < 0)
|
||||
- rc = RPMERR_OPEN_FAILED;
|
||||
- }
|
||||
+ {
|
||||
+ /* Special files require path-based ops */
|
||||
+ int mayopen = S_ISREG(fp->sb.st_mode) || S_ISDIR(fp->sb.st_mode);
|
||||
+ if (!rc && fd == -1 && mayopen) {
|
||||
+ int flags = O_RDONLY;
|
||||
+ /* Only follow safe symlinks, and never on temporary files */
|
||||
+ if (fp->suffix)
|
||||
+ flags |= AT_SYMLINK_NOFOLLOW;
|
||||
+ fd = fsmOpenat(di.dirfd, fp->fpath, flags,
|
||||
+ S_ISDIR(fp->sb.st_mode));
|
||||
+ if (fd < 0)
|
||||
+ rc = RPMERR_OPEN_FAILED;
|
||||
+ }
|
||||
+ if (!rc && fp->setmeta) {
|
||||
+ rc = fsmSetmeta(fd, di.dirfd, fp->fpath,
|
||||
+ fi, plugins, fp->action,
|
||||
+ &fp->sb, nofcaps);
|
||||
+ }
|
||||
|
||||
- if (!rc && fp->setmeta) {
|
||||
- rc = fsmSetmeta(fd, di.dirfd, fp->fpath,
|
||||
- fi, plugins, fp->action,
|
||||
- &fp->sb, nofcaps);
|
||||
- }
|
||||
-
|
||||
- if (fd != firstlinkfile)
|
||||
- fsmClose(&fd);
|
||||
+ if (fd != firstlinkfile)
|
||||
+ fsmClose(&fd);
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Notify on success. */
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST duplicity-1.0.1.tar.gz 1928618 BLAKE2B f7ffdd488e42219b66b6174dbb944283d02910f57cae9fcf849e8f5363986664a49ba7e316d6b3efdce89deec7e4c6a65a95bcb365fa23b928244b5e8f29d48b SHA512 dab8341b990b1899de6080f2539681f0a84f1875fabf04ccd68908e8dcdf55cd31f26d1431488b49ac6b048a1e7ff2e0a0afa27f6eccfd6a20f47dd7193b4563
|
||||
DIST duplicity-1.2.2.tar.gz 1427493 BLAKE2B d30f91054c59695483a60a684ebc11440b1a490dc635fdc856d7e3e75d7c3b8bc3f8680ecec0af435fe3064c292c6ff0db392e6bb33c682e9527561196e842e1 SHA512 5da4addd0742afa93c62c506f49235b396a7d4bb6576bfd5ec223e04936072ef92e874c533f0f7ece3c1460bf017c2e1875d4ed5c08181113e2509dd28b4521b
|
||||
DIST duplicity-1.2.3.tar.gz 1438570 BLAKE2B 12afa69f537d2207343c1638df1cf69ad3e170b2f1368e5d8b86716ccc67564834798e2076a90f021bae8f1d8574ff50f0615fd873cdcddf1399349974d8d4c2 SHA512 d2a31b4ed2c0a188d6d2ac543d3d4a474b4c10028a3005b26f57bd57e8c7441eb96e361aa9805fedc6aa09e76e86d3d1e99800669dfb7b2510233e2c0aba15de
|
||||
DIST duplicity-2.1.0.tar.gz 1502980 BLAKE2B eb90898b75128cd4140f0ab49172da439b675cb512b03c7a449db295ffb6e0beee77773fcf364e69c9303b094ab5572a4bf72fb4fbbbfdec29bc3ab40812ab8f SHA512 c8777903935391b0968aeea562202a175625d6c2cac5cfab422ec0c9c002652b34f14f74a820971a74b2f62c58efea49d37bef3918943210fe623a12278f4ce8
|
||||
DIST duplicity-2.1.1.tar.gz 1420132 BLAKE2B 35cfa7c6c2caa647f3b2046783185973203b5d838c0d1a1a8e24982f1c7f74a1d025e0b0740c0c7bc14d516c59d3e691a2712b19b30882e9dbb411cecb90f4be SHA512 fb19b1723e1e220ca72a41c3678ca29d889b2315c7fd043334d55cc2040d991e66480d71c6cc3f2ee5d17d9e1d9fb24ddc4c0ed771bbbefb6f1f6aa14cbe0347
|
||||
DIST duplicity-2.1.4.tar.gz 1556341 BLAKE2B d8302a7097519fd593fc05c8390101e615eaf11333e9d15e1ba7756b8ed9764709db80df41c741ee39eda0fa6de22c910b53db32d558c1ab09867c66724a056c SHA512 91804c6f4dc13d700cbe4747317f9611f530996de8a22a0907d714fb6f8a7fadc3371c270a2257c24324c0233bb4501a4b7d33aea7631862568c8530f7173ef1
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- duplicity-2.1.0/setup.py 2023-08-30 13:39:42.430023811 -0400
|
||||
+++ duplicity-2.1.0/setup.py 2023-08-30 13:41:59.154868245 -0400
|
||||
@@ -92,17 +92,6 @@
|
||||
'bin/duplicity.1',
|
||||
]
|
||||
),
|
||||
- (f'share/doc/duplicity-{Version}',
|
||||
- [
|
||||
- 'CHANGELOG.md',
|
||||
- 'CONTRIBUTING.md',
|
||||
- 'COPYING',
|
||||
- 'README.md',
|
||||
- 'README-LOG.md',
|
||||
- 'README-REPO.md',
|
||||
- 'README-TESTING.md',
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
# short circuit fot READTHEDOCS
|
@ -0,0 +1,23 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 6711c8a1..2bc0bd95 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -108,18 +108,6 @@ def get_data_files():
|
||||
"bin/duplicity.1",
|
||||
],
|
||||
),
|
||||
- (
|
||||
- f"share/doc/duplicity-{Version}",
|
||||
- [
|
||||
- "CHANGELOG.md",
|
||||
- "CONTRIBUTING.md",
|
||||
- "COPYING",
|
||||
- "README.md",
|
||||
- "README-LOG.md",
|
||||
- "README-REPO.md",
|
||||
- "README-TESTING.md",
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
# short circuit fot READTHEDOCS
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST GeekbenchML-0.6.0-Linux.tar.gz 451747506 BLAKE2B bd08fc83192c1af827278765922411c708e6d971a04d0d6613bef94277e36fd8c0a2e0d9ec7abca0175a8ede46106ad92d8d10303b05806f8e5a3ce7ffde1920 SHA512 70fcace831d6ce89fef853f963fede592044b19fe23c5cd2b9d514d94bdb3b61070975435e061aa5ab657400aeb60d4fda623a1c2ef589e7429481ff7b0a9300
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A Cross-Platform ML workloads Benchmark"
|
||||
HOMEPAGE="https://www.geekbench.com/"
|
||||
SRC_URI="amd64? ( https://cdn.geekbench.com/GeekbenchML-${PV}-Linux.tar.gz )"
|
||||
S="${WORKDIR}/GeekbenchML-${PV}-Linux"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
LICENSE="geekbench"
|
||||
SLOT="6"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench-ml/banff_avx2
|
||||
opt/geekbench-ml/banff_x86_64
|
||||
opt/geekbench-ml/banff
|
||||
"
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/geekbench-ml
|
||||
doexe banff{,_avx2,_x86_64}
|
||||
|
||||
insinto /opt/geekbench-ml
|
||||
doins banff.plar banff-workload.plar
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../geekbench-ml/banff /opt/bin/geekbench-ml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have purchased a commercial license, you can enter"
|
||||
elog "your email address and your license key with the following command:"
|
||||
elog "geekbench-ml -r <email address> <license key>"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?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>
|
||||
</pkgmetadata>
|
@ -1 +1 @@
|
||||
DIST stress-ng-0.17.01.tar.gz 6168897 BLAKE2B 37fbee68094dc4d840a804bd9256bc51341c4daa199b99cd008cb0675edadb2ac2e69efb6dedb7b089af115d5299d373df8b9977361eaa547132f9192954bfb6 SHA512 1fc4ec634c000b6fa314d6b48f66ff0f26ffb2bd47894c7a88eaf51f292e8ae5534f766c307588d14dcee9fd926955b30071eebb41610c47c9a23c7e01ff6c50
|
||||
DIST stress-ng-0.17.03.tar.gz 6187795 BLAKE2B d5c08a9d46b65c254f60e6192e3de305be7fb74769cff1714553006645fbccb7d94238c48c5612fe20f1b809962e8093c4d5bf96bc39720f162b0e17d7111bb3 SHA512 8d4bcab77682e448f524c8e2f5bed35a4a3e946ac4b3ff2df451178fc520db13c84bfb112ad09c96db4467b41c06d9a33ded99efe90f17009effccb2310653c0
|
||||
|
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
From 8bd2b3b3f889787de515eaea532ff728527a8788 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
|
||||
Date: Tue, 12 Dec 2023 23:12:41 -0500
|
||||
Subject: [PATCH] lxd-to-incus: Update for LXD 5.20
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
|
||||
---
|
||||
cmd/lxd-to-incus/validate.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmd/lxd-to-incus/validate.go b/cmd/lxd-to-incus/validate.go
|
||||
index 8e8020ebf..0078f8793 100644
|
||||
--- a/cmd/lxd-to-incus/validate.go
|
||||
+++ b/cmd/lxd-to-incus/validate.go
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
var minLXDVersion = &version.DottedVersion{4, 0, 0}
|
||||
-var maxLXDVersion = &version.DottedVersion{5, 19, 0}
|
||||
+var maxLXDVersion = &version.DottedVersion{5, 20, 0}
|
||||
|
||||
func (c *cmdMigrate) validate(source Source, target Target) error {
|
||||
srcClient, err := source.Connect()
|
@ -0,0 +1,191 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/incus
|
||||
acct-group/incus-admin
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
dev-libs/cowsql
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:*
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/incus
|
||||
/usr/bin/lxc-to-incus
|
||||
/usr/bin/incus-agent
|
||||
/usr/bin/incus-benchmark
|
||||
/usr/bin/incus-migrate
|
||||
/usr/sbin/lxd-to-incus
|
||||
/usr/sbin/incusd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/incus-0.3-lxd-5.20-compatibility.patch )
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
internal/server/apparmor/instance.go \
|
||||
internal/server/apparmor/instance_qemu.go \
|
||||
internal/server/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/incus-0.1.service "${T}"/incus.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/incus.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
# fuidshift should be packaged for incus-lts, making it conflict with lxd.
|
||||
for k in incus-benchmark incus-user incus lxc-to-incus ; do
|
||||
ego install -v -x "${S}/cmd/${k}"
|
||||
done
|
||||
|
||||
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
|
||||
|
||||
cd "${S}"/cmd/lxd-to-incus || die
|
||||
ego build -v -x ./
|
||||
cd "${S}" || die
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/incusd
|
||||
dosbin cmd/lxd-to-incus/lxd-to-incus
|
||||
|
||||
for l in incus-agent incus-benchmark incus-migrate incus-user incus lxc-to-incus ; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
dobashcomp scripts/bash/incus
|
||||
|
||||
newconfd "${FILESDIR}"/incus-0.1.confd incus
|
||||
newinitd "${FILESDIR}"/incus-0.1.initd incus
|
||||
|
||||
systemd_dounit "${T}"/incus.service
|
||||
systemd_newunit "${FILESDIR}"/incus-containers-0.1.service incus-containers.service
|
||||
systemd_newunit "${FILESDIR}"/incus-0.1.socket incus.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please see"
|
||||
elog " https://linuxcontainers.org/incus/introduction/"
|
||||
elog " https://linuxcontainers.org/incus/docs/main/tutorial/first_steps/"
|
||||
elog " https://linuxcontainers.org/incus/docs/main/howto/server_migrate_lxd/"
|
||||
elog "before a Gentoo Wiki page is made."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full incus-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the incus group."
|
||||
elog
|
||||
}
|
@ -0,0 +1,188 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://ubuntu.com/lxd https://github.com/canonical/lxd"
|
||||
SRC_URI="https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz
|
||||
verify-sig? ( https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz.asc
|
||||
)"
|
||||
|
||||
LICENSE="Apache-2.0 AGPL-3+ BSD LGPL-3 MIT"
|
||||
SLOT="0/stable"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/lxd
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dqlite-1.13.0:=
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
|| (
|
||||
net-firewall/nftables[json]
|
||||
(
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
)
|
||||
)
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:3
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND=">=dev-lang/go-1.20
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-canonical )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-migrate
|
||||
/usr/sbin/lxd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/canonical.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
lxd/apparmor/instance.go \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
lxd/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/lxd.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${S}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 "${S}"/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/lxd-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-migrate lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-5.0.2-r1.initd lxd
|
||||
|
||||
systemd_dounit "${T}"/lxd.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog "For virtual machine support, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/LXD#Virtual_machines"
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full lxd-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the lxd group."
|
||||
}
|
Binary file not shown.
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
PARENT_PN="certbot"
|
||||
PARENT_P="${PARENT_PN}-${PV}"
|
||||
|
||||
if [[ "${PV}" == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
EGIT_SUBMODULES=()
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||
-> ${PARENT_P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="
|
||||
https://github.com/certbot/certbot
|
||||
https://letsencrypt.org/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1
|
||||
# to avoid broken 23.1.0.
|
||||
RDEPEND="
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-3.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||
distutils_enable_tests pytest
|
@ -1,2 +1,3 @@
|
||||
DIST moolticute-1.00.1.tar.gz 5911062 BLAKE2B c3e20d4466c6020842447cb2fa54eee309664e8bbbb52aff8582ff7d333c8e5a9a2d286dace8207f62aacc41e0d9a99b733cfc5788dac72933ae7e15dc91a779 SHA512 c1a4ab39abc8360d088f267ae06f69deb135975caaf9224488d5e33127c1a9c1d2c80795d901e83bd13c82f80f1e362acfe59b03ad024b88ef7b8a7d56acd79b
|
||||
DIST moolticute-1.01.0.tar.gz 5912712 BLAKE2B dd6e22235978424744a6b0791c479c6cf233645a1a3879db6913acfca16ccb49eec45be5e9e2f6ba0f730edec658daa3aba91fcbd0389e734aeab7f89ca7a7ba SHA512 b5998f6739bd095e0ce8a18a9cc576a9f97b6e214b47670e5858937358f35c9dc36c3357b9ff943eabcd4a3feb7179cbc2640888aae8d59481abb41a81527c52
|
||||
DIST moolticute-1.03.0.tar.gz 5963926 BLAKE2B a5b5f98bb501811891c9ac22754538cd1df21b9cc848cb883d5babad89bb76bb9f9b4c533250b0eedca7a8b79ff44f85e6de1e00cdd6d6220ba61b67958be3fc SHA512 450753c5d7f1e226d9b75b8ab4d61970120a2685d249a637c1323141b73108321b346001d2310558e2365ca842c7a3d5ab2f7773d32b5365d2bb3f937108d186
|
||||
|
@ -0,0 +1,13 @@
|
||||
https://github.com/mooltipass/moolticute/pull/1204
|
||||
https://bugs.gentoo.org/916994
|
||||
--- a/src/MPDeviceBleImpl.cpp
|
||||
+++ b/src/MPDeviceBleImpl.cpp
|
||||
@@ -735,7 +735,7 @@ bool MPDeviceBleImpl::processReceivedData(const QByteArray &data, QByteArray &da
|
||||
{
|
||||
if (data.size() < 2)
|
||||
{
|
||||
- return {0};
|
||||
+ return {QByteArray::number(0)};
|
||||
}
|
||||
QVector<QByteArray> res;
|
||||
for (int i = 0; i < data.size() - 1; i += 2)
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils systemd udev xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mooltipass/moolticute.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/mooltipass/moolticute/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Mooltipass crossplatform daemon/tools"
|
||||
HOMEPAGE="https://github.com/mooltipass/moolticute"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="systemd"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libusb-1.0.20
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwebsockets:5
|
||||
dev-qt/qtwidgets:5
|
||||
systemd? ( sys-apps/systemd )
|
||||
!systemd? ( sys-apps/systemd-utils )
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.03.0-fix-return-type.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fill version.h with package version
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
sed -i "s/\"git\"/\"v${PV/_/-}\"/" src/version.h || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="/usr" Moolticute.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
|
||||
udev_dorules "${FILESDIR}/50-mooltipass.rules"
|
||||
systemd_dounit systemd/moolticuted.service
|
||||
newinitd "${FILESDIR}/moolticuted.init" moolticuted
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
xdg_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,14 +1,21 @@
|
||||
DIST BookFAQ-4.10.7.pdf 182327 BLAKE2B 5a625b1d455a7313ccd9a36296b11390c7497ba7cab4fe952933c29b9e706cac370332057a79d444100130dc5d4097258f71c6d51e36cc7b74cd62d8685f5479 SHA512 79a10f6b0d318ef19b05fc28b499d7d60a358a7a15cf8194a4a935721e35fe34c50b05b50032eb7134183b4ef8f4fc8f43f742007e2ffa0db0bf9c6ddd8ec917
|
||||
DIST BookFAQ-4.11.0.pdf 182265 BLAKE2B 9fcefdf8685eae15ad4a9906e5aae660be813f804d42d11292636e9ba7ec42e91bfc58b6204295372fcba8c327cf8dea5c2e20439ee3e8a73118e1a7845c04d5 SHA512 ead5bd2ec2f7dea6320b7246d09b9fc65beebb551c5b4ae7a875dfd75f874f14927468e1a0a033c2a530d403887e35f2e8ad4b2d417eadb37018cd7a2bef75b9
|
||||
DIST BookFAQ-4.11.2.pdf 188958 BLAKE2B 4a8926ccdd5eb25251f39c29efaebd6f7c90cc385cea1b44dbcd5fa59f695920d85d6829e9e18e6d44a209d5eb3b29a04c83a4e5dd6126acebe178e88370c172 SHA512 91e6d14f9baf01029e463ddb1ae02915e7dfc9798ce59f2bf54b81eb2f85c5888e650b13c443d94edc9a563fc6c8910e2ca14f250d565eedeedf9eebe79188c8
|
||||
DIST BookForApplicationDevelopers-4.10.7.pdf 3796649 BLAKE2B 75acd17cfd29245604fb95ffd606b72ef59943d3916e34e0c33ed271d92f2091994c99ebbae0b95fc09bc42092e1983a320142bc62a7156d702584dd276273ec SHA512 273c0b0ca94dc9d26b44955ea13150417e766b08762b5b2c94d743fbf6ea7b47dada9009cc8765b62e3e7e6a2ad37b95168c45f206e20cbb23cea9c577da3f64
|
||||
DIST BookForApplicationDevelopers-4.11.0.pdf 3893374 BLAKE2B 7fa8259a81e6d5ca704576b5c77c5940a12ee3fe916b6aa90c6ece050cb648ccf1ab3b4add95199acad9a29c5c8ae34386ef726554bc5cc8d29115fa10fc52b6 SHA512 9a3e475c7f6506d47b5e72982c3e5a41deb30e9e6cf1f699b90fbeca2176d9dbb900f68be5f241e9e0335551d84d4b4ffcd576cb16f381b296c163dd5b3d972c
|
||||
DIST BookForApplicationDevelopers-4.11.2.pdf 4819904 BLAKE2B 4364e1e953a85ec07d3157e521320526d40daef54f65f6bc12a2c33caf502ef2276e4612d2af19b8254fd7e97b8edfaaf938860ffbcf61accf30d7c07997b8b7 SHA512 b1a9f7a48318894f8877eb08b5be5d2f2fd9384264ac80fb25f0d2671e4b889c4610e60aea58a60bc719bbcba6dfb82f567d6b258ca80b00768494f59c487d9f
|
||||
DIST BookForToolkitDevelopers-4.10.7.pdf 7336024 BLAKE2B f217c2bd01b73138f5b6b7f4211f5277fe2ea0f48e9849fedc4d5c56b766b69705fac2cf3d7523c8d008d6a546e4753ce485d852c4b8886a2403c6ba7212704e SHA512 62a68b3c02dc301f3c627da3b029620606e975316f90637b76e06e5e766647608d69eb29a14fdbe3264401d664eecd5d128b9990cef0c5f6f69d244dc804cfb8
|
||||
DIST BookForToolkitDevelopers-4.11.0.pdf 7330097 BLAKE2B e17b8c1b9bca837f0ea5587fdb1df4360bae433ac9583e32c6a07d81841e2fa89e2b816338c874bd55e92a355fe46381c9d604765d04c52a0f3769d9151b9827 SHA512 03876b7ba031e46bbb206244c180d42ceae5b9e66c2d78586fe2358e64aacf146b9c04cef9aed74a41f00598f905727e0a0723e7b8b8febcaa9e39b8f66a6106
|
||||
DIST BookForToolkitDevelopers-4.11.2.pdf 7350281 BLAKE2B cc048f81bda2cf58b12d9b91aae17a5eb4f7a21e91b7ac5c2fd6c1816876202499277b99981f4333d5c1e920f020f660bf0e10f317a1e183403e0249c9a1267b SHA512 61ad284dc4a5e0889f5a5d31afd45dfc5eeabbb1a016155ac422a7ddb775eab1deee11a684693c6329acc09a2b368b31dd1961498ae6f77f84bdf9017e1df1d8
|
||||
DIST Geant4InstallationGuide-4.10.7.pdf 282056 BLAKE2B 36e3ce01c836796973a63f1f48248024d55e6cb4c2383aa245baaf85b57fbc722d2ff518c11078434571160d2ccfe8d8b7770c58e31a24b264100cdf792b7508 SHA512 13372a61629c6ccadbec4416da06db1c8f53be5f69d8918997643de16f8547d74eb604cbf1b6fba55001093ce3cfbf74f0ebf249cc6f7dae877c9397d67d153b
|
||||
DIST Geant4InstallationGuide-4.11.0.pdf 279989 BLAKE2B 6c4b18aef9d35ac539c212a5fb01c041aac68e0ba9a99e4eda59316c3fdf699b44f61c1af652bf8225424e5e7b2dcc4643ebc68c95a7b7bcba04c9bd5b2ec9cf SHA512 c190a1c5c1c6fa5a23e08046b3ca0003e98df740117a9b60b3458e3b07eed2cf4c23dc1558c6fbe11644ff8c352a2c8707e30b9c3460da47d43a8e4a80ffa130
|
||||
DIST Geant4InstallationGuide-4.11.2.pdf 305635 BLAKE2B 59a584dabaa0c03784a4b235244ff4edc6408db8f79e98540381f439368c1a7592f0688cba1606c7a0ea0051d49d23b9833057f59ee4c6090f25f333f1e52c31 SHA512 02a12e426ba1955f82f98aff318a38a5f8764d464ec3d44f10f4fa63730d79c47a0916f1ffc801d6004e423210d93f5f18beef7f55ab41e8c409b14c90f89a1f
|
||||
DIST IntroductionToGeant4-4.10.7.pdf 142118 BLAKE2B 975906d4cc1dd2a54bd283c228cc4ff577f842eac853b491899dbce243732231843ee9296c4511f171fdb089f98a4bf8dc14fbed85b3e3fd908f77d7e4395a6c SHA512 940cfe00e9ffac83ceedde03438a2b05b80ce6f7d763811924ec07e2eb8f69516c3a2ba18bf7bfab37c1026a00481d483129835830ecfd75e4277ef063dbd464
|
||||
DIST IntroductionToGeant4-4.11.0.pdf 142056 BLAKE2B 5316bc4474300cf340e1cd84c883aa2ae3f3cc38ebf67e9c2e30deab585eb0da95adf472d86099432601400cbccab027d3e30c46031dd87a42b563304230190c SHA512 f6a24b98ff43bf69e36eef3cb161698866be30db404fe5cb764d09feadf55a74c7e6be20dbca98b820f7704fd2c5c31e75b729821f4fddb0b38ec6eaa0515a87
|
||||
DIST IntroductionToGeant4-4.11.2.pdf 146059 BLAKE2B 0ef2a51ef404f7fdc2732c3d28c8600755836883375ae4a433540b842226e2cc6823516ca768320ced22d3e7cf036db0b613800b6240c3d1a70ffc57096a3a85 SHA512 c9a8b6fba769faed7526111f23c03843577f5739c9b9fafe4418e6cdf5e7766e8eea15194320f9b04f44b62d1e508c0cd59c3403464b5e5a937a53fcdf7c20a1
|
||||
DIST PhysicsListGuide-4.10.7.pdf 347016 BLAKE2B eaf1ba5fadf80180478715e69074e88377a036f4e69d42dbff50b8c8112ecfe32f6265b7397965432b077c34b4e81d8740f008e03f1445b697702d521b1e6944 SHA512 ca90ccfecd9f1c8a3cc34589359d3d1e5ccd8499a2d747fe8735a776b3dd7815e6090d01e42beca2c61c330bc21e34ea0948e8e62cea7ed1e59f61fbad102799
|
||||
DIST PhysicsListGuide-4.11.0.pdf 347136 BLAKE2B b90b34000c17311e5eb8b6fe49252973a7670fce6038bbbd34f12db73bd3a75c93c35eadfb0985239086bba84a1547594e617fd0cdc772506d2d1434573c7946 SHA512 7d66d44e3fc3b53a77622478eecaf8db72f373154d028fde95ae0608b12333f0b483c7855b73955de00d73ce2014d072fd4cc39a2ff64d847b643d2411490f67
|
||||
DIST PhysicsListGuide-4.11.2.pdf 358850 BLAKE2B 2870d93862111eb578bdf7b4ce99f11e799270ab6ecadac4a8fa0d5c53a81cb52bdcd19b4929fe5b8dbf88a5d6f9f45215058480cd2a5fcc7101c6022cb51623 SHA512 4ff3dac94171d02123fb2bd962165786eb7e6e237a76d0511bbf6a9fe926ccdc7322272236d38e968bf841eb01ca94ea2693b8c996bb8a6f1789414837759c31
|
||||
DIST PhysicsReferenceManual-4.10.7.pdf 19522499 BLAKE2B 9d386c81910ac695c172c2c692ce5b8d6c4b9e7213f07851ddbbad43b299da5788d1027238a25d00fbcae47091c5194d43fd6b8abe0d6385376c4cd98c6f73a2 SHA512 269ddc752a11c8257e9fe042dcc0a115a1bdeb5f312dd16378df6db751477f36758189894a0f07a6303f8fef9a26cff05e99aa691fb83e17c8db3a1de674a8ae
|
||||
DIST PhysicsReferenceManual-4.11.0.pdf 19507777 BLAKE2B 6bdfeccbdf0dd7b6c2d056e38ade607b2003434e9178cf6ee51a570441c481612e747f7af63e77dcefd9abdf4fb4e9a4a30521385f18595e93f009f0e5fbb17b SHA512 96fca5e2c9b9a550e6d34502d17ec8c80307b534a1aff19df623109e11543afed917657822941b9091b100028012d8a724c7ed82ad3739358c7be27e2d01e9cd
|
||||
DIST PhysicsReferenceManual-4.11.2.pdf 19799124 BLAKE2B cf196ce398958abb136a28dcbdd62c8891cf1d7998d0609482ccc99a590ab47ac596d2e4962e086fccb483becf6dabc104b07ebf067209025b8b10a4a3f8a611 SHA512 fe82d95b6f681de6079d3a882c6267b30fac69c9570223fd5c3ce456936ae619dbc08210fbd64e3ae12108b351af3dfa7ec7102c599533ce00daada9b300b955
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PV=V$(ver_cut 2-3)
|
||||
|
||||
DESCRIPTION="User documentation for Geant4 physics simulation toolkit"
|
||||
HOMEPAGE="https://geant4.web.cern.ch/support/user_documentation"
|
||||
SRC_DOC="https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides"
|
||||
SRC_URI="
|
||||
${SRC_DOC}/FAQ/BackupVersions/${MY_PV}/fo/BookFAQ.pdf
|
||||
-> BookFAQ-${PV}.pdf
|
||||
${SRC_DOC}/ForApplicationDeveloper/BackupVersions/${MY_PV}/fo/BookForApplicationDevelopers.pdf
|
||||
-> BookForApplicationDevelopers-${PV}.pdf
|
||||
${SRC_DOC}/ForToolkitDeveloper/BackupVersions/${MY_PV}/fo/BookForToolkitDevelopers.pdf
|
||||
-> BookForToolkitDevelopers-${PV}.pdf
|
||||
${SRC_DOC}/InstallationGuide/BackupVersions/${MY_PV}/fo/Geant4InstallationGuide.pdf
|
||||
-> Geant4InstallationGuide-${PV}.pdf
|
||||
${SRC_DOC}/IntroductionToGeant4/BackupVersions/${MY_PV}/fo/IntroductionToGeant4.pdf
|
||||
-> IntroductionToGeant4-${PV}.pdf
|
||||
${SRC_DOC}/PhysicsListGuide/BackupVersions/${MY_PV}/fo/PhysicsListGuide.pdf
|
||||
-> PhysicsListGuide-${PV}.pdf
|
||||
${SRC_DOC}/PhysicsReferenceManual/BackupVersions/${MY_PV}/fo/PhysicsReferenceManual.pdf
|
||||
-> PhysicsReferenceManual-${PV}.pdf
|
||||
"
|
||||
|
||||
LICENSE="geant4"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${DISTDIR}"
|
||||
|
||||
src_unpack() {
|
||||
: # empty, nothing to unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc
|
||||
for doc in *.pdf; do
|
||||
newdoc ${doc} ${doc/-${PV}};
|
||||
done
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gnucash-docs-4.13.tar.gz 76306335 BLAKE2B 61944e3da12d4f7b4a26f1301e640deca87656c4a9c7cd935f4c52ae69e49bf746850f09513d8fbd92314827f683c3a9c83c59479d583c192d977afdf9d8fce4 SHA512 7081a84c3426ef84e88aef520458a0d06382853cb9a51880766033b655f873d0926848387d573a38eca82cf0c6bceecdbd56704ab9ecb3068c78d7ce5c8d4da0
|
||||
DIST gnucash-docs-5.1.tar.gz 76533404 BLAKE2B 6601548123b6c1bdb3f04f54a5a598eb12ca803b604c02357a4126a52ce2d39f4f44b3cc35eb874590898b0792a99190d8ddca795bd45457c9ee565b95405b39 SHA512 6976964c4163987c867142bbf5c23ebf05585a73bd78926e35983602cf0caa024e5e334c19603a568e3fc5cd1e2f6b96e61ca888d5c6679b76f764429b8acdd1
|
||||
DIST gnucash-docs-5.2.tar.gz 76537611 BLAKE2B 6abd9981cd0380358548ab5260bce766417ad25509eb4f8f5c890ad8b87a9d69a8d5b3a97227780d936986d2385a0d9cdb89aefb46d5fc533ccebd2472ea14ae SHA512 0b52d1d08cf217c6e9ebc0641b7f717abae960d801ee2f23e0a4bd2f21b7f82ca37f87359b4fb5329d8321dc2576e88bc1fcbc85935d69ba1f2205a4be153cf4
|
||||
DIST gnucash-docs-5.4.tar.gz 130584435 BLAKE2B 7d2fe9bdcb098e3273a71a3bbc59001b3166bead5fef730a6893e8f50c1aed70aa367d6361bc2c018262ee27ab8f80b3adceb846e27c9f83082dd120c565b142 SHA512 0a9d945d089a5f7e2e0c241fadcdde58d7412223e40fd09faca843f0f25c2a46b48b40f5ad97ac4222baf984d7f438e267fee916935f6d58eebe8bfc37e8f223
|
||||
|
@ -0,0 +1,29 @@
|
||||
diff -Naruw gnucash-docs-5.4.orig/cmake/AddXdgHelpTarget.cmake gnucash-docs-5.4/cmake/AddXdgHelpTarget.cmake
|
||||
--- gnucash-docs-5.4.orig/cmake/AddXdgHelpTarget.cmake 2023-10-01 08:51:09.262878879 -0400
|
||||
+++ gnucash-docs-5.4/cmake/AddXdgHelpTarget.cmake 2023-10-01 08:53:23.973040657 -0400
|
||||
@@ -45,8 +45,8 @@
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}/figures"
|
||||
|
||||
# Add links to make our documentation visible for KDE's help system
|
||||
- COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}/${kde_lang}"
|
||||
- COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR}" "${BUILD_DIR_KDE_BASE}/${kde_lang}/${docname}"
|
||||
+ # COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}/${kde_lang}"
|
||||
+ # COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR}" "${BUILD_DIR_KDE_BASE}/${kde_lang}/${docname}"
|
||||
COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger")
|
||||
|
||||
|
||||
@@ -90,9 +90,9 @@
|
||||
COMPONENT "xdghelp")
|
||||
|
||||
# Add links to make our documentation visible for KDE's help system
|
||||
- set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML")
|
||||
- install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
|
||||
- COMPONENT "xdghelp")
|
||||
- install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")"
|
||||
- COMPONENT "xdghelp")
|
||||
+ # set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML")
|
||||
+ # install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
|
||||
+ # COMPONENT "xdghelp")
|
||||
+ # install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")"
|
||||
+ # COMPONENT "xdghelp")
|
||||
endfunction()
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-office/gnucash
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake optfeature
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="https://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
LOCALES=( de it ja pt )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-5.4-partially-revert-kde-help-dir.patch"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in manual guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
[[ -z ${my_lang} ]] && continue
|
||||
|
||||
case "${my_lang}" in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ja|ru) # Only guides translated
|
||||
if [[ "${doc_type}" == "manual" ]] ; then
|
||||
elog "Help documentation hasn't been translated for ${my_lang}"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: ${my_lang}"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake \
|
||||
-C "${BUILD_DIR}/${my_lang}/${doc_type}" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "generating PDF files" dev-java/fop
|
||||
optfeature "viewing the docs" gnome-extra/yelp
|
||||
}
|
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
From 41eca94bb6bf3642b1cdb80e89845813a9d03edc Mon Sep 17 00:00:00 2001
|
||||
From: Nimrod <ndh42@cornell.edu>
|
||||
Date: Mon, 27 Nov 2023 20:31:20 -0500
|
||||
Subject: [PATCH] Update git source of Gemini grammar
|
||||
|
||||
The author's username changed from "sfr" to "nbsp"
|
||||
---
|
||||
languages.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/languages.toml b/languages.toml
|
||||
index ef4687af8a71..33b27626e720 100644
|
||||
--- a/languages.toml
|
||||
+++ b/languages.toml
|
||||
@@ -2916,7 +2916,7 @@ file-types = ["gmi"]
|
||||
|
||||
[[grammar]]
|
||||
name = "gemini"
|
||||
-source = { git = "https://git.sr.ht/~sfr/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" }
|
||||
+source = { git = "https://git.sr.ht/~nbsp/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" }
|
||||
|
||||
[[language]]
|
||||
name = "templ"
|
@ -1 +1,2 @@
|
||||
DIST okteta-0.26.13.tar.xz 1080884 BLAKE2B 1e5382b6832d7b77d3739bd4dc90b3317a33c7df1e55627a3bb718ee9fb7fcf58145f0decff0cc037a88c44fdab86cf57fd8174216cbfc29d4e607557226aa57 SHA512 1f7d099acda1d39382b9d36fc75e301588a4f026e46a363f0ac15f3025a37c2edd2fac20c8097761469f4259adc20874d90acae5fa7b378f2d88e88521952fd8
|
||||
DIST okteta-0.26.14.tar.xz 1088636 BLAKE2B 13666d6a91ef4c269ca1677a0495723c101cf02d60361c87b9528ac535dd98e1dcce948770ed3bbe9364e4e9a2ec2fb7f35ee90897f56b04295abd3125a4477b SHA512 f6222bd4674cd70b3414dd6b0608661bb878bac39280994cf16b9846d4e3a06d356438760080018be797fbdd1a7eb7006b1f35c0a2a3b74c7e68c089450dd38b
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_DESIGNERPLUGIN="true"
|
||||
ECM_HANDBOOK="forceoptional"
|
||||
ECM_TEST="true"
|
||||
KFMIN=5.92.0
|
||||
QTMIN=5.15.5
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Hex editor by KDE"
|
||||
HOMEPAGE="https://apps.kde.org/okteta/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
IUSE="crypt"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtscript-${QTMIN}:5[scripttools]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/kbookmarks-${KFMIN}:5
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:5
|
||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kcrash-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/kservice-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
crypt? ( >=app-crypt/qca-2.3.0:2[qt5(+)] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.26.13-doctools-optional.patch" ) # downstream
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOMIT_EXAMPLES=ON
|
||||
$(cmake_use_find_package crypt Qca-qt5)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=( -j1 )
|
||||
|
||||
ecm_src_test
|
||||
}
|
@ -1,9 +1,6 @@
|
||||
DIST vscode-1.84.1-amd64.tar.gz 135727521 BLAKE2B a0b6ab48842ec3359f0dd29244346edba4b1468a97daffa7247655509a2bffe80a7fe642180ce13ced1b7dbbe64b3bb43fb386e6094d60ae84278743890602d1 SHA512 2768a706d6acbd9f723d9b3da7a15ddead82f4c01b6ae69762713b9ad0beaa9b74df66041263b8853b1e97ce4cd9178230df21e71639136f035177fc660e9a28
|
||||
DIST vscode-1.84.1-arm.tar.gz 122669562 BLAKE2B f0b6201ca18fc2ca8eb4ae20784d742ce841ee2672cbe39087350b031a16b9a0c6db0edb1e5cd54f969537c40d9b290a6da5d4dd9be268255b34cefef865c37b SHA512 2d5b0048c8865e536540e55d445676fa10ee391a6cf175173c40801c8ca6c5bd3b945aca2f8c89bd11b6284fcb2745a6bf7dae4008c41c09f9c760d9fbb28843
|
||||
DIST vscode-1.84.1-arm64.tar.gz 132919962 BLAKE2B 354c03703f9238f8141d1e710fc6d14554f73c3f5cf1b1847fc9ad8bd508beab75b2c8d227b0b05d8b54a22a0f0662f60aad6e5669af70c59d42485f2cb570a2 SHA512 709cc5f413e9250206d59fb6dd2a73d0444bc4338b75f8150f1dec30aa73b2f169422acb517485be37eaa9c82976ebfe7edd0011ab7341c625717d867eded62d
|
||||
DIST vscode-1.84.2-amd64.tar.gz 135719194 BLAKE2B ab4baf18195be20e9b1d05e7d832190deea4faba61e1fd0fde89b3bfb7fb6861a69608e79fb41ce7f3a29fe506297e163196375389ea2b4faaf9091592ac64b1 SHA512 b80c7824c4ac21e64c5751c67ff4308854baea732ed8250b5e4034dfe563803e8624b329c662414ca646ffb6d80ff8e5ff3c30fdcc58b34ea3377ef258b59d38
|
||||
DIST vscode-1.84.2-arm.tar.gz 122667743 BLAKE2B 6b9bc88041e055edc7653b98f20a847734f233bb1c727057bde7d140881929176ece1a9d811020548bbe18edab5ca712aa9dcd0857e18f1bf4e0b90624cb666f SHA512 25852b5e9195be2e2a089a9f360bf633c375338a0809ef8fe41ee0df14d1254e242312df9d7617eef074fa09d1c099dce96c655823d104214cc6054b8ec2a9a3
|
||||
DIST vscode-1.84.2-arm64.tar.gz 132930788 BLAKE2B 43bbde9ae80e1fad941fb89595d05385ff351165dec6fb6b87ba82ac437040b4c4a5e1086c82eb5ebda024597dface3e56511959396333763ba970f06c9ab6db SHA512 7a18365b23cd10270b9de5dbfab28703605d65862ff5ddf0c9f399e6df9b9f834b64b43f4b8ff0662fb07f3af307352f39420f4e8a2c68516e5223b9b42be602
|
||||
DIST vscode-1.85.0-amd64.tar.gz 135089424 BLAKE2B 682810e3cdf3d119edd766b3288ff683aad6267c42eef2daf1880504caede3b955417700e1dca053eee38384f5f474257d7d53f265bbb18239d19e18ee65d0a5 SHA512 290eba893c69fd917fb89e35c36f51157469dfde5a85ed058ad55af4c3746abac1727c34136341d94becc5777ee747a3955100cf3c80ac9c5b381dc537b293c6
|
||||
DIST vscode-1.85.0-arm.tar.gz 122053589 BLAKE2B 67098d2f566d21d50e18d986356576f07f8947276c8334e1197ede308805a1921311dd99b1f6940f5be718382179617dcdea68e4dcad12f00de5789e8f4c5ca0 SHA512 c7e106aae16b2c7ad653e56fd047afe5af8b9e43f5472e40e50033b130ab13488b7589c9c7dc2204b24f83ce8d682224fed69bd3fd499590cc0df879207e139f
|
||||
DIST vscode-1.85.0-arm64.tar.gz 132281426 BLAKE2B 8b4319c1106de653273294a2165de893481e8318a38e8cd7661591d05d0bfa48812b7a2da3a50bf6f0d73e45f09c46294df5f5932d62f34a49f0ff49a0fcaacb SHA512 d2b4eae23dda45924f2f9de32f808b6f5ef92cfc2ea08315557c00398722963ece47de34ffe477c110fa9031f3b80c0683cb94ded5c12e51d1162e487f0b2149
|
||||
DIST vscode-1.85.1-amd64.tar.gz 135108193 BLAKE2B bd2479617988f81ef0c8255d02f01a16de6142f69fbad72b020dbb8ed55a2859861fe4074bab56eb2a6da91a237c03a182da97b67dcdfef61adb27c8990431ec SHA512 fc06cf3e67f7e268ed485d79e2a0b16ff96b06567d94734c01fd03b98e8912f1969e44e2dd0accdc423c0353a910a64af5d0df56a34404f2314c4a2543da5797
|
||||
DIST vscode-1.85.1-arm.tar.gz 122030008 BLAKE2B bd958e9bffcf94add2e5545bb41373a0c9e0b5744b150837b228ed788d9bdae1ec0aedaf948c98f3aa121707716f3bad43aed6c77df99dee473d4f3bf6e69419 SHA512 7761b137f7301e5989b99256bcf9b0806064d7370b506a01e0e112b8ce894b32c7ac162689f75a6fa67616de64cf4277934f2c09634be87ceb9677d150381f69
|
||||
DIST vscode-1.85.1-arm64.tar.gz 132288396 BLAKE2B 7888bf80ef6f2452b7f06f5f5ec77f83663c468cb9756757c8f95fde5724f1444b733da783cf34c85806facf2e27870a1b9e0b892945ce395575131530308c5d SHA512 dfb128b6ac17575f85afa3b19a5daea3d8b7b4be6e294002c51903ce736ea332b3c0c840e58c4da0b8715fb47e9cbc85fcf147cf62affe91d21051b90bd6a305
|
||||
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 ~arm ~arm64"
|
||||
IUSE="kerberos"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libcanberra[gtk3]
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-misc/curl
|
||||
sys-apps/dbus
|
||||
sys-libs/zlib
|
||||
sys-process/lsof
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libnotify
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/ThirdPartyNotices.txt || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die
|
||||
fi
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
domenu "${FILESDIR}/vscode-wayland.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "keyring support inside vscode" "virtual/secret-service"
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST cloud-init-22.2.2.tar.gz 1349451 BLAKE2B fdb6669e9762984614fefe787834f20f056345d304327679fa8bc7b4d6566509a23ecc4a7ac4e6368b9b9078a72fe6fe35533a67e7aeb0c0accbf5ad014f8aae SHA512 18b75ebbb5e808e19df5ceddb6402cc881c33443fb169f736f54837254ba43836994f2392a26febbd8df3342b3467ee72759b6942cfeb96d07c0e452c11dd0bf
|
||||
DIST cloud-init-22.4.tar.gz 1494295 BLAKE2B 5f961c895c0d6c78a7cee47d2b52acd57d959baeb5172cea89d75ffe23424e3a8a3170a0ecdcad729c6cb0c898477ea94c43a5f8bdf200fc3f122c32fdb2e96d SHA512 6151d1d5e4be241219cb5804ca2bad2dd790f366bc847d286a8840faad1fb4adf5d780c9418ce574c2cfcefc16851a49961f33c5da1fbc84bb8299cf138bfcfc
|
||||
DIST cloud-init-23.4.tar.gz 1648908 BLAKE2B 0acec9c437c7a5a86ed9cd8718830a7311c257ae9f223a68959b8d1eccc693b35f6a716de5c04112d848c1e2e54f6461a3919fd733debba18989145f6669d359 SHA512 34966b173571764bf83779bef0e89a86971310ff0fa62feceef4fbe17c9fa6d1b69f11f57caaa32cc4ae4a74f598f157dfb3ce356221044666401230cfb1ad13
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Disabled for now: bug #850628
|
||||
# https://bugs.launchpad.net/cloud-init/+bug/1978328
|
||||
#DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_10 python3_11 )
|
||||
|
||||
inherit distutils-r1 udev
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.launchpad.net/cloud-init"
|
||||
else
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Cloud instance initialisation magic"
|
||||
HOMEPAGE="https://launchpad.net/cloud-init"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="selinux test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/oauthlib[${PYTHON_USEDEP}]
|
||||
dev-python/pyserial[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/netifaces[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
net-analyzer/macchanger
|
||||
sys-apps/iproute2
|
||||
sys-fs/growpart
|
||||
virtual/logger
|
||||
selinux? ( sec-policy/selinux-cloudinit )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Fix location of documentation installation
|
||||
sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" setup.py || die
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
sed -i 's/version=get_version(),/version=9999,/g' setup.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --init-system=sysvinit_openrc,systemd --distro gentoo
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
keepdir /etc/cloud
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# installs as non-executable
|
||||
chmod +x "${D}"/etc/init.d/* || die
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog "cloud-init-local needs to be run in the boot runlevel because it"
|
||||
elog "modifies services in the default runlevel. When a runlevel is started"
|
||||
elog "it is cached, so modifications that happen to the current runlevel"
|
||||
elog "while you are in it are not acted upon."
|
||||
}
|
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
DIST fcitx-mozc-2.26.4220-20201219202429.tar.gz 37174759 BLAKE2B 3f320523103ee7a35a763f6613889e282e8a654db8ef11b5a1168db12611387e300621f015977875ffec3c10c055e36b3cb525a1e8559013f3ac42bc5b0cc296 SHA512 823e64267aa69e4d30dd7408f946a54072994f9a2d68691a3d393b216a15e70fd28bcb24705f9d9f483a2291517c48c5a1aeda893d2315f9a1d9cd352fb3feb2
|
||||
DIST fcitx-mozc-2.28.5029.102-2.28.5029.102.tar.gz 37246575 BLAKE2B 54381968e33870f2d9f769184cf49428548d04de66e767140c8f053fad7873f1b2e3b02be81ce54e51b824d2c9cd971da37bff8b60efe60c9e2c748ff298afbd SHA512 4962e9505b79d4680a260c257719ba2486a6fe127018298758728faa9535504bc2dd6b1bfb430ac2982cb377cda52c145430531afd0968f49f91d366fdd43d92
|
||||
DIST japanese-usage-dictionary-20180701040110.tar.gz 71285 BLAKE2B dfad056a1d5061b6764f583da15b9ad60a3c4421cee0430c4665d1c2779a64f9b31473c1746a3e2b9bda5167349432e51dcf7d4d48f75fde9543e9c16ff74c0d SHA512 68b4d3f52dd6cd4f00a8012a870b4f5929519cd69815b1729f3881d1f964802308f4aa101e236824b4c0f832183a9e8097437ed620403f2a652f126e7cdc1eb3
|
||||
DIST mozc-2.26.4220-20201212102434.tar.gz 37106063 BLAKE2B 7d3c236809c8feb017f35e3f7a9b024ac34204f483c69913a2d1ae6b771054548f7f81afde35ed3a6887c9f7503584cee0fc646653fc7cde6fd015158de9c3d3 SHA512 9d87947b9b9256a3cc66cb23ab6caf4b6974142090b0d315c101bdc700fd289c259d09cb7f02f5f9e7462f48d652cd2d5b4822a645751fdcaed88b939520c429
|
||||
DIST mozc-2.28.5029.102-2.28.5029.102.tar.gz 37247099 BLAKE2B 4bb528991102d34a26321e6fa00a73cc83cb103e0b765f1ebb837dd6894387288b13ed75cc255003d07d6f0c4a82f963684fa4f2bd9b5043cfaddb57a5f5cef0 SHA512 b20aa45757db92f66d1c135eacf907b4cec937226a8d09e5f9f6768ae22a6b8464e3b75276773ce55413f2002ffcc3d8cae136e7fd3acfc0733e48bccf848d5b
|
||||
DIST mozc-2.28.5029.102-patches.tar.xz 224380 BLAKE2B 377d2cac6ec8a9c90661f10c0b105d8347ca8080ec43cee3dfd4660feadfe2d9b204d6e4b9e22bd11a5fdbbf26e7f6f298b703b88fb1621ea1847741408c1953 SHA512 5836a19ea68de271475b3ca1efce928b0ad012c96ff7ecdc4474b05daf8b8df022203eb46ec839b76e7d50be7a75b8f278d534d762fac0e612a8f09ae13c7c16
|
||||
|
@ -1,380 +0,0 @@
|
||||
# Copyright 2010-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit elisp-common multiprocessing python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/google/mozc"
|
||||
EGIT_SUBMODULES=(src/third_party/japanese_usage_dictionary)
|
||||
else
|
||||
MOZC_GIT_REVISION="9ba59b64d53365c1fe93c1c245b4ec3e35bdadf0"
|
||||
MOZC_DATE="${PV#*_p}"
|
||||
MOZC_DATE="${MOZC_DATE%%_p*}"
|
||||
|
||||
FCITX_MOZC_GIT_REVISION="1ea089debc31ff216473369ad71c08318384ee06"
|
||||
FCITX_MOZC_DATE="${PV#*_p}"
|
||||
FCITX_MOZC_DATE="${FCITX_MOZC_DATE#*_p}"
|
||||
FCITX_MOZC_DATE="${FCITX_MOZC_DATE%%_p*}"
|
||||
|
||||
JAPANESE_USAGE_DICTIONARY_GIT_REVISION="a4a66772e33746b91e99caceecced9a28507e925"
|
||||
JAPANESE_USAGE_DICTIONARY_DATE="20180701040110"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Mozc - Japanese input method editor"
|
||||
HOMEPAGE="https://github.com/google/mozc"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://github.com/google/${PN}/archive/${MOZC_GIT_REVISION}.tar.gz -> ${PN}-${PV%%_p*}-${MOZC_DATE}.tar.gz
|
||||
https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}.tar.gz -> japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz
|
||||
fcitx4? ( https://github.com/fcitx/${PN}/archive/${FCITX_MOZC_GIT_REVISION}.tar.gz -> fcitx-${PN}-${PV%%_p*}-${FCITX_MOZC_DATE}.tar.gz )"
|
||||
fi
|
||||
|
||||
# Mozc: BSD
|
||||
# src/data/dictionary_oss: ipadic, public-domain
|
||||
# src/data/unicode: unicode
|
||||
# japanese-usage-dictionary: BSD-2
|
||||
LICENSE="BSD BSD-2 ipadic public-domain unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
IUSE="debug emacs fcitx4 +gui ibus renderer test"
|
||||
REQUIRED_USE="|| ( emacs fcitx4 ibus )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
>=dev-libs/protobuf-3.0.0
|
||||
dev-util/gyp
|
||||
dev-util/ninja
|
||||
virtual/pkgconfig
|
||||
emacs? ( app-editors/emacs:* )
|
||||
fcitx4? ( sys-devel/gettext )"
|
||||
DEPEND="=dev-cpp/abseil-cpp-20200923*[cxx17(+)]
|
||||
>=dev-libs/protobuf-3.0.0:=
|
||||
fcitx4? (
|
||||
app-i18n/fcitx:4
|
||||
virtual/libintl
|
||||
)
|
||||
gui? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
ibus? (
|
||||
>=app-i18n/ibus-1.4.1
|
||||
dev-libs/glib:2
|
||||
x11-libs/libxcb
|
||||
)
|
||||
renderer? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango
|
||||
)
|
||||
test? (
|
||||
>=dev-cpp/gtest-1.8.0
|
||||
dev-libs/jsoncpp
|
||||
)"
|
||||
RDEPEND="=dev-cpp/abseil-cpp-20200923*[cxx17(+)]
|
||||
>=dev-libs/protobuf-3.0.0:=
|
||||
emacs? ( app-editors/emacs:* )
|
||||
fcitx4? (
|
||||
app-i18n/fcitx:4
|
||||
virtual/libintl
|
||||
)
|
||||
gui? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
ibus? (
|
||||
>=app-i18n/ibus-1.4.1
|
||||
dev-libs/glib:2
|
||||
x11-libs/libxcb
|
||||
)
|
||||
renderer? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
execute() {
|
||||
einfo "$@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/six[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
|
||||
if use fcitx4; then
|
||||
local EGIT_SUBMODULES=()
|
||||
git-r3_fetch https://github.com/fcitx/mozc refs/heads/fcitx
|
||||
git-r3_checkout https://github.com/fcitx/mozc "${WORKDIR}/fcitx-mozc"
|
||||
fi
|
||||
else
|
||||
unpack ${PN}-${PV%%_p*}-${MOZC_DATE}.tar.gz
|
||||
mv mozc-${MOZC_GIT_REVISION} ${P} || die
|
||||
|
||||
unpack japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz
|
||||
cp -p japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}/usage_dict.txt ${P}/src/third_party/japanese_usage_dictionary || die
|
||||
|
||||
if use fcitx4; then
|
||||
unpack fcitx-${PN}-${PV%%_p*}-${FCITX_MOZC_DATE}.tar.gz
|
||||
mv mozc-${FCITX_MOZC_GIT_REVISION} fcitx-${PN} || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use fcitx4; then
|
||||
cp -pr "${WORKDIR}/fcitx-mozc/src/unix/fcitx" unix || die
|
||||
fi
|
||||
|
||||
pushd "${WORKDIR}/${P}" > /dev/null || die
|
||||
|
||||
eapply "${FILESDIR}/${PN}-2.26.4220-system_abseil-cpp.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.26.4220-system_gtest.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.26.4220-system_jsoncpp.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.26.4220-environmental_variables.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.26.4220-server_path_check.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
sed \
|
||||
-e "s/def GypMain(options, unused_args):/def GypMain(options, gyp_args):/" \
|
||||
-e "s/RunOrDie(gyp_command + gyp_options)/RunOrDie(gyp_command + gyp_options + gyp_args)/" \
|
||||
-e "s/RunOrDie(\[ninja/&, '-j$(makeopts_jobs "${MAKEOPTS}" 999)', '-l$(makeopts_loadavg "${MAKEOPTS}" 0)', '-v'/" \
|
||||
-i build_mozc.py || die
|
||||
|
||||
local ar=($(tc-getAR))
|
||||
local cc=($(tc-getCC))
|
||||
local cxx=($(tc-getCXX))
|
||||
local ld=($(tc-getLD))
|
||||
local nm=($(tc-getNM))
|
||||
local readelf=($(tc-getREADELF))
|
||||
|
||||
# Use absolute paths. Non-absolute paths are mishandled by GYP.
|
||||
ar[0]=$(type -P ${ar[0]})
|
||||
cc[0]=$(type -P ${cc[0]})
|
||||
cxx[0]=$(type -P ${cxx[0]})
|
||||
ld[0]=$(type -P ${ld[0]})
|
||||
nm[0]=$(type -P ${nm[0]})
|
||||
readelf[0]=$(type -P ${readelf[0]})
|
||||
|
||||
sed \
|
||||
-e "s:<!(which ar):${ar[@]}:" \
|
||||
-e "s:<!(which clang):${cc[@]}:" \
|
||||
-e "s:<!(which clang++):${cxx[@]}:" \
|
||||
-e "s:<!(which ld):${ld[@]}:" \
|
||||
-e "s:<!(which nm):${nm[@]}:" \
|
||||
-e "s:<!(which readelf):${readelf[@]}:" \
|
||||
-i gyp/common.gypi || die
|
||||
|
||||
# https://github.com/google/mozc/issues/489
|
||||
sed \
|
||||
-e "/'-lc++'/d" \
|
||||
-e "/'-stdlib=libc++'/d" \
|
||||
-i gyp/common.gypi || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use debug; then
|
||||
BUILD_TYPE="Debug"
|
||||
else
|
||||
BUILD_TYPE="Release"
|
||||
fi
|
||||
|
||||
local gyp_arguments=()
|
||||
|
||||
if tc-is-gcc; then
|
||||
gyp_arguments+=(-D compiler_host=gcc -D compiler_target=gcc)
|
||||
elif tc-is-clang; then
|
||||
gyp_arguments+=(-D compiler_host=clang -D compiler_target=clang)
|
||||
else
|
||||
gyp_arguments+=(-D compiler_host=unknown -D compiler_target=unknown)
|
||||
fi
|
||||
|
||||
gyp_arguments+=(-D debug_extra_cflags=)
|
||||
gyp_arguments+=(-D release_extra_cflags=)
|
||||
|
||||
gyp_arguments+=(-D use_fcitx=$(usex fcitx4 YES NO))
|
||||
gyp_arguments+=(-D use_libibus=$(usex ibus 1 0))
|
||||
gyp_arguments+=(-D use_libprotobuf=1)
|
||||
gyp_arguments+=(-D use_system_abseil_cpp=1)
|
||||
gyp_arguments+=(-D use_system_gtest=$(usex test 1 0))
|
||||
gyp_arguments+=(-D use_system_jsoncpp=$(usex test 1 0))
|
||||
gyp_arguments+=(-D enable_gtk_renderer=$(usex renderer 1 0))
|
||||
|
||||
gyp_arguments+=(-D server_dir="${EPREFIX}/usr/libexec/mozc")
|
||||
gyp_arguments+=(-D document_dir="${EPREFIX}/usr/libexec/mozc/documents")
|
||||
|
||||
if use ibus; then
|
||||
gyp_arguments+=(-D ibus_mozc_path="${EPREFIX}/usr/libexec/ibus-engine-mozc")
|
||||
gyp_arguments+=(-D ibus_mozc_icon_path="${EPREFIX}/usr/share/ibus-mozc/product_icon.png")
|
||||
fi
|
||||
|
||||
unset AR CC CXX LD NM READELF
|
||||
|
||||
execute "${PYTHON}" build_mozc.py gyp \
|
||||
--gypdir="${EPREFIX}/usr/bin" \
|
||||
--server_dir="${EPREFIX}/usr/libexec/mozc" \
|
||||
--verbose \
|
||||
$(usex gui "" --noqt) \
|
||||
-- "${gyp_arguments[@]}" || die "Configuration failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local targets=(server/server.gyp:mozc_server)
|
||||
if use emacs; then
|
||||
targets+=(unix/emacs/emacs.gyp:mozc_emacs_helper)
|
||||
fi
|
||||
if use fcitx4; then
|
||||
targets+=(unix/fcitx/fcitx.gyp:fcitx-mozc)
|
||||
fi
|
||||
if use gui; then
|
||||
targets+=(gui/gui.gyp:mozc_tool)
|
||||
fi
|
||||
if use ibus; then
|
||||
targets+=(unix/ibus/ibus.gyp:ibus_mozc)
|
||||
fi
|
||||
if use renderer; then
|
||||
targets+=(renderer/renderer.gyp:mozc_renderer)
|
||||
fi
|
||||
if use test; then
|
||||
targets+=(gyp/tests.gyp:unittests)
|
||||
fi
|
||||
|
||||
execute "${PYTHON}" build_mozc.py build -c ${BUILD_TYPE} -v "${targets[@]}" || die "Building failed"
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile unix/emacs/*.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
execute "${PYTHON}" build_mozc.py runtests -c ${BUILD_TYPE} --test_jobs 1 || die "Testing failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec/mozc
|
||||
doexe out_linux/${BUILD_TYPE}/mozc_server
|
||||
|
||||
if use gui; then
|
||||
doexe out_linux/${BUILD_TYPE}/mozc_tool
|
||||
fi
|
||||
|
||||
if use renderer; then
|
||||
doexe out_linux/${BUILD_TYPE}/mozc_renderer
|
||||
fi
|
||||
|
||||
insinto /usr/libexec/mozc/documents
|
||||
doins data/installer/credits_en.html
|
||||
|
||||
if use emacs; then
|
||||
dobin out_linux/${BUILD_TYPE}/mozc_emacs_helper
|
||||
elisp-install ${PN} unix/emacs/*.{el,elc}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${PN}
|
||||
fi
|
||||
|
||||
if use fcitx4; then
|
||||
exeinto /usr/$(get_libdir)/fcitx
|
||||
doexe out_linux/${BUILD_TYPE}/fcitx-mozc.so
|
||||
|
||||
insinto /usr/share/fcitx/addon
|
||||
doins unix/fcitx/fcitx-mozc.conf
|
||||
|
||||
insinto /usr/share/fcitx/inputmethod
|
||||
doins unix/fcitx/mozc.conf
|
||||
|
||||
insinto /usr/share/fcitx/mozc/icon
|
||||
newins data/images/product_icon_32bpp-128.png mozc.png
|
||||
local image
|
||||
for image in ../../fcitx-${PN}/src/data/images/unix/ui-*.png; do
|
||||
newins "${image}" "mozc-${image#../../fcitx-${PN}/src/data/images/unix/ui-}"
|
||||
done
|
||||
|
||||
local locale mo_file
|
||||
for mo_file in out_linux/${BUILD_TYPE}/gen/unix/fcitx/po/*.mo; do
|
||||
locale="${mo_file##*/}"
|
||||
locale="${locale%.mo}"
|
||||
insinto /usr/share/locale/${locale}/LC_MESSAGES
|
||||
newins "${mo_file}" fcitx-mozc.mo
|
||||
done
|
||||
fi
|
||||
|
||||
if use ibus; then
|
||||
exeinto /usr/libexec
|
||||
newexe out_linux/${BUILD_TYPE}/ibus_mozc ibus-engine-mozc
|
||||
|
||||
insinto /usr/share/ibus/component
|
||||
doins out_linux/${BUILD_TYPE}/gen/unix/ibus/mozc.xml
|
||||
|
||||
insinto /usr/share/ibus-mozc
|
||||
newins data/images/unix/ime_product_icon_opensource-32.png product_icon.png
|
||||
local image
|
||||
for image in data/images/unix/ui-*.png; do
|
||||
newins "${image}" "${image#data/images/unix/ui-}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "ENVIRONMENTAL VARIABLES"
|
||||
elog
|
||||
elog "MOZC_SERVER_DIRECTORY"
|
||||
elog " Mozc server directory"
|
||||
elog " Value used by default: \"${EPREFIX}/usr/libexec/mozc\""
|
||||
elog "MOZC_DOCUMENTS_DIRECTORY"
|
||||
elog " Mozc documents directory"
|
||||
elog " Value used by default: \"${EPREFIX}/usr/libexec/mozc/documents\""
|
||||
elog "MOZC_CONFIGURATION_DIRECTORY"
|
||||
elog " Mozc configuration directory"
|
||||
elog " Value used by default: \"~/.mozc\""
|
||||
elog
|
||||
if use emacs; then
|
||||
elog
|
||||
elog "USAGE IN EMACS"
|
||||
elog
|
||||
elog "mozc-mode is minor mode to input Japanese text using Mozc server."
|
||||
elog "mozc-mode can be used via LEIM (Library of Emacs Input Method)."
|
||||
elog
|
||||
elog "In order to use mozc-mode by default, the following settings should be added to"
|
||||
elog "Emacs init file (~/.emacs.d/init.el or ~/.emacs):"
|
||||
elog
|
||||
elog " (require 'mozc)"
|
||||
elog " (set-language-environment \"Japanese\")"
|
||||
elog " (setq default-input-method \"japanese-mozc\")"
|
||||
elog
|
||||
elog "With the above settings, typing C-\\ (which is bound to \"toggle-input-method\""
|
||||
elog "by default) will enable mozc-mode."
|
||||
elog
|
||||
elog "Alternatively, at run time, after loading mozc.el, mozc-mode can be activated by"
|
||||
elog "calling \"set-input-method\" and entering \"japanese-mozc\"."
|
||||
elog
|
||||
|
||||
elisp-site-regen
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,373 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler@1.0.2
|
||||
ahash@0.4.8
|
||||
ahash@0.8.6
|
||||
aho-corasick@1.1.2
|
||||
android-tzdata@0.1.1
|
||||
android_system_properties@0.1.5
|
||||
ansi_colours@1.2.2
|
||||
anstream@0.6.4
|
||||
anstyle@1.0.4
|
||||
anstyle-parse@0.2.2
|
||||
anstyle-query@1.0.0
|
||||
anstyle-wincon@3.0.1
|
||||
anyhow@1.0.75
|
||||
argh@0.1.12
|
||||
argh_derive@0.1.12
|
||||
argh_shared@0.1.12
|
||||
arrayref@0.3.7
|
||||
arrayvec@0.7.4
|
||||
autocfg@1.1.0
|
||||
base64@0.13.1
|
||||
base64@0.21.5
|
||||
bet@1.0.2
|
||||
bincode@1.3.3
|
||||
bit_field@0.10.2
|
||||
bitflags@1.3.2
|
||||
bitflags@2.4.1
|
||||
block@0.1.6
|
||||
bstr@1.8.0
|
||||
bumpalo@3.14.0
|
||||
bytemuck@1.14.0
|
||||
byteorder@1.5.0
|
||||
cc@1.0.83
|
||||
cfg-if@1.0.0
|
||||
char_reader@0.1.1
|
||||
chrono@0.4.31
|
||||
clap@4.4.8
|
||||
clap-help@1.0.0
|
||||
clap_builder@4.4.8
|
||||
clap_complete@4.4.4
|
||||
clap_derive@4.4.7
|
||||
clap_lex@0.6.0
|
||||
clap_mangen@0.2.15
|
||||
cli-log@2.0.0
|
||||
clipboard-win@4.5.0
|
||||
clipboard_macos@0.1.0
|
||||
color_quant@1.1.0
|
||||
colorchoice@1.0.0
|
||||
coolor@0.5.1
|
||||
coolor@0.8.0
|
||||
core-foundation-sys@0.8.4
|
||||
crc32fast@1.3.2
|
||||
crokey@0.4.3
|
||||
crokey-proc_macros@0.4.0
|
||||
crossbeam@0.8.2
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-deque@0.8.3
|
||||
crossbeam-epoch@0.9.15
|
||||
crossbeam-queue@0.3.8
|
||||
crossbeam-utils@0.8.16
|
||||
crossterm@0.23.2
|
||||
crossterm_winapi@0.9.1
|
||||
crunchy@0.2.2
|
||||
csv@1.3.0
|
||||
csv-core@0.1.11
|
||||
csv2svg@0.1.12
|
||||
custom_error@1.9.2
|
||||
data-url@0.3.0
|
||||
deranged@0.3.9
|
||||
deser-hjson@2.2.3
|
||||
directories@4.0.1
|
||||
directories-next@2.0.0
|
||||
dirs-sys@0.3.7
|
||||
dirs-sys-next@0.1.2
|
||||
doc-comment@0.3.3
|
||||
either@1.9.0
|
||||
equivalent@1.0.1
|
||||
errno@0.3.7
|
||||
error-code@2.3.1
|
||||
exr@1.71.0
|
||||
fallible-iterator@0.2.0
|
||||
fallible-streaming-iterator@0.1.9
|
||||
fastrand@2.0.1
|
||||
fdeflate@0.3.1
|
||||
file-size@1.0.3
|
||||
flate2@1.0.28
|
||||
float-cmp@0.9.0
|
||||
flume@0.11.0
|
||||
fnv@1.0.7
|
||||
fontconfig-parser@0.5.3
|
||||
fontdb@0.15.0
|
||||
form_urlencoded@1.2.0
|
||||
gethostname@0.3.0
|
||||
getrandom@0.2.11
|
||||
gif@0.12.0
|
||||
git2@0.14.4
|
||||
glassbench@0.3.6
|
||||
glob@0.3.1
|
||||
half@2.2.1
|
||||
hashbrown@0.9.1
|
||||
hashbrown@0.14.2
|
||||
hashlink@0.6.0
|
||||
heck@0.4.1
|
||||
home@0.5.5
|
||||
iana-time-zone@0.1.58
|
||||
iana-time-zone-haiku@0.1.2
|
||||
id-arena@2.2.1
|
||||
idna@0.4.0
|
||||
image@0.24.7
|
||||
imagesize@0.12.0
|
||||
include_dir@0.7.3
|
||||
include_dir_macros@0.7.3
|
||||
indexmap@2.1.0
|
||||
is_executable@1.0.1
|
||||
itoa@1.0.9
|
||||
jobserver@0.1.27
|
||||
jpeg-decoder@0.3.0
|
||||
js-sys@0.3.65
|
||||
kurbo@0.9.5
|
||||
lazy-regex@3.1.0
|
||||
lazy-regex-proc_macros@3.1.0
|
||||
lazy_static@1.4.0
|
||||
lebe@0.5.2
|
||||
lfs-core@0.11.2
|
||||
libc@0.2.150
|
||||
libgit2-sys@0.13.5+1.4.5
|
||||
libredox@0.0.1
|
||||
libsqlite3-sys@0.20.1
|
||||
libz-sys@1.1.12
|
||||
line-wrap@0.1.1
|
||||
linked-hash-map@0.5.6
|
||||
linux-raw-sys@0.4.11
|
||||
lock_api@0.4.11
|
||||
log@0.4.20
|
||||
malloc_buf@0.0.6
|
||||
memchr@2.6.4
|
||||
memmap2@0.6.2
|
||||
memmap2@0.8.0
|
||||
memoffset@0.6.5
|
||||
memoffset@0.7.1
|
||||
memoffset@0.9.0
|
||||
minimad@0.13.0
|
||||
miniz_oxide@0.7.1
|
||||
mio@0.8.9
|
||||
nix@0.22.3
|
||||
nix@0.26.4
|
||||
normpath@1.1.1
|
||||
num-integer@0.1.45
|
||||
num-rational@0.4.1
|
||||
num-traits@0.2.17
|
||||
objc@0.2.7
|
||||
objc-foundation@0.1.1
|
||||
objc_id@0.1.1
|
||||
once_cell@1.18.0
|
||||
onig@6.4.0
|
||||
onig_sys@69.8.1
|
||||
open@1.7.1
|
||||
opener@0.6.1
|
||||
parking_lot@0.12.1
|
||||
parking_lot_core@0.9.9
|
||||
pathdiff@0.2.1
|
||||
percent-encoding@2.3.0
|
||||
phf@0.11.2
|
||||
phf_generator@0.11.2
|
||||
phf_macros@0.11.2
|
||||
phf_shared@0.11.2
|
||||
pico-args@0.5.0
|
||||
pkg-config@0.3.27
|
||||
plist@1.6.0
|
||||
png@0.17.10
|
||||
powerfmt@0.2.0
|
||||
proc-macro2@1.0.69
|
||||
proc-status@0.1.1
|
||||
qoi@0.4.1
|
||||
quick-xml@0.31.0
|
||||
quote@1.0.33
|
||||
rand@0.8.5
|
||||
rand_core@0.6.4
|
||||
rayon@1.8.0
|
||||
rayon-core@1.12.0
|
||||
rctree@0.5.0
|
||||
redox_syscall@0.4.1
|
||||
redox_users@0.4.4
|
||||
regex@1.10.2
|
||||
regex-automata@0.4.3
|
||||
regex-syntax@0.6.29
|
||||
regex-syntax@0.8.2
|
||||
resvg@0.36.0
|
||||
rgb@0.8.37
|
||||
roff@0.2.1
|
||||
roxmltree@0.18.1
|
||||
rusqlite@0.24.2
|
||||
rustix@0.38.25
|
||||
rustybuzz@0.10.0
|
||||
ryu@1.0.15
|
||||
safemem@0.3.3
|
||||
same-file@1.0.6
|
||||
scopeguard@1.2.0
|
||||
secular@1.0.1
|
||||
serde@1.0.193
|
||||
serde_derive@1.0.193
|
||||
serde_json@1.0.108
|
||||
serde_spanned@0.6.4
|
||||
signal-hook@0.3.17
|
||||
signal-hook-mio@0.2.3
|
||||
signal-hook-registry@1.4.1
|
||||
simd-adler32@0.3.7
|
||||
simplecss@0.2.1
|
||||
siphasher@0.3.11
|
||||
slotmap@1.0.6
|
||||
smallvec@1.11.2
|
||||
snafu@0.7.5
|
||||
snafu-derive@0.7.5
|
||||
spin@0.9.8
|
||||
splitty@1.0.1
|
||||
str-buf@1.0.6
|
||||
strict@0.1.4
|
||||
strict-num@0.1.1
|
||||
strsim@0.10.0
|
||||
svg@0.13.1
|
||||
svgtypes@0.12.0
|
||||
syn@1.0.109
|
||||
syn@2.0.39
|
||||
syntect-no-panic@4.6.1
|
||||
tempfile@3.8.1
|
||||
termimad@0.25.7
|
||||
termimad@0.26.1
|
||||
terminal-clipboard@0.4.1
|
||||
terminal-light@1.1.1
|
||||
termux-clipboard@0.1.0
|
||||
thiserror@1.0.50
|
||||
thiserror-impl@1.0.50
|
||||
tiff@0.9.0
|
||||
time@0.3.30
|
||||
time-core@0.1.2
|
||||
time-macros@0.2.15
|
||||
tiny-skia@0.11.2
|
||||
tiny-skia-path@0.11.2
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.1
|
||||
toml@0.8.8
|
||||
toml_datetime@0.6.5
|
||||
toml_edit@0.21.0
|
||||
trash@3.1.2
|
||||
ttf-parser@0.19.2
|
||||
umask@2.1.0
|
||||
unicode-bidi@0.3.13
|
||||
unicode-bidi-mirroring@0.1.0
|
||||
unicode-ccc@0.1.2
|
||||
unicode-ident@1.0.12
|
||||
unicode-normalization@0.1.22
|
||||
unicode-properties@0.1.0
|
||||
unicode-script@0.5.5
|
||||
unicode-vo@0.1.0
|
||||
unicode-width@0.1.11
|
||||
url@2.4.1
|
||||
usvg@0.36.0
|
||||
usvg-parser@0.36.0
|
||||
usvg-text-layout@0.36.0
|
||||
usvg-tree@0.36.0
|
||||
utf8parse@0.2.1
|
||||
uzers@0.11.3
|
||||
vcpkg@0.2.15
|
||||
version_check@0.9.4
|
||||
walkdir@2.4.0
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen@0.2.88
|
||||
wasm-bindgen-backend@0.2.88
|
||||
wasm-bindgen-macro@0.2.88
|
||||
wasm-bindgen-macro-support@0.2.88
|
||||
wasm-bindgen-shared@0.2.88
|
||||
weezl@0.1.7
|
||||
which@4.4.2
|
||||
winapi@0.3.9
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.6
|
||||
winapi-wsapoll@0.1.1
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
windows@0.44.0
|
||||
windows-core@0.51.1
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.42.2
|
||||
windows-targets@0.48.5
|
||||
windows_aarch64_gnullvm@0.42.2
|
||||
windows_aarch64_gnullvm@0.48.5
|
||||
windows_aarch64_msvc@0.42.2
|
||||
windows_aarch64_msvc@0.48.5
|
||||
windows_i686_gnu@0.42.2
|
||||
windows_i686_gnu@0.48.5
|
||||
windows_i686_msvc@0.42.2
|
||||
windows_i686_msvc@0.48.5
|
||||
windows_x86_64_gnu@0.42.2
|
||||
windows_x86_64_gnu@0.48.5
|
||||
windows_x86_64_gnullvm@0.42.2
|
||||
windows_x86_64_gnullvm@0.48.5
|
||||
windows_x86_64_msvc@0.42.2
|
||||
windows_x86_64_msvc@0.48.5
|
||||
winnow@0.5.19
|
||||
x11-clipboard@0.8.1
|
||||
x11rb@0.12.0
|
||||
x11rb-protocol@0.12.0
|
||||
xmlparser@0.13.6
|
||||
xmlwriter@0.1.0
|
||||
xterm-query@0.1.0
|
||||
xterm-query@0.2.0
|
||||
yaml-rust@0.4.5
|
||||
zerocopy@0.7.26
|
||||
zerocopy-derive@0.7.26
|
||||
zune-inflate@0.2.54
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${CARGO_CRATE_URIS}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
sys-libs/zlib
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.65"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST hyfetch-1.4.10.tar.gz 266471 BLAKE2B 294002c2cd986055f6392aa61bb8de1d3d558712cd327243e7c2e756aa6e00ff23372fd0ffcc60db8f978110a3d8d1d78c6f683e304fc65b19d2f076e10347f2 SHA512 3f44bd9c0b030b435949db0c0cbd4913e7ec15e857df0dcf2fc3b7d10dca0a4c8ecb9862157f60eebd15b7a1c233c51a74f341b440892e0925871e42215c80e0
|
||||
DIST hyfetch-1.4.11.tar.gz 275741 BLAKE2B 0739dc7bc2a90989dcd4dbdd6d14ce8ba62def2a9e069ae16a3a1435118e3639edcc112fc3fa0b8dd54684744e500672c7397315b78d965b68da2f9b9f702b13 SHA512 13c757fed68c9aa1caa503553d6d29c0b68284029090b970b863dec3240dabb28a852ef0ec0f2742c6c268e30a15c48018a651e74ba0e6782b5aa14f2b1d1312
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit optfeature distutils-r1
|
||||
|
||||
DESCRIPTION="Neofetch with LGBTQ+ pride flags!"
|
||||
HOMEPAGE="https://github.com/hykilpikonna/hyfetch"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/hykilpikonna/hyfetch.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/hykilpikonna/${PN}/archive/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "displaying images" "media-libs/imlib2 www-client/w3m[imlib]"
|
||||
optfeature "gpu detection" sys-apps/pciutils
|
||||
optfeature "thumbnail creation" media-gfx/imagemagick
|
||||
optfeature "wallpaper" media-gfx/feh x11-misc/nitrogen
|
||||
optfeature "window size" x11-misc/xdotool "x11-apps/xwininfo x11-apps/xprop" "x11-apps/xwininfo x11-apps/xdpyinfo"
|
||||
elog "The standard neofetch is installed as 'neowofetch', to avoid name conflicts."
|
||||
elog "So if you do not wish to use the pride flag functionality, you can call the"
|
||||
elog "tool that way instead."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jq-1.7.1.gh.tar.gz 1323338 BLAKE2B 17e3b68e23f9a7f1aa8749ede6c0b8fe435990899886f0c96da36d130c17d13609ba7f910321316f0c3b35985360f8cb5e6a3b12caea5e9bc7792e128798f137 SHA512 af9c444e5306423182f467a53acdf45bb8aefa058a47f490ce16395f0aebfb7627e3843f65e96f41cd9d4b72b8ad274ab0bdb061abc6990b1158f86d2256d4ec
|
||||
DIST jq-1.7.gh.tar.gz 1267139 BLAKE2B b6a54f9beaabd7915d7a8f14cda9621573f1796af53fe1645561a7a199787a7e9b2b2df038208f23e63f339dec567851b70696ffb8194986250527333d36d44e SHA512 01676319fe98d5ab1e278430b2c58ec594191cc9485a20312d658c0e199ac7ea5f5e934817ce98da0864ec7e0a018aae9b87525260e8ab6a7bde918db483bd84
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="A lightweight and flexible command-line JSON processor"
|
||||
HOMEPAGE="https://stedolan.github.io/jq/"
|
||||
SRC_URI="https://github.com/jqlang/jq/archive/refs/tags/${MY_P}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
LICENSE="MIT CC-BY-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+oniguruma static-libs test"
|
||||
|
||||
ONIGURUMA_MINPV='>=dev-libs/oniguruma-6.9.3' # Keep this in sync with bundled modules/oniguruma/
|
||||
DEPEND="
|
||||
>=sys-devel/bison-3.0
|
||||
sys-devel/flex
|
||||
oniguruma? ( ${ONIGURUMA_MINPV}:=[static-libs?] )
|
||||
"
|
||||
RDEPEND="
|
||||
!static-libs? (
|
||||
oniguruma? ( ${ONIGURUMA_MINPV}[static-libs?] )
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/jq-1.6-r3-never-bundle-oniguruma.patch
|
||||
"${FILESDIR}"/jq-1.7-runpath.patch
|
||||
)
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="test? ( oniguruma )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am || die
|
||||
printf "#!/bin/sh\\nprintf '%s'\\n\n" "${MY_PV}" > scripts/version || die
|
||||
|
||||
# jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma,
|
||||
# but the bundled copy of oniguruma still gets eautoreconf'd since it
|
||||
# exists; save the cycles by nuking it.
|
||||
sed -e '/modules\/oniguruma/d' -i Makefile.am || die
|
||||
rm -rf "${S}"/modules/oniguruma || die
|
||||
|
||||
default
|
||||
|
||||
sed -i "s/\[jq_version\]/[${MY_PV}]/" configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local econfargs=(
|
||||
# don't try to rebuild docs
|
||||
--disable-docs
|
||||
--disable-valgrind
|
||||
--disable-maintainer-mode
|
||||
--enable-rpathhack
|
||||
$(use_enable static-libs static)
|
||||
$(use_with oniguruma oniguruma yes)
|
||||
)
|
||||
econf "${econfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if ! LD_LIBRARY_PATH="${S}/.libs" nonfatal emake check; then
|
||||
if [[ -r "${S}/test-suite.log" ]]; then
|
||||
eerror "Tests failed, outputting testsuite log"
|
||||
cat "${S}/test-suite.log"
|
||||
fi
|
||||
die "Tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( AUTHORS NEWS.md README.md SECURITY.md )
|
||||
default
|
||||
|
||||
use static-libs || { find "${D}" -name '*.la' -delete || die; }
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue