parent
f16a12f4b5
commit
0de4aec203
Binary file not shown.
Binary file not shown.
@ -0,0 +1,80 @@
|
|||||||
|
# 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..11} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
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.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
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 EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||||
|
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||||
|
)
|
||||||
|
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
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,18 +1,2 @@
|
|||||||
DIST vault-1.10.7-vendor.tar.gz 50109804 BLAKE2B 59a10957b34842fe0eb24cbb2de108c1fdf11b2ea6c31472944d5e607a78a5e1272caa105ef38fce733fe082e4c4257903804bacc78694f41d1149ca632f96e5 SHA512 4efb49e48fd217d3483a7114cc797d1f78c8d01a9358270905576e3056fe42a157a0056994ddceaf9ceee9b725611836b85bca80c8daec306d2c0fad772219f1
|
|
||||||
DIST vault-1.10.7-webui.tar.xz 1258120 BLAKE2B 82acff201b446be456377f9470552626ba85aeb0233e029f34979c2a45547803e297c9cb1a051400181c41369116ffa1b72d14512bf4adf6f7aecb90b4df33d2 SHA512 1e8eb28f0033a8748c10bd63033e4f5f72c4fd9343b328e1fb98ac4ebfb999ab64bb29502cc3b9a805fa725844077b38c9795b4fb5ea3c6c9c67cdd9d5bd5bd7
|
|
||||||
DIST vault-1.10.8-vendor.tar.gz 50130552 BLAKE2B 916d5eb0a1574547ce42e7747e57356e423d131692fcc0742dfd1c610b548ba661c7c9ef4f9ab2264f55e85df4ba463c05b6e10daae89c52bf40f0e876785fe3 SHA512 e66ec97793fa9c998dba9ed3cb9b3a6023dae6ee30517ecd51952cf70ddf2e57288be0b8dc925b342a2b10a3b3d2960cac0f87803309cdefc25abf51bfc9be25
|
|
||||||
DIST vault-1.10.8-webui.tar.xz 1258244 BLAKE2B d6e6100048b52bcef1a9c10f9e5e42c05121a0256ac0a171d9c8d7942758eebf72967c5a9c76da3df59fa578a3ac9256cd0075719ab6751e13e806d8a93b760a SHA512 60b7ff82562ab3c061219221a2f9ce49ad53b494ace7d14252b25334c7a0c5dab0ac62de28e20bfe73cdcae438368ecfe1fd9a94b2ce1a434dde939898e30f4d
|
|
||||||
DIST vault-1.11.4-vendor.tar.gz 52097178 BLAKE2B 3f0fdddff8d9a834dff77bfb696c8c440660083f20c328c84a2b45e270defaa19fb461abf1a7ecca23ef8f8b2ad57cca33fa19103c87a8c9d5d2c947562a96c7 SHA512 5ada435c7bc75f06c381f4f75ca4717044cc17ec009283647175d1a68fdacb3175052e2292d7a739ae8475715e8592d3bf7f3fe4f3e8dc027688a15b771ca935
|
|
||||||
DIST vault-1.11.4-webui.tar.xz 1335580 BLAKE2B 9c2c58448083e781e74d4bd9e6bc9128224a9d10020c6b30af111c869a86467bde4683825908b892f20f7024eda081d026d2fa01b9ee0fb02fa94d7f412dacb4 SHA512 6739ac2845eaf2e82b7f5177bbfc42ccaf05a1fd1c50b2e53e296faf8a631846f9495d2d19269735723cc60f2ecbd5c90533a9fa88efd7c8d9c8c6575e4801d9
|
|
||||||
DIST vault-1.11.5-vendor.tar.gz 52130355 BLAKE2B 0047b52439c12512e6da4b797742b079ca2dcd6f858b7f27637e409c3061de04a9d38b4d05269bd440c2178fd9547b1323bc680d65cb74a3ce98816303d72c1f SHA512 70db863583ee5f1180068b70ddf8baaf95e61a31d816db2e212703e1052c1a70b7098bfd53b2b28319dbf21e168b660e16cc5907b503e5e558c6763540d70eba
|
|
||||||
DIST vault-1.11.5-webui.tar.xz 1335704 BLAKE2B 7a8161070fd9762645a01e00fb88ab7ef4847810856e0c7e9a478cb149401db53789ca4d377a06ed4843b3cc77c655cee7036510c5625bc503f6dd9f7e347420 SHA512 d6b49dd31877bf8a9cf7b7588df58163c35c9fe5fe225b595ca421209acd4c823b71d21195a2f217dc8b63a825b5323b3475e1fe42be6d2c8d471d91e6f75097
|
|
||||||
DIST vault-1.11.9-vendor.tar.gz 52398089 BLAKE2B cb84d50fb328c299b828dd8f9fe619e49e9ebf22efc3a8f54cfb6324352a3e9fc28c71c0c3201579d3f6ca3c6a36ac9c6277082234c646c1bcd4b2e306cbfb40 SHA512 ce527465660c0b793293331b26500cbc39d4999e7d530f6c28d44bdc89390d6564138ea84d4aaa4e0bf94fb5045bf07ee2dfd8c5376f4a27fce139e0335b564e
|
|
||||||
DIST vault-1.11.9-webui.tar.xz 1335624 BLAKE2B 0f1274238b7a2a8a52f4e0e6c1d4311f89b33351370f58e905c75758c1b1f2c3fd9910126cc472de534f9c5da1d68c4aba4a05f8123b418771f0af1a8b01e740 SHA512 bd73655b57ef7bfdabdc7ff00299c64dda77604c27a1f8e81ec1e791bfaea248a05f8334de4d5c7b1ca411e7e6b424ce8a76ed6124ba75438f33d90277842684
|
|
||||||
DIST vault-1.12.0-vendor.tar.gz 53774794 BLAKE2B 2aa91274bcd3efe2c34c9acdc3000af9903e2d1d67dcd0484b4046a78dbc140b460d2f5f9dc73f96302991245da5381483d4c24444f83c0f642b56956e9ea6a4 SHA512 42593ea9b731d02c8a6d6ec7adb2adb7dc5b5a41c549a44991eb66e79dce8b3cac3553157ef1c34202f662279de1da03da87271090649a6c773f53d5d6971e25
|
|
||||||
DIST vault-1.12.0-webui.tar.xz 1413084 BLAKE2B 5f681ac61b14694e64be0a55445d0849b9b7481dc2456c923297f496b60d843ffae2d7f27b029ed33b4e7efd3029d99c1cb30110da3ad3162ee4135f3856d60e SHA512 4399f2e4c85712cd83b8265315186d6f7161fa545e0708a56ff7c56fbde335eb2ab9a357720850c0007e55679b94edbaadd3c2318671676e658f270f4d04de34
|
|
||||||
DIST vault-1.12.1-vendor.tar.gz 53818036 BLAKE2B 58bf72efa345d737dd74a58bd56be3740d19fa5849d11f4aa4bc3ccb46ca42e84b1aa85bcf9f76e4ae5a72c3b954519a1ac989ff0f779c5fd25a42fe17b573c6 SHA512 55ccb2c61e6baf69627e1443ce6f524c2d6f8bf1ff59103173acd74e1a3a0a79a90a5dab95790f002ca7261e80c38dc2c8c27f95553bac65e2d0fa7f48254b23
|
|
||||||
DIST vault-1.12.1-webui.tar.xz 1413308 BLAKE2B 1a6008bc67f08037a0dbd966d004c424b249597cd9f1002e30a23262bd1df6ddc388e7d863ff3f62350d8a4b3807de40a1d33da08ade1fe5ec84d4cecc64ade8 SHA512 87d30c77772fa982a110cfe4fa0d118b302796e7dcdfa71b94e6bd1cca0369cb0555169ef48acc68e16d11a1ab47ef096cc91e204be3189f4779125449cd9cd1
|
|
||||||
DIST vault-1.12.2-vendor.tar.gz 53842063 BLAKE2B 42917c6310ca53254be9d6339a786902327074635297ad84fcacd2a73b9b2d974830f91f527116f6764ea8f848809944fd52e623c3ecc2ac88dae698aa6f4636 SHA512 8c6fd33c363099bda13a2992200356d4a877ff4c52ca4613f1cb2c8d2cbabaf0f9f760dcd6bcd3d4e4453324edce3efe07d27700f30bced85da0f56ef9321697
|
|
||||||
DIST vault-1.12.2-webui.tar.xz 1413036 BLAKE2B 7d773274c27d93ca8f492d792390896b6b7ab0e52b3636428f182a62161049d1593aef5280826dd83535e9ad86e925edba234ca982f2c9d1d06d2012c9757779 SHA512 0076e7b75fc0d3c400022a95cc6abc4a9224fd76d3d9716f7d4a80e4856c9deb1890ba13e7e5adf86ee81486c2f530f2eb48e49d8bdb7fde6eab5bb83f815293
|
|
||||||
DIST vault-1.12.5-vendor.tar.gz 53968923 BLAKE2B ea00b99e5cecbd0157222057269a570ea10194aa60821efeee8fa85c6a7497f3dd46d2d6fe04ad2c881e8176fff6bc033986099657e9333c9dfe6dd1c796aea1 SHA512 554b2e23120045d8ae22365d509756aa47754d4ba8c02886619fdf383a95fcbad172b2fe4b738df1c09ff0368aab6fc68aa70305b075254f103358e99fbc508e
|
DIST vault-1.12.5-vendor.tar.gz 53968923 BLAKE2B ea00b99e5cecbd0157222057269a570ea10194aa60821efeee8fa85c6a7497f3dd46d2d6fe04ad2c881e8176fff6bc033986099657e9333c9dfe6dd1c796aea1 SHA512 554b2e23120045d8ae22365d509756aa47754d4ba8c02886619fdf383a95fcbad172b2fe4b738df1c09ff0368aab6fc68aa70305b075254f103358e99fbc508e
|
||||||
DIST vault-1.12.5-webui.tar.xz 1415000 BLAKE2B b3fc8fd9074456b4b9518c4eb8ce2657fb3d3ef16338afc548a2a397d1d2e9e8f1520549cfd2833554249f6eb8f64fe798e1743c1745d81c58710299dbeb50b3 SHA512 e77616d03042dd101fa854004a36ab74641196dd3dfb40daef58896dc330b3b17da3fad56a29ca7d93a034901a30cac1928e44ed6e48e77dc5aa16f6369e7d3e
|
DIST vault-1.12.5-webui.tar.xz 1415000 BLAKE2B b3fc8fd9074456b4b9518c4eb8ce2657fb3d3ef16338afc548a2a397d1d2e9e8f1520549cfd2833554249f6eb8f64fe798e1743c1745d81c58710299dbeb50b3 SHA512 e77616d03042dd101fa854004a36ab74641196dd3dfb40daef58896dc330b3b17da3fad56a29ca7d93a034901a30cac1928e44ed6e48e77dc5aa16f6369e7d3e
|
||||||
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit fcaps go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
|
|
||||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
|
||||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
|
||||||
webui? (
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
||||||
IUSE="+webui"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/zip
|
|
||||||
dev-go/gox
|
|
||||||
>=dev-lang/go-1.15.3"
|
|
||||||
COMMON_DEPEND="acct-group/vault
|
|
||||||
acct-user/vault"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
S=${WORKDIR}/${P}-vendor
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Avoid the need to have a git checkout
|
|
||||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
|
||||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
|
||||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
|
||||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
|
||||||
-i scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" \
|
|
||||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
|
||||||
-e "s/gofumpt/gofmt/g" \
|
|
||||||
-i Makefile || die
|
|
||||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
|
||||||
rm -rf "${S}/http/web_ui" || die
|
|
||||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
|
||||||
die "mv failed"
|
|
||||||
else
|
|
||||||
mkdir -p "${S}/http/web_ui" || die
|
|
||||||
touch "${S}/http/web_ui/no_web_ui" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir "${T}"/bin || die
|
|
||||||
BUILD_TAGS="$(usex webui ui '')" \
|
|
||||||
GOPATH="${T}" \
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST dtrx-8.5.0.tar.gz 34061 BLAKE2B d8ecbd9f3594440656e40d811846dd302d271f189711176a406572871db69f98bb4fd81a76ebdce697faf8d56029f4dcf735d18795adf732809e6017a7395cf2 SHA512 0ef0c0c9c22d948f6a8ee801372605dae52f4f571a32bbaa180c2c1daab061d623119c91b745f6a86cd28d7d08cdb47029a4de38354bdb28c62acfab080cc0f1
|
DIST dtrx-8.5.0.tar.gz 34061 BLAKE2B d8ecbd9f3594440656e40d811846dd302d271f189711176a406572871db69f98bb4fd81a76ebdce697faf8d56029f4dcf735d18795adf732809e6017a7395cf2 SHA512 0ef0c0c9c22d948f6a8ee801372605dae52f4f571a32bbaa180c2c1daab061d623119c91b745f6a86cd28d7d08cdb47029a4de38354bdb28c62acfab080cc0f1
|
||||||
DIST dtrx-8.5.2.tar.gz 34112 BLAKE2B 01d13bc2f53bb8093c8c69acea6af4d80ef3c58dc61ad28a79b1385814693738c371bb38742aa6df933c8f69d1ad86ba05c45d222e4b5398df8fc811c50c2c9e SHA512 b8091bc0a948b9fd796b9a6e335e270736e9a66d103406bbac7d5064cf01067daed5f4287ab5e29aca61819915461ff31979dda437fd6089ab3f62c44d97f065
|
DIST dtrx-8.5.2.tar.gz 34112 BLAKE2B 01d13bc2f53bb8093c8c69acea6af4d80ef3c58dc61ad28a79b1385814693738c371bb38742aa6df933c8f69d1ad86ba05c45d222e4b5398df8fc811c50c2c9e SHA512 b8091bc0a948b9fd796b9a6e335e270736e9a66d103406bbac7d5064cf01067daed5f4287ab5e29aca61819915461ff31979dda437fd6089ab3f62c44d97f065
|
||||||
|
DIST dtrx-8.5.3.tar.gz 34147 BLAKE2B 156d2305f777b63870490736fd769a9d480f390d41ac0aa6acac16d4c5b21bb5b3f88d7b2cea6ecbf74511895bb3c3d923a6186d5189ebf3f7a5f4bb5db6c0f1 SHA512 0c29f0d9ca03d11206297669c20c3443c420db4aa0d91da54a5f6ac7236120af04a1a8d7e2e4f85b3d7e6c6050786cc0293bab02f424fe3be52a40f069d397be
|
||||||
|
@ -0,0 +1,57 @@
|
|||||||
|
# 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..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Do The Right eXtraction - extracts archives of different formats"
|
||||||
|
HOMEPAGE="https://github.com/dtrx-py/dtrx/
|
||||||
|
https://pypi.org/project/dtrx/"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/${PN}-py/${PN}.git"
|
||||||
|
else
|
||||||
|
inherit pypi
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i '/ *platform==/s|.*||' setup.cfg || die # bug #894148
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local supported_format
|
||||||
|
local -a supported_formats=(
|
||||||
|
arj
|
||||||
|
bzip2
|
||||||
|
cpio
|
||||||
|
gzip
|
||||||
|
lrzip
|
||||||
|
lzip
|
||||||
|
p7zip
|
||||||
|
rpm
|
||||||
|
unrar
|
||||||
|
unzip
|
||||||
|
xz-utils
|
||||||
|
zip
|
||||||
|
zstd
|
||||||
|
)
|
||||||
|
|
||||||
|
for supported_format in ${supported_formats[@]}; do
|
||||||
|
optfeature \
|
||||||
|
"extraction of supported archives using ${supported_format}" \
|
||||||
|
app-arch/${supported_format}
|
||||||
|
done
|
||||||
|
}
|
Binary file not shown.
@ -1,5 +1,2 @@
|
|||||||
DIST conmon-2.0.30.tar.gz 161285 BLAKE2B c4e01759d819d3dff94b9ae09caa72b6f664e49d907d3a1be9fb4a0e1f782fad29a7cd7c89703e861f4aa6d7955996386f81460f19f22be2889c4f88c34536cb SHA512 2451e441913925f8423385b83e97630e980948a9bd57ae8800889016c4412a26bed598825d3c034c3edcecbab66c38417f55ad3866d3c2c98cada6acce2b2d16
|
|
||||||
DIST conmon-2.0.31.tar.gz 158184 BLAKE2B b14bae77a18cc352bc9583604544b4e7ffe4bd8a77e5c3185c897c11819bba227edcbd84b559d998a2b5648ca371f0e98e4d9cd15951a953cbe05a9c9ae9d434 SHA512 ff879fcd5a3b7de8ee6ff9de2a13d0afc36fdb392390278b26ee179be26ff375ddce4f5ae24e3e88b737f63202af64b49e82b2ffbfc0de8bfd14690dac523747
|
|
||||||
DIST conmon-2.1.0.tar.gz 159045 BLAKE2B a39b7620091ca17f4d91a26e040f886293688562cba1827cc09c1da1c1401ad78cbb16420c9df8a055ab5ca3eb2933aec6ac1b9fbb1eea10f33b1b0d76c5dd54 SHA512 0f27a1b048c2dcafb40cd67f80c2a5d7e92f5beb849174233dc10e2db42b4ea8b89f27c901d3f38cf1d412ed875c5521e07140038e859fb54bcc554cb9197e74
|
|
||||||
DIST conmon-2.1.6.tar.gz 157838 BLAKE2B 319a170ab048c14f3be998391da403799171c5d0e342ac4214a6456398ab872cb6a77cb4d67dbb97a0bc47008c6fa657ba2a166eea4c56ee65db545b08e032bd SHA512 0b5d7f33745766f4f1646e79554e16e1d6c977fd08c5a86c72068aec9f28110b5981c38972134741281c8470c295b6195843f3dbb78e1e9da34b8d577ea41d65
|
DIST conmon-2.1.6.tar.gz 157838 BLAKE2B 319a170ab048c14f3be998391da403799171c5d0e342ac4214a6456398ab872cb6a77cb4d67dbb97a0bc47008c6fa657ba2a166eea4c56ee65db545b08e032bd SHA512 0b5d7f33745766f4f1646e79554e16e1d6c977fd08c5a86c72068aec9f28110b5981c38972134741281c8470c295b6195843f3dbb78e1e9da34b8d577ea41d65
|
||||||
DIST conmon-2.1.7.tar.gz 158201 BLAKE2B 2f159177cfa78ecafef0217d21c9c56942c5498022d3777368d8caf81c2503aafabf002c0f9ec0537936eca34c156ed9bdd037b5543eca1edd5489d9bc1ac215 SHA512 95d394b399a19a62b894cdd03937ab79b81051eea1db461b1bf957ddd7626d6ca4aa108b8319ed8c08adbdf99fd960c5ba29146e8b0673b5c920708912a72973
|
DIST conmon-2.1.7.tar.gz 158201 BLAKE2B 2f159177cfa78ecafef0217d21c9c56942c5498022d3777368d8caf81c2503aafabf002c0f9ec0537936eca34c156ed9bdd037b5543eca1edd5489d9bc1ac215 SHA512 95d394b399a19a62b894cdd03937ab79b81051eea1db461b1bf957ddd7626d6ca4aa108b8319ed8c08adbdf99fd960c5ba29146e8b0673b5c920708912a72973
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="An OCI container runtime monitor"
|
|
||||||
HOMEPAGE="https://github.com/containers/conmon"
|
|
||||||
SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64"
|
|
||||||
IUSE="systemd"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/glib:=
|
|
||||||
systemd? ( sys-apps/systemd:= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-go/go-md2man"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if ! use systemd; then
|
|
||||||
sed -e 's| $(PKG_CONFIG) --exists libsystemd-journal | false |' \
|
|
||||||
-e 's| $(PKG_CONFIG) --exists libsystemd | false |' \
|
|
||||||
-i Makefile || die
|
|
||||||
fi
|
|
||||||
sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die
|
|
||||||
sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake GIT_COMMIT="v${PV}" \
|
|
||||||
all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" \
|
|
||||||
PREFIX="${EPREFIX}/usr" \
|
|
||||||
install
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
ln "${ED}/usr/"{bin,libexec/podman}/conmon || die
|
|
||||||
dodoc README.md
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="An OCI container runtime monitor"
|
|
||||||
HOMEPAGE="https://github.com/containers/conmon"
|
|
||||||
SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
|
||||||
IUSE="systemd"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/glib:=
|
|
||||||
sys-libs/libseccomp
|
|
||||||
systemd? ( sys-apps/systemd:= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-go/go-md2man"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if ! use systemd; then
|
|
||||||
sed -e 's| $(PKG_CONFIG) --exists libsystemd-journal | false |' \
|
|
||||||
-e 's| $(PKG_CONFIG) --exists libsystemd | false |' \
|
|
||||||
-i Makefile || die
|
|
||||||
fi
|
|
||||||
sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die
|
|
||||||
sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake GIT_COMMIT="v${PV}" \
|
|
||||||
all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" \
|
|
||||||
PREFIX="${EPREFIX}/usr" \
|
|
||||||
install
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
ln "${ED}/usr/"{bin,libexec/podman}/conmon || die
|
|
||||||
dodoc README.md
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="An OCI container runtime monitor"
|
|
||||||
HOMEPAGE="https://github.com/containers/conmon"
|
|
||||||
SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
||||||
IUSE="systemd"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/glib:=
|
|
||||||
sys-libs/libseccomp
|
|
||||||
systemd? ( sys-apps/systemd:= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-go/go-md2man"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if ! use systemd; then
|
|
||||||
sed -e 's| $(PKG_CONFIG) --exists libsystemd-journal | false |' \
|
|
||||||
-e 's| $(PKG_CONFIG) --exists libsystemd | false |' \
|
|
||||||
-i Makefile || die
|
|
||||||
fi
|
|
||||||
sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die
|
|
||||||
sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
tc-export CC
|
|
||||||
emake GIT_COMMIT="v${PV}" \
|
|
||||||
all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" \
|
|
||||||
PREFIX="${EPREFIX}/usr" \
|
|
||||||
install
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
ln "${ED}/usr/"{bin,libexec/podman}/conmon || die
|
|
||||||
dodoc README.md
|
|
||||||
}
|
|
@ -1,5 +1 @@
|
|||||||
DIST cri-tools-1.23.0.tar.gz 6823865 BLAKE2B 75d394ec1f9ccf2122476c9b845499212d668f8170ae8551913e3e057271986ab77454bdd0fa646127bfadda203fabdc57cc448dfe1e64dd7cdbedc8f5ee8cf6 SHA512 36700eaf872da14921e0b2c8fa68f91e3e0226364e29a5b8e132fbd52504e130e0bc2cce30aba21e7def576a4682f150b0b051d44b78aa694c225c10999d7155
|
|
||||||
DIST cri-tools-1.24.0.tar.gz 5868141 BLAKE2B 281c397bb60bb5075d2b99cab11a44cf8746c1f744dfafc4f051dd6c2344a53eba948a35d90f814105ef3cb2b0bef3e7e1723408069a2ab4293801f906ec48b0 SHA512 5c7468c15b9f030d5cf93112abc28f8024e1d1b46f85459cb0a10c84ab63d07f5dfa830d019f8ed1a31bf04ea14c5e200b11d85ae7573be44860b74312e66dbc
|
|
||||||
DIST cri-tools-1.24.1.tar.gz 5928557 BLAKE2B 42d2f0fc8227fd704c3884f1e8a195952aff1a64fb85629bef4122c011f76d0c7eb94ddcec7d56df610af6b3599b345676efa416249ce292725ec2bb35e8da66 SHA512 d36fda28e733fbf29a53c0384da86abf56373f4471797aaa030dc3d63a2f4682dddb0a5fd9a54ae74ac20c76e8acc5244781d8688ae03f8e930e56bcbe896fb0
|
|
||||||
DIST cri-tools-1.24.2.tar.gz 5968560 BLAKE2B 8dce8d16d5218aa73705b4a49b31391eaa25b21deb97f3dfe553f43d7371adf58206d9198f3e22e1c9cbcb7f41b832b0600b324d7c0f943ef313dc89900da46d SHA512 9b5907b37bb5f00295eff4fa4207ae55d930feae7e0f48fa130c7ecc936bcd259a11d59ed240684a3e12c8bcee40f2c67d7f4af52c2a76df3d7bf82e5e388a75
|
|
||||||
DIST cri-tools-1.25.0.tar.gz 7905707 BLAKE2B 79595f31fc22aff608406bad4319a60dddcabda5f4dab8706305f11500b3db43f1d7021a340a096227d4580212953f32a95b05bbf81c1236f8fa8cf635017abb SHA512 dc04359320d59d6b3789e4e81fb613f3795b7e82dbad681393eaeff2c876e5b0393dd9384d7857d24ada5de34d03e151f7cf121367cc20e71d0b78607372b3a1
|
DIST cri-tools-1.25.0.tar.gz 7905707 BLAKE2B 79595f31fc22aff608406bad4319a60dddcabda5f4dab8706305f11500b3db43f1d7021a340a096227d4580212953f32a95b05bbf81c1236f8fa8cf635017abb SHA512 dc04359320d59d6b3789e4e81fb613f3795b7e82dbad681393eaeff2c876e5b0393dd9384d7857d24ada5de34d03e151f7cf121367cc20e71d0b78607372b3a1
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module
|
|
||||||
|
|
||||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
|
||||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
|
||||||
SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
DEPEND="dev-lang/go"
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake VERSION="${PV}"
|
|
||||||
./build/bin/crictl completion bash > "${PN}.bash" || die
|
|
||||||
./build/bin/crictl completion zsh > "${PN}.zsh" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ./build/bin/crictl
|
|
||||||
|
|
||||||
newbashcomp ${PN}.bash ${PN}
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins ${PN}.zsh _${PN}
|
|
||||||
|
|
||||||
dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module
|
|
||||||
|
|
||||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
|
||||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
|
||||||
SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DEPEND="dev-lang/go"
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake VERSION="${PV}"
|
|
||||||
./build/bin/crictl completion bash > "${PN}.bash" || die
|
|
||||||
./build/bin/crictl completion zsh > "${PN}.zsh" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ./build/bin/crictl
|
|
||||||
|
|
||||||
newbashcomp ${PN}.bash ${PN}
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins ${PN}.zsh _${PN}
|
|
||||||
|
|
||||||
dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module
|
|
||||||
|
|
||||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
|
||||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
|
||||||
SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DEPEND="dev-lang/go"
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake VERSION="${PV}"
|
|
||||||
./build/bin/crictl completion bash > "crictl.bash" || die
|
|
||||||
./build/bin/crictl completion zsh > "crictl.zsh" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ./build/bin/crictl
|
|
||||||
|
|
||||||
newbashcomp crictl.bash crictl
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins crictl.zsh _crictl
|
|
||||||
|
|
||||||
dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module
|
|
||||||
|
|
||||||
DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
|
|
||||||
HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools"
|
|
||||||
SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DEPEND="dev-lang/go"
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake VERSION="${PV}"
|
|
||||||
./build/bin/crictl completion bash > "crictl.bash" || die
|
|
||||||
./build/bin/crictl completion zsh > "crictl.zsh" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ./build/bin/crictl
|
|
||||||
|
|
||||||
newbashcomp crictl.bash crictl
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins crictl.zsh _crictl
|
|
||||||
|
|
||||||
dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST ghub-3.5.4.tar.gz 58088 BLAKE2B 5ee6fe56455e8f12e7be8c1ae705a426677fab0b9a5da8f42c4b331bdd635120a2f5475055c9e98c8df01b259f76aa2dd4cad6e8b4562481d261bb7802b826f6 SHA512 df8ba56195ae3773c0c8c8a8f555e562b04de59ce3fb1c17c24ca3b10418299555326f0a9360eb47725310890e31f73221eece3ca1ff83e47d52941e224fc562
|
DIST ghub-3.5.4.tar.gz 58088 BLAKE2B 5ee6fe56455e8f12e7be8c1ae705a426677fab0b9a5da8f42c4b331bdd635120a2f5475055c9e98c8df01b259f76aa2dd4cad6e8b4562481d261bb7802b826f6 SHA512 df8ba56195ae3773c0c8c8a8f555e562b04de59ce3fb1c17c24ca3b10418299555326f0a9360eb47725310890e31f73221eece3ca1ff83e47d52941e224fc562
|
||||||
DIST ghub-3.5.6.tar.gz 59474 BLAKE2B c27610f24526a40b5f36d2f5154c0eeb9f86e9da676baa82b2866a0bb58de8a78736d56a5d6454666b539774abbf5dfcd260880aa07499616f44a3e2c8315999 SHA512 6c6724978f0809a4977cc7965de4c33eaf29537c13507aabffecae4a7d2b3710074179d819aee1a54fce8f12e20db46b18466c3f1012d3b9c41eae3c2fade58a
|
DIST ghub-3.5.6.tar.gz 59474 BLAKE2B c27610f24526a40b5f36d2f5154c0eeb9f86e9da676baa82b2866a0bb58de8a78736d56a5d6454666b539774abbf5dfcd260880aa07499616f44a3e2c8315999 SHA512 6c6724978f0809a4977cc7965de4c33eaf29537c13507aabffecae4a7d2b3710074179d819aee1a54fce8f12e20db46b18466c3f1012d3b9c41eae3c2fade58a
|
||||||
|
DIST ghub-3.6.0.tar.gz 62572 BLAKE2B 5693177be9ac22d18b7b6f5cdc230eea4340a5bfd007fa4b18f3503fe796fd8b104753be51c8579de6e693cfc620c4524dae195627af4c542bd2fe94aad1d0dd SHA512 e54752f70c462ce4fed3a1fc3ca60f22107e2acaefb06ebf42d35c6b65f9091bba07ff72436310782d9be7fbf35aef473dbbe39ef7a4ac3de1ebd82a417c6b0a
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Minuscule client library for the Git forge APIs"
|
||||||
|
HOMEPAGE="https://magit.vc/manual/ghub/
|
||||||
|
https://github.com/magit/ghub/"
|
||||||
|
SRC_URI="https://github.com/magit/${PN}/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
DOCS=( README.org )
|
||||||
|
ELISP_TEXINFO="docs/ghub.texi"
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-emacs/compat-29.1.4.1
|
||||||
|
>=app-emacs/treepy-0.1.2
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
sys-apps/texinfo
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
mv lisp/*.el . || die
|
||||||
|
rm ghub-pkg.el || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST git-modes-1.4.0.tar.gz 18218 BLAKE2B 7e08ce42d683d4a8224df6255304e3beb7db2a5d97f6c758bf229e020dd3c0e5ed5f75acf9a7fdf8a5d313b904cc59d0de1419244067a5975d5174f45aca0071 SHA512 2511575a4d5d578fca5bde50e103d0fe777eed9bc3c520d5172aff7c65baa47a0a0f633e0950b7efb3eaa891debd3e34df3612d713412d547bb58733c9f00cbc
|
DIST git-modes-1.4.0.tar.gz 18218 BLAKE2B 7e08ce42d683d4a8224df6255304e3beb7db2a5d97f6c758bf229e020dd3c0e5ed5f75acf9a7fdf8a5d313b904cc59d0de1419244067a5975d5174f45aca0071 SHA512 2511575a4d5d578fca5bde50e103d0fe777eed9bc3c520d5172aff7c65baa47a0a0f633e0950b7efb3eaa891debd3e34df3612d713412d547bb58733c9f00cbc
|
||||||
|
DIST git-modes-1.4.1.tar.gz 18445 BLAKE2B 99353090333aae538fc5daa7c8e127ac58b518c03e871d7f397b716110fcbbd45d553e4e67ad6dfe8c874054c471fc0e018e890e6c0487eea4d1559de54e4e71 SHA512 374b2ea09af62a3b30084206e51f05989c6fd8e7e2435253e4d676f4ea3ec020d56681e2bd41db75a395ad677e5686744ca7e425a7a33eaa7d4d0a1a3d337d41
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Emacs major modes for editing Git configuration files"
|
||||||
|
HOMEPAGE="https://github.com/magit/git-modes/"
|
||||||
|
SRC_URI="https://github.com/magit/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND=">=app-emacs/compat-29.1.4.1"
|
||||||
|
BDEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README.org )
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
elisp_src_compile
|
||||||
|
|
||||||
|
elisp-make-autoload-file
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,169 @@
|
|||||||
|
With dev-libs/libxml2-2.11, xi:include errors out if it can't find a file, so add an empty fallback.
|
||||||
|
Used to work with dev-libs/libxml2-2.10.
|
||||||
|
|
||||||
|
Upstream has removed user_ and overview_ altogether in the next release as part of a larger docs change,
|
||||||
|
so this no longer applies.
|
||||||
|
|
||||||
|
See also: https://bugs.gentoo.org/906309
|
||||||
|
|
||||||
|
--- a/doc/manual/en_US/user_VBoxManage.xml
|
||||||
|
+++ b/doc/manual/en_US/user_VBoxManage.xml
|
||||||
|
@@ -242,107 +242,107 @@
|
||||||
|
on your particular host.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-common.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-common.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-list.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-list.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-showvminfo.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-showvminfo.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-registervm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-registervm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-unregistervm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-unregistervm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-createvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-createvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-modifyvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-modifyvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-clonevm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-clonevm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-movevm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-movevm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-encryptvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-encryptvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-cloud.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-cloud.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-cloudprofile.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-cloudprofile.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-import.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-import.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-export.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-export.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-signova.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-signova.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-startvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-startvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-controlvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-controlvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-unattended.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-unattended.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-discardstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-discardstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-adoptstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-adoptstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-snapshot.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-snapshot.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-closemedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-closemedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-storageattach.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-storageattach.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-storagectl.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-storagectl.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-bandwidthctl.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-bandwidthctl.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-showmediuminfo.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-showmediuminfo.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-createmedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-createmedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-modifymedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-modifymedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-clonemedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-clonemedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-mediumproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-mediumproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-encryptmedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-encryptmedium.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-checkmediumpwd.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-checkmediumpwd.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-convertfromraw.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-convertfromraw.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-mediumio.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-mediumio.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-setextradata.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-setextradata.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-getextradata.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-getextradata.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-setproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-setproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-usbfilter.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-usbfilter.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-sharedfolder.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-sharedfolder.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-guestproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-guestproperty.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-guestcontrol.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-guestcontrol.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-debugvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-debugvm.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-metrics.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-metrics.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-natnetwork.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-natnetwork.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-hostonlyif.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-hostonlyif.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-hostonlynet.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-hostonlynet.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-dhcpserver.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-dhcpserver.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-usbdevsource.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-usbdevsource.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-extpack.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-extpack.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-updatecheck.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-updatecheck.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
- <xi:include href="overview_man_VBoxManage-modifynvram.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
+ <xi:include href="overview_man_VBoxManage-modifynvram.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" ><xi:fallback/></xi:include>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Each time <command>VBoxManage</command> is invoked, only one
|
Binary file not shown.
@ -0,0 +1,46 @@
|
|||||||
|
https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/596
|
||||||
|
|
||||||
|
From 4fc04fea1755c3c4f8913877c2c1889779d3d4d1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brahmajit Das <brahmajit.xyz@gmail.com>
|
||||||
|
Date: Sun, 14 May 2023 09:59:58 +0530
|
||||||
|
Subject: [PATCH] build: Define _GNU_SOURCE for gmtime_r
|
||||||
|
|
||||||
|
Found while building tracker 3.5.2 with clang 16, which enable
|
||||||
|
Wimplicit-function-declaration by default.
|
||||||
|
|
||||||
|
Without _GNU_SOURCE defined, tracker would fail in the configure phase
|
||||||
|
with Checking if "strftime 4-digit year modifier" runs: DID NOT
|
||||||
|
COMPILE error. And investigating the meson log we see
|
||||||
|
|
||||||
|
Compiler stderr:
|
||||||
|
/var/tmp/portage/app-misc/tracker-3.5.2/work/tracker-3.5.2-build/meson-private/tmplr2vm6b0/testfile.c:12:5: error: call to undeclared function 'gmtime_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
||||||
|
gmtime_r (×tamp, &tm);
|
||||||
|
|
||||||
|
And a little further up
|
||||||
|
|
||||||
|
Command line: clang /var/tmp/portage/app-misc/tracker-3.5.2/work/tracker-3.5.2-build/meson-private/tmplr2vm6b0/testfile.c -o /var/tmp/portage/app-misc/tracker-3.5.2/work/tracker-3.5.2-build/meson-private/tmplr2vm6b0/output.exe -O2 -pipe -march=native -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declaration -std=c99 -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed
|
||||||
|
|
||||||
|
Seems like cc.run() doesn't pick up the general compiler args we set
|
||||||
|
earlier. We have already set it for the main build, so adding it just
|
||||||
|
for the configure test should be fine.
|
||||||
|
|
||||||
|
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
|
||||||
|
---
|
||||||
|
meson.build | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 7b22cb1f9..00af07e6e 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -202,6 +202,7 @@ endif
|
||||||
|
# Get an appropriate 4-digit year modifier for strftime
|
||||||
|
##################################################################
|
||||||
|
result = cc.run('''
|
||||||
|
+ #define _GNU_SOURCE
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac SHA512 a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
|
|
||||||
DIST etcd-3.4.16-deps.tar.xz 36600528 BLAKE2B 3c8cbaef04b673962858cde9846a6a118eec785c0fc76b6e600b1686fd6e684f4b73af4aedb5886dfca51434e5738fb9bd0a39cdb81eda922e374c7668f0c0d0 SHA512 9119e09fc50bb916c3e436b9a4eea4b041184384865955f9b1a0f12e1334d9a143d49cc241ee51229e04fdfaedbbce24a66159107f52519b88a1e95cd64222df
|
DIST etcd-3.4.16-deps.tar.xz 36600528 BLAKE2B 3c8cbaef04b673962858cde9846a6a118eec785c0fc76b6e600b1686fd6e684f4b73af4aedb5886dfca51434e5738fb9bd0a39cdb81eda922e374c7668f0c0d0 SHA512 9119e09fc50bb916c3e436b9a4eea4b041184384865955f9b1a0f12e1334d9a143d49cc241ee51229e04fdfaedbbce24a66159107f52519b88a1e95cd64222df
|
||||||
DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525 SHA512 3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
|
DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525 SHA512 3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
|
||||||
|
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit go-module systemd tmpfiles
|
|
||||||
GIT_COMMIT=bdd57848d
|
|
||||||
MY_PV="${PV/_rc/-rc.}"
|
|
||||||
|
|
||||||
DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
|
|
||||||
HOMEPAGE="https://github.com/etcd-io/etcd"
|
|
||||||
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="doc +server"
|
|
||||||
|
|
||||||
COMMON_DEPEND="server? (
|
|
||||||
acct-group/etcd
|
|
||||||
acct-user/etcd
|
|
||||||
)"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!dev-db/etcdctl"
|
|
||||||
|
|
||||||
# Tests fail with this error:
|
|
||||||
# fatal error: checkptr: unsafe pointer conversion
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export GO_BUILD_FLAGS="-mod=vendor -v -x"
|
|
||||||
default
|
|
||||||
sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
|
|
||||||
-i "${S}"/build || die
|
|
||||||
sed -e 's:\(for p in \)shellcheck :\1 :' \
|
|
||||||
-e 's:^ gofmt \\$:\\:' \
|
|
||||||
-e 's:^ govet \\$:\\:' \
|
|
||||||
-e 's:^ govet_shadow \\$:\\:' \
|
|
||||||
-i "${S}"/test || die
|
|
||||||
|
|
||||||
sed -e "s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
|
|
||||||
-e "s|go test |go test ${GO_BUILD_FLAGS} |" \
|
|
||||||
-i ./test || die
|
|
||||||
|
|
||||||
mkdir -p vendor/github.com/coreos || die
|
|
||||||
ln -s ../../.. vendor/github.com/coreos/etcd || die
|
|
||||||
|
|
||||||
echo 'module go.etcd.io/etcd' > go.mod || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
./build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
./test || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/etcdctl
|
|
||||||
use doc && dodoc -r Documentation
|
|
||||||
if use server; then
|
|
||||||
insinto /etc/${PN}
|
|
||||||
doins "${FILESDIR}/${PN}.conf"
|
|
||||||
dobin bin/etcd
|
|
||||||
dodoc README.md
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
|
|
||||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
||||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
keepdir /var/lib/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/lib/${PN}
|
|
||||||
fperms 0700 /var/lib/${PN}
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
fperms 755 /var/log/${PN}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use server; then
|
|
||||||
tmpfiles_process ${PN}.conf
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit go-module systemd tmpfiles
|
|
||||||
GIT_COMMIT=cf54fab42
|
|
||||||
MY_PV="${PV/_rc/-rc.}"
|
|
||||||
|
|
||||||
DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
|
|
||||||
HOMEPAGE="https://github.com/etcd-io/etcd"
|
|
||||||
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~riscv"
|
|
||||||
IUSE="doc +server"
|
|
||||||
|
|
||||||
COMMON_DEPEND="server? (
|
|
||||||
acct-group/etcd
|
|
||||||
acct-user/etcd
|
|
||||||
)"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!dev-db/etcdctl"
|
|
||||||
|
|
||||||
# Tests fail with this error:
|
|
||||||
# fatal error: checkptr: unsafe pointer conversion
|
|
||||||
RESTRICT+=" test "
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export GO_BUILD_FLAGS="-v -x"
|
|
||||||
default
|
|
||||||
sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
|
|
||||||
-i "${S}"/build || die
|
|
||||||
sed -e 's:\(for p in \)shellcheck :\1 :' \
|
|
||||||
-e 's:^ gofmt \\$:\\:' \
|
|
||||||
-e 's:^ govet \\$:\\:' \
|
|
||||||
-e 's:^ govet_shadow \\$:\\:' \
|
|
||||||
-i "${S}"/test || die
|
|
||||||
|
|
||||||
sed -e "s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
|
|
||||||
-e "s|go test |go test ${GO_BUILD_FLAGS} |" \
|
|
||||||
-i ./test || die
|
|
||||||
|
|
||||||
# mkdir -p vendor/github.com/coreos || die
|
|
||||||
# ln -s ../../.. vendor/github.com/coreos/etcd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
./build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
./test || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/etcdctl
|
|
||||||
use doc && dodoc -r Documentation
|
|
||||||
if use server; then
|
|
||||||
insinto /etc/${PN}
|
|
||||||
doins "${FILESDIR}/${PN}.conf"
|
|
||||||
dobin bin/etcd
|
|
||||||
dodoc README.md
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
|
|
||||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
||||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
keepdir /var/lib/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/lib/${PN}
|
|
||||||
fperms 0700 /var/lib/${PN}
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
fperms 755 /var/log/${PN}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use server; then
|
|
||||||
tmpfiles_process ${PN}.conf
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,108 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
BV=${PV}-1
|
||||||
|
BV_AMD64=${BV}-linux-x86_64
|
||||||
|
LLVM_MAX_SLOT=15
|
||||||
|
|
||||||
|
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="The Crystal Programming Language"
|
||||||
|
HOMEPAGE="https://crystal-lang.org/
|
||||||
|
https://github.com/crystal-lang/crystal/"
|
||||||
|
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc debug llvm-libunwind"
|
||||||
|
|
||||||
|
# Upstream test suite not reliable
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/boehm-gc:=[threads]
|
||||||
|
dev-libs/gmp:=
|
||||||
|
dev-libs/libatomic_ops:=
|
||||||
|
dev-libs/libevent:=
|
||||||
|
dev-libs/libpcre:=
|
||||||
|
dev-libs/pcl:=
|
||||||
|
<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
|
||||||
|
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||||
|
!llvm-libunwind? ( sys-libs/libunwind:= )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-libs/libyaml
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.7.2-extra-spec-flags.patch
|
||||||
|
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
|
||||||
|
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
|
||||||
|
if [[ ! -d ${bootstrap_path} ]] ; then
|
||||||
|
eerror "Binary tarball does not contain expected directory:"
|
||||||
|
die "'${bootstrap_path}' path does not exist."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# crystal uses 'LLVM_TARGETS' to override default list of targets
|
||||||
|
unset LLVM_TARGETS
|
||||||
|
|
||||||
|
MY_EMAKE_COMMON_ARGS=(
|
||||||
|
$(usex debug "" release=1)
|
||||||
|
progress=true
|
||||||
|
stats=1
|
||||||
|
threads=$(makeopts_jobs)
|
||||||
|
verbose=1
|
||||||
|
CC="$(tc-getCC)"
|
||||||
|
CXX="$(tc-getCXX)"
|
||||||
|
AR="$(tc-getAR)"
|
||||||
|
LLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||||
|
PATH="${bootstrap_path}:${PATH}"
|
||||||
|
CRYSTAL_PATH="${S}"/src
|
||||||
|
CRYSTAL_CONFIG_VERSION=${PV}
|
||||||
|
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake "${MY_EMAKE_COMMON_ARGS[@]}"
|
||||||
|
|
||||||
|
use doc && emake docs "${MY_EMAKE_COMMON_ARGS[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# EXTRA_SPEC_FLAGS is useful to debug individual tests
|
||||||
|
# as part of full build:
|
||||||
|
# USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
|
||||||
|
emake std_spec \
|
||||||
|
"${MY_EMAKE_COMMON_ARGS[@]}" "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/$(get_libdir)/crystal
|
||||||
|
doins -r src/.
|
||||||
|
|
||||||
|
exeinto /usr/bin
|
||||||
|
doexe .build/crystal
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins etc/completion.zsh _crystal
|
||||||
|
|
||||||
|
dodoc -r samples
|
||||||
|
doman man/${PN}.1
|
||||||
|
newbashcomp etc/completion.bash ${PN}
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
docinto api
|
||||||
|
dodoc -r docs/.
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,66 @@
|
|||||||
|
# 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..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/boto3/
|
||||||
|
https://pypi.org/project/boto3/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||||
|
inherit git-r3
|
||||||
|
BOTOCORE_PV=${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# botocore is x.(y+3).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -0,0 +1,72 @@
|
|||||||
|
# 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..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/botocore/
|
||||||
|
https://pypi.org/project/botocore/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
|
||||||
|
# unbundle deps
|
||||||
|
rm -r botocore/vendored || die
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# rely on bundled six
|
||||||
|
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||||
|
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||||
|
# fails on unrelated warnings
|
||||||
|
tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
|
||||||
|
tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
|
||||||
|
# TODO
|
||||||
|
tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 2021-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..10} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="High speed universal character encoding detector"
|
|
||||||
HOMEPAGE="https://github.com/PyYoshi/cChardet https://pypi.org/project/cchardet/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MPL-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/cython[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
"${PYTHON}" setup.py nosetests || die "tests failed with ${EPYTHON}"
|
|
||||||
}
|
|
@ -0,0 +1,178 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
CARGO_OPTIONAL=yes
|
||||||
|
DISTUTILS_EXT=1
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
CRATES="
|
||||||
|
Inflector-0.11.4
|
||||||
|
aliasable-0.1.3
|
||||||
|
android_system_properties-0.1.5
|
||||||
|
asn1-0.13.0
|
||||||
|
asn1_derive-0.13.0
|
||||||
|
autocfg-1.1.0
|
||||||
|
base64-0.13.1
|
||||||
|
bitflags-1.3.2
|
||||||
|
bumpalo-3.10.0
|
||||||
|
cc-1.0.79
|
||||||
|
cfg-if-1.0.0
|
||||||
|
chrono-0.4.24
|
||||||
|
codespan-reporting-0.11.1
|
||||||
|
core-foundation-sys-0.8.3
|
||||||
|
cxx-1.0.86
|
||||||
|
cxx-build-1.0.86
|
||||||
|
cxxbridge-flags-1.0.86
|
||||||
|
cxxbridge-macro-1.0.86
|
||||||
|
foreign-types-0.3.2
|
||||||
|
foreign-types-shared-0.1.1
|
||||||
|
iana-time-zone-0.1.54
|
||||||
|
iana-time-zone-haiku-0.1.1
|
||||||
|
indoc-1.0.4
|
||||||
|
instant-0.1.12
|
||||||
|
js-sys-0.3.61
|
||||||
|
libc-0.2.140
|
||||||
|
link-cplusplus-1.0.8
|
||||||
|
lock_api-0.4.9
|
||||||
|
log-0.4.17
|
||||||
|
memoffset-0.8.0
|
||||||
|
num-integer-0.1.45
|
||||||
|
num-traits-0.2.15
|
||||||
|
once_cell-1.14.0
|
||||||
|
openssl-0.10.50
|
||||||
|
openssl-macros-0.1.0
|
||||||
|
openssl-sys-0.9.85
|
||||||
|
ouroboros-0.15.6
|
||||||
|
ouroboros_macro-0.15.6
|
||||||
|
parking_lot-0.11.2
|
||||||
|
parking_lot_core-0.8.6
|
||||||
|
pem-1.1.1
|
||||||
|
pkg-config-0.3.26
|
||||||
|
proc-macro-error-1.0.4
|
||||||
|
proc-macro-error-attr-1.0.4
|
||||||
|
proc-macro2-1.0.53
|
||||||
|
pyo3-0.18.3
|
||||||
|
pyo3-build-config-0.18.3
|
||||||
|
pyo3-ffi-0.18.3
|
||||||
|
pyo3-macros-0.18.3
|
||||||
|
pyo3-macros-backend-0.18.3
|
||||||
|
quote-1.0.26
|
||||||
|
redox_syscall-0.2.16
|
||||||
|
scopeguard-1.1.0
|
||||||
|
scratch-1.0.5
|
||||||
|
smallvec-1.10.0
|
||||||
|
syn-1.0.109
|
||||||
|
target-lexicon-0.12.4
|
||||||
|
termcolor-1.2.0
|
||||||
|
unicode-ident-1.0.8
|
||||||
|
unicode-width-0.1.10
|
||||||
|
unindent-0.1.11
|
||||||
|
vcpkg-0.2.15
|
||||||
|
version_check-0.9.4
|
||||||
|
wasm-bindgen-0.2.84
|
||||||
|
wasm-bindgen-backend-0.2.84
|
||||||
|
wasm-bindgen-macro-0.2.84
|
||||||
|
wasm-bindgen-macro-support-0.2.84
|
||||||
|
wasm-bindgen-shared-0.2.84
|
||||||
|
winapi-0.3.9
|
||||||
|
winapi-i686-pc-windows-gnu-0.4.0
|
||||||
|
winapi-util-0.1.5
|
||||||
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||||
|
windows-0.46.0
|
||||||
|
windows-targets-0.42.2
|
||||||
|
windows_aarch64_gnullvm-0.42.2
|
||||||
|
windows_aarch64_msvc-0.42.2
|
||||||
|
windows_i686_gnu-0.42.2
|
||||||
|
windows_i686_msvc-0.42.2
|
||||||
|
windows_x86_64_gnu-0.42.2
|
||||||
|
windows_x86_64_gnullvm-0.42.2
|
||||||
|
windows_x86_64_msvc-0.42.2
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit cargo distutils-r1 multiprocessing pypi
|
||||||
|
|
||||||
|
VEC_P=cryptography_vectors-$(ver_cut 1-3)
|
||||||
|
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/pyca/cryptography/
|
||||||
|
https://pypi.org/project/cryptography/
|
||||||
|
"
|
||||||
|
SRC_URI+="
|
||||||
|
https://dev.gentoo.org/~mgorny/dist/${P}-pyo3-0.18.patch.bz2
|
||||||
|
$(cargo_crate_uris ${CRATES})
|
||||||
|
test? (
|
||||||
|
$(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
|
||||||
|
# Dependent crate licenses
|
||||||
|
LICENSE+="
|
||||||
|
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT
|
||||||
|
Unicode-DFS-2016
|
||||||
|
"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/openssl-1.0.2o-r6:0=
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
|
||||||
|
' 'python*')
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pretend[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
# Files built without CFLAGS/LDFLAGS, acceptable for rust
|
||||||
|
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cargo_src_unpack
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local PATCHES=(
|
||||||
|
"${WORKDIR}/${P}-pyo3-0.18.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i -e 's:--benchmark-disable::' pyproject.toml || die
|
||||||
|
|
||||||
|
# work around availability macros not supported in GCC (yet)
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
local darwinok=0
|
||||||
|
if [[ ${CHOST##*-darwin} -ge 16 ]] ; then
|
||||||
|
darwinok=1
|
||||||
|
fi
|
||||||
|
sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \
|
||||||
|
src/_cffi_src/openssl/src/osrandom_engine.c || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
|
||||||
|
local EPYTEST_IGNORE=(
|
||||||
|
tests/bench
|
||||||
|
)
|
||||||
|
epytest -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -1,4 +1 @@
|
|||||||
DIST ipyparallel-8.4.1.tar.gz 6843301 BLAKE2B 1ca0056cfa6827f5eb145584ea634d224119a485f1139964988b07bcd164fe392bb032794098bccdf67b31f74030e62e917c0a451809e0d14fae323308b2b0ab SHA512 640489b3920b91e1b2f83def00a06e8ec45c61bd7ebe33a3e4a30560e2b0acdbe0a98a685d868dd7bce4c65920d378ab69efca75cf0ae7f164ee792c870a297e
|
|
||||||
DIST ipyparallel-8.5.1.tar.gz 6807242 BLAKE2B 28d60bd58f66fd24ef4fd2dfdf37facd4d7cc6769abc186e37133bd2a16cabea029c33e23f8b79b9024943251f411e49eb07b10978ea78964a01a666f5cf6b52 SHA512 78ed082d01191681d4999254d925911c68952509668ced0d3d65e50f0f67ba687c2ef8f4d4282f181f04951d6872a03b675d4d478f41c47692d294d817e15391
|
|
||||||
DIST ipyparallel-8.6.0.tar.gz 6807596 BLAKE2B 4a81ad39d12dd12930047c7a5141b3dfe0e8e53bf7d17f936e1fa71fd64354f88ab9817ebbe9944aefd11b374d5d6d564b77f3fc657582670eedc536fbc6e173 SHA512 42c642ae11164c79a52b07436d6ce672db1faf7bfdc0871e507baf0a44b8bf50f6e73b6176f9c92e4b484429545b99273a7e51e735c70c26dfa608b27d373805
|
|
||||||
DIST ipyparallel-8.6.1.tar.gz 6807935 BLAKE2B 23847974e9d5d1d06a64a6b01c845f539848c602b6ba6a22c64d8e0bd35a783ec3a09fc6618ae08490d35e49d497c1db61176f8c70065c4e61ec234a7fd00545 SHA512 e83447f9d52eed87e8513d2ee74d2d6b589a5c04b5bf6dfece6d87565dd9c5e46abd280eb5ab64266b2e759dec1007ab007d0b8232b6239768190bd6900f53ff
|
DIST ipyparallel-8.6.1.tar.gz 6807935 BLAKE2B 23847974e9d5d1d06a64a6b01c845f539848c602b6ba6a22c64d8e0bd35a783ec3a09fc6618ae08490d35e49d497c1db61176f8c70065c4e61ec234a7fd00545 SHA512 e83447f9d52eed87e8513d2ee74d2d6b589a5c04b5bf6dfece6d87565dd9c5e46abd280eb5ab64266b2e759dec1007ab007d0b8232b6239768190bd6900f53ff
|
||||||
|
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=hatchling
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://ipyparallel.readthedocs.io/
|
|
||||||
https://github.com/ipython/ipyparallel/
|
|
||||||
https://pypi.org/project/ipyparallel/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/entrypoints[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-18[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-4.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipython-4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter-client[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter-server[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipykernel-4.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tornado-5.1[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/flit-core[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/ipython[test]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-tornado[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# TODO: package myst_parser
|
|
||||||
# distutils_enable_sphinx docs/source
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch
|
|
||||||
"${FILESDIR}"/${PN}-8.3.0-additional-test-timeouts.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export IPP_DISABLE_JS=1
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# we don't run a mongo instance for tests
|
|
||||||
ipyparallel/tests/test_mongodb.py::TestMongoBackend
|
|
||||||
# TODO
|
|
||||||
ipyparallel/tests/test_util.py::test_disambiguate_ip
|
|
||||||
# Gets upset that a timeout _doesn't_ occur, presumably because
|
|
||||||
# we're cranking up too many test timeouts. Oh well.
|
|
||||||
# bug #823458#c3
|
|
||||||
ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send
|
|
||||||
# We could patch the timeout for these too but they're going to be inherently
|
|
||||||
# fragile anyway based on what they do.
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_activate
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines
|
|
||||||
)
|
|
||||||
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
|
||||||
# failing due to irrelevant warnings
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning
|
|
||||||
)
|
|
||||||
epytest
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
# move /usr/etc stuff to /etc
|
|
||||||
mv "${ED}/usr/etc" "${ED}/etc" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "Jupyter Notebook integration" dev-python/notebook
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=hatchling
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://ipyparallel.readthedocs.io/
|
|
||||||
https://github.com/ipython/ipyparallel/
|
|
||||||
https://pypi.org/project/ipyparallel/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/entrypoints[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-18[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-4.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipython-4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter-client[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter-server[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipykernel-4.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tornado-5.1[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/flit-core[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/ipython[test]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-tornado[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# TODO: package myst_parser
|
|
||||||
# distutils_enable_sphinx docs/source
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export IPP_DISABLE_JS=1
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# we don't run a mongo instance for tests
|
|
||||||
ipyparallel/tests/test_mongodb.py::TestMongoBackend
|
|
||||||
# TODO
|
|
||||||
ipyparallel/tests/test_util.py::test_disambiguate_ip
|
|
||||||
# Gets upset that a timeout _doesn't_ occur, presumably because
|
|
||||||
# we're cranking up too many test timeouts. Oh well.
|
|
||||||
# bug #823458#c3
|
|
||||||
ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send
|
|
||||||
# We could patch the timeout for these too but they're going to be inherently
|
|
||||||
# fragile anyway based on what they do.
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_activate
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines
|
|
||||||
)
|
|
||||||
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
|
||||||
# failing due to irrelevant warnings
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning
|
|
||||||
)
|
|
||||||
epytest
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
# move /usr/etc stuff to /etc
|
|
||||||
mv "${ED}/usr/etc" "${ED}/etc" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "Jupyter Notebook integration" dev-python/notebook
|
|
||||||
}
|
|
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=hatchling
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://ipyparallel.readthedocs.io/
|
|
||||||
https://github.com/ipython/ipyparallel/
|
|
||||||
https://pypi.org/project/ipyparallel/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/entrypoints[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-18[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-4.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipython-4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter-client[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter-server[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipykernel-4.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tornado-5.1[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/flit-core[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/ipython[test]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-tornado[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# TODO: package myst_parser
|
|
||||||
# distutils_enable_sphinx docs/source
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export IPP_DISABLE_JS=1
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# we don't run a mongo instance for tests
|
|
||||||
ipyparallel/tests/test_mongodb.py::TestMongoBackend
|
|
||||||
# TODO
|
|
||||||
ipyparallel/tests/test_util.py::test_disambiguate_ip
|
|
||||||
# Gets upset that a timeout _doesn't_ occur, presumably because
|
|
||||||
# we're cranking up too many test timeouts. Oh well.
|
|
||||||
# bug #823458#c3
|
|
||||||
ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send
|
|
||||||
# We could patch the timeout for these too but they're going to be inherently
|
|
||||||
# fragile anyway based on what they do.
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_activate
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets
|
|
||||||
ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines
|
|
||||||
)
|
|
||||||
epytest
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
# move /usr/etc stuff to /etc
|
|
||||||
mv "${ED}/usr/etc" "${ED}/etc" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "Jupyter Notebook integration" dev-python/notebook
|
|
||||||
}
|
|
@ -1,139 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
# please bump dev-python/ensurepip-wheels along with this package!
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_TESTED=( python3_{9..10} )
|
|
||||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 )
|
|
||||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
# setuptools & wheel .whl files are required for testing,
|
|
||||||
# the exact version is not very important.
|
|
||||||
SETUPTOOLS_WHL="setuptools-62.3.2-py3-none-any.whl"
|
|
||||||
WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl"
|
|
||||||
# upstream still requires virtualenv-16 for testing, we are now fetching
|
|
||||||
# it directly to avoid blockers with virtualenv-20
|
|
||||||
VENV_PV=16.7.12
|
|
||||||
|
|
||||||
DESCRIPTION="The PyPA recommended tool for installing Python packages"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pip.pypa.io/en/stable/
|
|
||||||
https://pypi.org/project/pip/
|
|
||||||
https://github.com/pypa/pip/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
||||||
test? (
|
|
||||||
https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL}
|
|
||||||
https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL}
|
|
||||||
https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
|
|
||||||
-> virtualenv-${VENV_PV}.gh.tar.gz
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
# bundled deps
|
|
||||||
LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test-rust vanilla"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
|
||||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
test-rust? (
|
|
||||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
' "${PYTHON_TESTED[@]}")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}/pip-22.2.1-no-coverage.patch"
|
|
||||||
)
|
|
||||||
if ! use vanilla; then
|
|
||||||
PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" )
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
|
|
||||||
if use test; then
|
|
||||||
mkdir tests/data/common_wheels/ || die
|
|
||||||
cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \
|
|
||||||
tests/data/common_wheels/ || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
|
||||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
|
||||||
# This trick sets correct $0 while still calling just installed pip.
|
|
||||||
local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
|
||||||
einfo "Skipping tests on ${EPYTHON} since virtualenv-16 is broken"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
tests/functional/test_inspect.py::test_inspect_basic
|
|
||||||
tests/functional/test_install.py::test_double_install_fail
|
|
||||||
tests/functional/test_list.py::test_multiple_exclude_and_normalization
|
|
||||||
# Internet
|
|
||||||
tests/functional/test_install.py::test_install_dry_run
|
|
||||||
tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg
|
|
||||||
tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject
|
|
||||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
|
||||||
tests/functional/test_install.py::test_install_8559_wheel_package_present
|
|
||||||
# git: fatal: transport 'file' not allowed
|
|
||||||
tests/functional/test_install_vcs_git.py::test_check_submodule_addition
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
|
||||||
EPYTEST_DESELECT+=(
|
|
||||||
tests/functional/test_install.py::test_install_sends_client_cert
|
|
||||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -x GENTOO_PIP_TESTING=1
|
|
||||||
local -x PYTHONPATH="${WORKDIR}/virtualenv-${VENV_PV}"
|
|
||||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
||||||
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
|
|
||||||
epytest -m "not network" -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newbashcomp completion.bash pip
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins completion.zsh _pip
|
|
||||||
}
|
|
@ -1,123 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
# please bump dev-python/ensurepip-pip along with this package!
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_TESTED=( python3_{9..11} )
|
|
||||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
|
|
||||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="The PyPA recommended tool for installing Python packages"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pip.pypa.io/en/stable/
|
|
||||||
https://pypi.org/project/pip/
|
|
||||||
https://github.com/pypa/pip/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
# bundled deps
|
|
||||||
LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test-rust"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/ensurepip-setuptools
|
|
||||||
dev-python/ensurepip-wheel
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
|
||||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
|
||||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
test-rust? (
|
|
||||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
' "${PYTHON_TESTED[@]}")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}/pip-22.2.1-no-coverage.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
|
|
||||||
if use test; then
|
|
||||||
local wheels=(
|
|
||||||
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
|
|
||||||
)
|
|
||||||
mkdir tests/data/common_wheels/ || die
|
|
||||||
cp "${wheels[@]}" tests/data/common_wheels/ || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
|
||||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
|
||||||
# This trick sets correct $0 while still calling just installed pip.
|
|
||||||
local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
|
||||||
einfo "Skipping tests on ${EPYTHON}"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
tests/functional/test_inspect.py::test_inspect_basic
|
|
||||||
tests/functional/test_install.py::test_double_install_fail
|
|
||||||
# Internet
|
|
||||||
tests/functional/test_install.py::test_install_dry_run
|
|
||||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
|
||||||
tests/functional/test_install.py::test_install_8559_wheel_package_present
|
|
||||||
# TODO
|
|
||||||
tests/unit/test_network_auth.py::test_keyring_cli_get_password
|
|
||||||
tests/unit/test_network_auth.py::test_keyring_cli_set_password
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
|
||||||
EPYTEST_DESELECT+=(
|
|
||||||
tests/functional/test_install.py::test_install_sends_client_cert
|
|
||||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
||||||
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
|
|
||||||
epytest -m "not network" -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newbashcomp completion.bash pip
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins completion.zsh _pip
|
|
||||||
}
|
|
@ -1,127 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
# please bump dev-python/ensurepip-pip along with this package!
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_TESTED=( python3_{9..11} )
|
|
||||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
|
|
||||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="The PyPA recommended tool for installing Python packages"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pip.pypa.io/en/stable/
|
|
||||||
https://pypi.org/project/pip/
|
|
||||||
https://github.com/pypa/pip/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
# bundled deps
|
|
||||||
LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test-rust"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/ensurepip-setuptools
|
|
||||||
dev-python/ensurepip-wheel
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
|
||||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
|
||||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
test-rust? (
|
|
||||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
' "${PYTHON_TESTED[@]}")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}/pip-23.1-no-coverage.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
|
|
||||||
if use test; then
|
|
||||||
local wheels=(
|
|
||||||
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
|
|
||||||
)
|
|
||||||
mkdir tests/data/common_wheels/ || die
|
|
||||||
cp "${wheels[@]}" tests/data/common_wheels/ || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
|
||||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
|
||||||
# This trick sets correct $0 while still calling just installed pip.
|
|
||||||
local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
|
||||||
einfo "Skipping tests on ${EPYTHON}"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
tests/functional/test_inspect.py::test_inspect_basic
|
|
||||||
tests/functional/test_install.py::test_double_install_fail
|
|
||||||
# Internet
|
|
||||||
tests/functional/test_install.py::test_install_dry_run
|
|
||||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
|
||||||
tests/functional/test_install.py::test_install_8559_wheel_package_present
|
|
||||||
tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist
|
|
||||||
tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes
|
|
||||||
# TODO
|
|
||||||
tests/unit/test_network_auth.py::test_keyring_cli_get_password
|
|
||||||
tests/unit/test_network_auth.py::test_keyring_cli_set_password
|
|
||||||
# wants to install keyring from Internet, sigh
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
|
||||||
EPYTEST_DESELECT+=(
|
|
||||||
tests/functional/test_install.py::test_install_sends_client_cert
|
|
||||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
||||||
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
|
|
||||||
epytest -m "not network" -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newbashcomp completion.bash pip
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins completion.zsh _pip
|
|
||||||
}
|
|
@ -1,127 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
# please bump dev-python/ensurepip-pip along with this package!
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_TESTED=( python3_{9..11} )
|
|
||||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
|
|
||||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="The PyPA recommended tool for installing Python packages"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pip.pypa.io/en/stable/
|
|
||||||
https://pypi.org/project/pip/
|
|
||||||
https://github.com/pypa/pip/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
# bundled deps
|
|
||||||
LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test-rust"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/ensurepip-setuptools
|
|
||||||
dev-python/ensurepip-wheel
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pretend[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
|
||||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
|
||||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
test-rust? (
|
|
||||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
' "${PYTHON_TESTED[@]}")
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}/pip-23.1-no-coverage.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
|
|
||||||
if use test; then
|
|
||||||
local wheels=(
|
|
||||||
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
|
|
||||||
)
|
|
||||||
mkdir tests/data/common_wheels/ || die
|
|
||||||
cp "${wheels[@]}" tests/data/common_wheels/ || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
|
||||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
|
||||||
# This trick sets correct $0 while still calling just installed pip.
|
|
||||||
local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
|
|
||||||
"${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
|
||||||
einfo "Skipping tests on ${EPYTHON}"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
tests/functional/test_inspect.py::test_inspect_basic
|
|
||||||
tests/functional/test_install.py::test_double_install_fail
|
|
||||||
# Internet
|
|
||||||
tests/functional/test_install.py::test_install_dry_run
|
|
||||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
|
||||||
tests/functional/test_install.py::test_install_8559_wheel_package_present
|
|
||||||
tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist
|
|
||||||
tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes
|
|
||||||
# TODO
|
|
||||||
tests/unit/test_network_auth.py::test_keyring_cli_get_password
|
|
||||||
tests/unit/test_network_auth.py::test_keyring_cli_set_password
|
|
||||||
# wants to install keyring from Internet, sigh
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
|
||||||
EPYTEST_DESELECT+=(
|
|
||||||
tests/functional/test_install.py::test_install_sends_client_cert
|
|
||||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
|
||||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
||||||
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
|
|
||||||
epytest -m "not network" -n "$(makeopts_jobs)"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newbashcomp completion.bash pip
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins completion.zsh _pip
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST pymdown-extensions-9.10.gh.tar.gz 1056472 BLAKE2B f691d3fd762b97dd42d59c8e647469a8c0cc4202849661fdcc1c445721c48bd5ea84190a99306b9b5b2215968daf1f19f0765b11fb757045288188e07b55b1a1 SHA512 61784be05ba19424da8964f0b852733900a8f9bd699037f6cb1a3c608133c3c7cb3528549d3165d15340e680a67768d30f687c782cae56fc8030e246bcf4f023
|
|
||||||
DIST pymdown-extensions-9.11.gh.tar.gz 1062074 BLAKE2B d695fa946c264f7ce2da7731fd5ce5388152a2179830108a6b43f769144246c33118084b4b2fe1e45b4255e26dc91871be699043008f67d2f04c5e5396f9ad12 SHA512 7745f0da83e3ecab9ac16947662c7a4da31e9ed62c6c519457083e0e8075f386a10146f18edc59cb17dee383335bb303c109da2ab08501118a53ee7315b1095f
|
DIST pymdown-extensions-9.11.gh.tar.gz 1062074 BLAKE2B d695fa946c264f7ce2da7731fd5ce5388152a2179830108a6b43f769144246c33118084b4b2fe1e45b4255e26dc91871be699043008f67d2f04c5e5396f9ad12 SHA512 7745f0da83e3ecab9ac16947662c7a4da31e9ed62c6c519457083e0e8075f386a10146f18edc59cb17dee383335bb303c109da2ab08501118a53ee7315b1095f
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=hatchling
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
DOCS_BUILDER="mkdocs"
|
|
||||||
DOCS_DEPEND="
|
|
||||||
dev-python/mkdocs-git-revision-date-localized-plugin
|
|
||||||
dev-python/mkdocs-minify-plugin
|
|
||||||
dev-python/mkdocs-material
|
|
||||||
dev-python/pymdown-lexers
|
|
||||||
dev-python/pyspelling
|
|
||||||
"
|
|
||||||
DOCS_INITIALIZE_GIT=1
|
|
||||||
|
|
||||||
inherit distutils-r1 docs
|
|
||||||
|
|
||||||
DESCRIPTION="Extensions for Python Markdown"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/facelessuser/pymdown-extensions/
|
|
||||||
https://pypi.org/project/pymdown-extensions/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/facelessuser/pymdown-extensions/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~ppc ~riscv x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
default
|
|
||||||
# We need to do this manually instead of relying on docs_compile
|
|
||||||
# https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446
|
|
||||||
# https://bugs.gentoo.org/859637
|
|
||||||
if use doc; then
|
|
||||||
python -m mkdocs build || die "Failed to make docs"
|
|
||||||
# Colliding files found by ecompress:
|
|
||||||
rm site/sitemap.xml.gz || die
|
|
||||||
HTML_DOCS=( "site/." )
|
|
||||||
fi
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue