summaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/Manifest.gzbin25086 -> 25100 bytes
-rw-r--r--app-crypt/certbot/Manifest4
-rw-r--r--app-crypt/certbot/certbot-3.2.0-r101.ebuild306
-rw-r--r--app-crypt/certbot/certbot-3.3.0-r1.ebuild302
-rw-r--r--app-crypt/certbot/certbot-9999.ebuild25
-rw-r--r--app-crypt/gpgme/Manifest2
-rw-r--r--app-crypt/gpgme/gpgme-1.24.2.ebuild2
-rw-r--r--app-crypt/hashalot/Manifest2
-rw-r--r--app-crypt/hashalot/hashalot-0.3-r3.ebuild2
-rw-r--r--app-crypt/sequoia-sq/Manifest3
-rw-r--r--app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild93
11 files changed, 736 insertions, 5 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz
index e5af9807b636..16e9465ca2d3 100644
--- a/app-crypt/Manifest.gz
+++ b/app-crypt/Manifest.gz
Binary files differ
diff --git a/app-crypt/certbot/Manifest b/app-crypt/certbot/Manifest
index a1e95c83e89c..fa456650c67b 100644
--- a/app-crypt/certbot/Manifest
+++ b/app-crypt/certbot/Manifest
@@ -12,7 +12,9 @@ EBUILD certbot-2.11.1.ebuild 1567 BLAKE2B 9cd828f4a3e971b4e5487a59c8d61eedf8921f
EBUILD certbot-3.0.1.ebuild 1572 BLAKE2B 0200fb1f4425354e788fce567e63a4e302afa1409c73085491c3f32e7bce0d9830521e2907ad7c03f29f8e9ce10931a53bb11d385a643ee21417194c5767d453 SHA512 dd4680db1d2157a551d76639a4586b4ff6e9d68677e969009f78697a1b50a5e9799765102602a8075b3da41f93980060756c22f13a03f7152d92072eb4287e66
EBUILD certbot-3.1.0.ebuild 1572 BLAKE2B 92f7bef4a2b4eaa3251d20fd44b33544687acd4cdc7aa2dc7d7bfea69a30163c13c19b2b4e0b78c9fc3c977054e35937d4bba387aa4bc3dce76ca573539e150e SHA512 f43cf0ceb6fb9644aa963b2e74f22cb5104ffcd5564b3d860ab449463a62f934aa34497119916825d6bf1eb701916caa48bb62b701344d167619ca778ee46c3a
EBUILD certbot-3.2.0-r100.ebuild 6725 BLAKE2B f1ad90e56b0d7c4edd51d64da9d9a77d35fe81f0518aa73337d8bac1bf97e605cf113f01f7626b73c36bab4447fb311e2b20416a2ca129aa19efe8341490e71b SHA512 165911b3c2d96367dde12468c6bf0daca25675d8790713c921508efbe280500f2d8b1fc0477c37fce80e2afe1106359dd6d52dac08fe67486057b404d39c9870
+EBUILD certbot-3.2.0-r101.ebuild 7481 BLAKE2B 5f0638d9f9cbffc3733b7227c2f572241d73e81d47b0aa43933881f37d090f9239256f494e26e6c131740deb1e7ac890c85e63bf8ac9ce4e3bb4b5a114b404e1 SHA512 55800da8abe9edfb842fcf60c014033f22dae3b9b1491c0d1e4db0d51efdc4260599e4597f03a2a102b9db90a68ba5a9b29189bb28e8da898522b19158973da6
EBUILD certbot-3.2.0.ebuild 1572 BLAKE2B f70a02b18dfe12e3768ee98be8392c6d9d753dcb5a69f37aa488634748c7bf685abb6a5ffcbb8330f5b82808d6b9fcf7146c129c3b637134418710d9f65b9fac SHA512 4f0815c0a793bce1d2870480069dd67bcee5795638bb5b5cbf61334a019ea0cb31135df4f57c2488e67d23d928190f1f2d7d9ea6a54e59a8ec975eb46161b372
+EBUILD certbot-3.3.0-r1.ebuild 7269 BLAKE2B d571071b63d129c753351dd6a5857780b6f02173f5fefc73cb05cbad007495c94458b74192ecf51093909b9beb2e3eb3e8559717126ad83d194b01a0ba054d81 SHA512 6617a99589cadec72ab32252d63ba84aac45926db63bf2c37dfdced2e25bec0846a509c222caa3cc7a0081ff9932e96ea7a832d600f8165e953f3dbc1e7919ce
EBUILD certbot-3.3.0.ebuild 6513 BLAKE2B 7cce9f6ebccea23c852ff7d25e2cc2703e76dd66471e9fc79c883eb0a09c5d9df2ed1513d3a0dc420ca297c4d4dd251135471d36b84e0ba507d733c54d059b33 SHA512 82129a15d5267bc9f9c5e525b7e377907bb7a2de63df3d212ef801e03abf864ddc5e18758b5cdf23d1bcd9b0c62de9f043f59726fb0db93219411e9e1109fa16
-EBUILD certbot-9999.ebuild 6699 BLAKE2B 3a612895bdca020cc34f2f939817f375509130ac93d994d5c20b8f268dc6b2143a1ae64d3579715dc57038fd917683575f0b640bfd6f874990b20d8435ea7a0d SHA512 c45daf603d6bae056975de47167a1f16a002ea296756458a1eeb481a5845e646f7eaf351c18bacbace30e5c6dab4c1b4fb7dd7d9a78f91de4e73a1e94f3fc001
+EBUILD certbot-9999.ebuild 7455 BLAKE2B 30e2bc06d4a43eed36a299f912c81d90dd07f7315c907aa37f7a954fb16af15498967fcdd5deb7a5eb10d7463864937f2d5bfb79e24314c96e0fc4d82f09a543 SHA512 fa87e5b0f8569ce00ff38ae6e4fdba6565a39a0bd877fd217630c4d117d654392082fe8f39122592986396d7a6fde22d1c2600d46dc7d53b2f83869b1f393840
MISC metadata.xml 1792 BLAKE2B c89e58193a94a26c3128ab8b15282a3c9c301a9c32fb64309c54a57361b01f63e707b4582e724244f85213187e7f0b57af380d3ef0e99ad6dbae9d684848b9ca SHA512 a3420355c14f6772a426d5ef63551883ea2c5754b83261c011601cbcc35ba65cbd444021eb613682030e82e35eb52013bf7cffb7502607605bb7bc6a84b37fdd
diff --git a/app-crypt/certbot/certbot-3.2.0-r101.ebuild b/app-crypt/certbot/certbot-3.2.0-r101.ebuild
new file mode 100644
index 000000000000..4e60db29f49f
--- /dev/null
+++ b/app-crypt/certbot/certbot-3.2.0-r101.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+if [[ "${PV}" == *9999 ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/certbot/certbot.git"
+ EGIT_SUBMODULES=()
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
+else
+ SRC_URI="
+ https://github.com/certbot/certbot/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ "
+ #KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+ # Only for amd64, arm64 and x86 because of dev-python/python-augeas
+ #KEYWORDS="~amd64 ~arm64 ~x86"
+ # Only for amd64 and x86 because of dev-python/dns-lexicon
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Let’s Encrypt client to automate deployment of X.509 certificates"
+HOMEPAGE="
+ https://github.com/certbot/certbot
+ https://pypi.org/project/certbot/
+ https://letsencrypt.org/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+# acme required for certbot, and then required for modules
+CERTBOT_BASE=(acme certbot)
+# List of "subpackages" from tools/_release.sh (without acme which is already above)
+CERTBOT_MODULES_EXTRA=(
+ apache
+ #dns-cloudflare # Requires missing packages, already in GURU
+ #dns-digitalocean # Requires missing packages, already in GURU
+ dns-dnsimple
+ dns-dnsmadeeasy
+ dns-gehirn
+ dns-google
+ dns-linode
+ dns-luadns
+ dns-nsone
+ dns-ovh
+ dns-rfc2136
+ dns-route53
+ dns-sakuracloud
+ nginx
+)
+
+IUSE="selinux"
+for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ IUSE+=" certbot-${module}"
+done
+
+BDEPEND="
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ )
+"
+
+# See each setup.py for dependencies
+# Also discard the previous related packages
+# except their transition step
+RDEPEND="
+ !<app-crypt/acme-3.2.0-r100
+ !<app-crypt/certbot-apache-3.2.0-r100
+ !<app-crypt/certbot-dns-desec-3.2.0-r100
+ !<app-crypt/certbot-dns-dnsimple-3.2.0-r100
+ !<app-crypt/certbot-dns-nsone-3.2.0-r100
+ !<app-crypt/certbot-dns-rfc2136-3.2.0-r100
+ !<app-crypt/certbot-nginx-3.2.0-r100
+
+ dev-python/chardet[${PYTHON_USEDEP}]
+ >=dev-python/configargparse-1.5.3[${PYTHON_USEDEP}]
+ >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-43.0.0[${PYTHON_USEDEP}]
+ >=dev-python/distro-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
+ <dev-python/josepy-2[${PYTHON_USEDEP}]
+ >=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}]
+ dev-python/pyrfc3339[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+ certbot-apache? (
+ dev-python/python-augeas[${PYTHON_USEDEP}]
+ )
+ certbot-dns-dnsimple? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-dnsmadeeasy? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-gehirn? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-google? (
+ >=dev-python/google-api-python-client-1.6.5[${PYTHON_USEDEP}]
+ >=dev-python/google-auth-2.16.0[${PYTHON_USEDEP}]
+ )
+ certbot-dns-linode? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-luadns? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-nsone? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-ovh? (
+ >=dev-python/dns-lexicon-3.15.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-rfc2136? (
+ >=dev-python/dnspython-2.6.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-route53? (
+ >=dev-python/boto3-1.15.15[${PYTHON_USEDEP}]
+ )
+ certbot-dns-sakuracloud? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-nginx? (
+ >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
+ )
+ selinux? ( sec-policy/selinux-certbot )
+"
+# RDEPEND+="
+# !<app-crypt/certbot-dns-cloudflare-3.2.0-r100
+#
+# >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] # @TODO is still necessary?
+# certbot-dns-cloudflare? (
+# # Available in GURU
+# >=dev-python/cloudflare-2.19[${PYTHON_USEDEP}]
+# <dev-python/cloudflare-2.20[${PYTHON_USEDEP}]
+# )
+# certbot-dns-digitalocean? (
+# # Available in GURU
+# >=dev-python/digitalocean-1.11[${PYTHON_USEDEP}]
+# )
+# "
+
+# Note: "docs" is not an actual directory under "S", they are actually
+# under each modules, see python_compile_all redefinition, but keep
+# this instruction enabled for dependency configuration.
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+src_prepare() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_prepare
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
+
+src_configure() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_configure
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
+
+src_compile() {
+ # Used for building documentation
+ # Stores temporary modules docs in each subdirectories, will be used for HTML_DOCS
+ local temp_docs="${T}/docs"
+ use doc && {
+ mkdir "${temp_docs}" || die
+ }
+
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_compile
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+
+ use doc && {
+ # Replace HTML_DOCS with one single entry to avoid merging
+ HTML_DOCS=( "${temp_docs}" )
+ }
+}
+
+python_compile_all() {
+ # Used to build documentation
+ use doc && {
+ sphinx_compile_all
+
+ # Subdirectory "_build/html" from build_sphinx in eclass/python-utils-r1.eclass
+ mv "${_DISTUTILS_SPHINX_SUBDIR}/_build/html" "${temp_docs}/${dir}" || die
+ }
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
+
+src_test() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_test
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
+
+src_install() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_install
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
diff --git a/app-crypt/certbot/certbot-3.3.0-r1.ebuild b/app-crypt/certbot/certbot-3.3.0-r1.ebuild
new file mode 100644
index 000000000000..7ef8f571d5cd
--- /dev/null
+++ b/app-crypt/certbot/certbot-3.3.0-r1.ebuild
@@ -0,0 +1,302 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+if [[ "${PV}" == *9999 ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/certbot/certbot.git"
+ EGIT_SUBMODULES=()
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
+else
+ SRC_URI="
+ https://github.com/certbot/certbot/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Let’s Encrypt client to automate deployment of X.509 certificates"
+HOMEPAGE="
+ https://github.com/certbot/certbot
+ https://pypi.org/project/certbot/
+ https://letsencrypt.org/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+# acme required for certbot, and then required for modules
+CERTBOT_BASE=(acme certbot)
+# List of "subpackages" from tools/_release.sh (without acme which is already above)
+CERTBOT_MODULES_EXTRA=(
+ apache
+ #dns-cloudflare # Requires missing packages, already in GURU
+ #dns-digitalocean # Requires missing packages, already in GURU
+ dns-dnsimple
+ dns-dnsmadeeasy
+ dns-gehirn
+ dns-google
+ dns-linode
+ dns-luadns
+ dns-nsone
+ dns-ovh
+ dns-rfc2136
+ dns-route53
+ dns-sakuracloud
+ nginx
+)
+
+IUSE="selinux"
+for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ IUSE+=" certbot-${module}"
+done
+
+BDEPEND="
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ )
+"
+
+# See each setup.py for dependencies
+# Also discard the previous related packages
+# except their transition step
+RDEPEND="
+ !<app-crypt/acme-3.2.0-r100
+ !<app-crypt/certbot-apache-3.2.0-r100
+ !<app-crypt/certbot-dns-desec-3.2.0-r100
+ !<app-crypt/certbot-dns-dnsimple-3.2.0-r100
+ !<app-crypt/certbot-dns-nsone-3.2.0-r100
+ !<app-crypt/certbot-dns-rfc2136-3.2.0-r100
+ !<app-crypt/certbot-nginx-3.2.0-r100
+
+ dev-python/chardet[${PYTHON_USEDEP}]
+ >=dev-python/configargparse-1.5.3[${PYTHON_USEDEP}]
+ >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-43.0.0[${PYTHON_USEDEP}]
+ >=dev-python/distro-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
+ <dev-python/josepy-2[${PYTHON_USEDEP}]
+ >=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}]
+ dev-python/pyrfc3339[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+ certbot-apache? (
+ dev-python/python-augeas[${PYTHON_USEDEP}]
+ )
+ certbot-dns-dnsimple? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-dnsmadeeasy? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-gehirn? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-google? (
+ >=dev-python/google-api-python-client-1.6.5[${PYTHON_USEDEP}]
+ >=dev-python/google-auth-2.16.0[${PYTHON_USEDEP}]
+ )
+ certbot-dns-linode? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-luadns? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-nsone? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-ovh? (
+ >=dev-python/dns-lexicon-3.15.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-rfc2136? (
+ >=dev-python/dnspython-2.6.1[${PYTHON_USEDEP}]
+ )
+ certbot-dns-route53? (
+ >=dev-python/boto3-1.15.15[${PYTHON_USEDEP}]
+ )
+ certbot-dns-sakuracloud? (
+ >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+ )
+ certbot-nginx? (
+ >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
+ )
+ selinux? ( sec-policy/selinux-certbot )
+"
+# RDEPEND+="
+# !<app-crypt/certbot-dns-cloudflare-3.2.0-r100
+#
+# >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] # @TODO is still necessary?
+# certbot-dns-cloudflare? (
+# # Available in GURU
+# >=dev-python/cloudflare-2.19[${PYTHON_USEDEP}]
+# <dev-python/cloudflare-2.20[${PYTHON_USEDEP}]
+# )
+# certbot-dns-digitalocean? (
+# # Available in GURU
+# >=dev-python/digitalocean-1.11[${PYTHON_USEDEP}]
+# )
+# "
+
+# Note: "docs" is not an actual directory under "S", they are actually
+# under each modules, see python_compile_all redefinition, but keep
+# this instruction enabled for dependency configuration.
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+src_prepare() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_prepare
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
+
+src_configure() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_configure
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
+
+src_compile() {
+ # Used for building documentation
+ # Stores temporary modules docs in each subdirectories, will be used for HTML_DOCS
+ local temp_docs="${T}/docs"
+ use doc && {
+ mkdir "${temp_docs}" || die
+ }
+
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_compile
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+
+ use doc && {
+ # Replace HTML_DOCS with one single entry to avoid merging
+ HTML_DOCS=( "${temp_docs}" )
+ }
+}
+
+python_compile_all() {
+ # Used to build documentation
+ use doc && {
+ sphinx_compile_all
+
+ # Subdirectory "_build/html" from build_sphinx in eclass/python-utils-r1.eclass
+ mv "${_DISTUTILS_SPHINX_SUBDIR}/_build/html" "${temp_docs}/${dir}" || die
+ }
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
+
+src_test() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_test
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
+
+src_install() {
+ local S_BACKUP="${S}"
+
+ local certbot_dirs=()
+ local base module dir
+ for base in "${CERTBOT_BASE[@]}"; do
+ certbot_dirs+=("${base}")
+ done
+ for module in "${CERTBOT_MODULES_EXTRA[@]}"; do
+ use "certbot-${module}" \
+ && certbot_dirs+=("certbot-${module}")
+ done
+
+ for dir in "${certbot_dirs[@]}"; do
+ S="${WORKDIR}/${P}/${dir}"
+ pushd "${S}" > /dev/null || die
+ distutils-r1_src_install
+ popd > /dev/null || die
+ done
+
+ # Restore S
+ S="${S_BACKUP}"
+}
diff --git a/app-crypt/certbot/certbot-9999.ebuild b/app-crypt/certbot/certbot-9999.ebuild
index c14b47d5ff54..d04710518faf 100644
--- a/app-crypt/certbot/certbot-9999.ebuild
+++ b/app-crypt/certbot/certbot-9999.ebuild
@@ -151,6 +151,9 @@ RDEPEND="
# )
# "
+# Note: "docs" is not an actual directory under "S", they are actually
+# under each modules, see python_compile_all redefinition, but keep
+# this instruction enabled for dependency configuration.
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
@@ -204,6 +207,13 @@ src_configure() {
}
src_compile() {
+ # Used for building documentation
+ # Stores temporary modules docs in each subdirectories, will be used for HTML_DOCS
+ local temp_docs="${T}/docs"
+ use doc && {
+ mkdir "${temp_docs}" || die
+ }
+
local S_BACKUP="${S}"
local certbot_dirs=()
@@ -225,6 +235,21 @@ src_compile() {
# Restore S
S="${S_BACKUP}"
+
+ use doc && {
+ # Replace HTML_DOCS with one single entry to avoid merging
+ HTML_DOCS=( "${temp_docs}" )
+ }
+}
+
+python_compile_all() {
+ # Used to build documentation
+ use doc && {
+ sphinx_compile_all
+
+ # Subdirectory "_build/html" from build_sphinx in eclass/python-utils-r1.eclass
+ mv "${_DISTUTILS_SPHINX_SUBDIR}/_build/html" "${temp_docs}/${dir}" || die
+ }
}
python_test() {
diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest
index c70e7f44ba74..f9873251119d 100644
--- a/app-crypt/gpgme/Manifest
+++ b/app-crypt/gpgme/Manifest
@@ -9,5 +9,5 @@ DIST gpgme-1.24.2.tar.bz2 1891804 BLAKE2B 3d112fe3401c6143d09474eefcc3fda00394b0
DIST gpgme-1.24.2.tar.bz2.sig 119 BLAKE2B 015c8243e84b36110985c1524c8ce124d2756bdcbb4a74ad046620516f3fba8a93e2d9d5aedbb720ed096d171bce71b4bc24e6fdf8b6ba59c263dd4c3c672c5a SHA512 1010067b40f2720e278577ae7599c957e26fdf81d35e21ea878813f2a2bdb618a4be636726252068438c9ef89cae9c1cd3e4acaf27243359abc3e5cfd7a87855
EBUILD gpgme-1.23.2-r2.ebuild 6058 BLAKE2B c6a0f78406386360883618d0820a4f21de71fa4a54293ae791fc8d11cf738359f35d4e1d4eb2e0f179d80250a42536e5aaa4944558ac2d800b0cd1a4868cd48b SHA512 264b838f5b3c89476a1800b59aa18f0153d186103eb395f37d4513094fdb1ced89e6d929cd38712de419542762eaa80d983a13ef27ae16843aca4ee0e30fdf38
EBUILD gpgme-1.24.1.ebuild 4681 BLAKE2B 17c6087bf80e305fb784e4e09e50d43a854345a097e10a754c164eef56f7810c324fae4dc1ab3fb3d2ce3a7d086aaf86e1c38d1d0226ac1130a4bd49fb7edcd8 SHA512 a98ccb8432d5e611646b54f1ad0b2abaec31fa5eea900d032d04d70ec33d196cb4ea86d6be048dd659316373de1fb75c7ae3ae1759cb3fa1f91590df578e1c1b
-EBUILD gpgme-1.24.2.ebuild 4683 BLAKE2B c45e9554cfe6ce24e840620404267e6cdcd81a0f7322b96ff212c746368c0093f07a41b4ec162e65dcf4f9204d7a46eaa2d08e0d057b2751b7e72f90e36efe07 SHA512 ced28698f2ab8a9591e8f2a01a58c4b795aaf9f87abe668c0318781e63f0bccf791d1b7fbac1863fbd7c69ca56a06bdeff904b0611360fa778220fa2a6673eb2
+EBUILD gpgme-1.24.2.ebuild 4682 BLAKE2B cd00e011d3d5d94a673e0b075a61a4323e6bb49e9d71bb572399364e00aebb2cf9e7f9cf196266bbcfcc7bedd7a15268f367554285f099bda3a32f5a3df722a2 SHA512 d3422c140aece9f7fb97e461513ea5190c9dc6e392df5d09953ed1c14da31562a4a601e785ac988f606c5e33c99539ece3c55d2bbf264be043c3bdda42725b9f
MISC metadata.xml 333 BLAKE2B 6dd18b63ec1f7656ab8bd705242bec45d7820db8be31f326172cad400711e6d7268c156d6b81facfdfa79118c04728ac910a8f8de36a11454227a1399235a582 SHA512 21b8d7bf3f14b5ab7e2ea587027395cdd881ecddd5a4f70237cafc70dc904b396a33f70dd7ef37519df5a204f4e3a89d9ea6ffc221df41bd9cbf23e69863f12f
diff --git a/app-crypt/gpgme/gpgme-1.24.2.ebuild b/app-crypt/gpgme/gpgme-1.24.2.ebuild
index ddfbf06f76c5..98971cd78724 100644
--- a/app-crypt/gpgme/gpgme-1.24.2.ebuild
+++ b/app-crypt/gpgme/gpgme-1.24.2.ebuild
@@ -34,7 +34,7 @@ LICENSE="GPL-2 LGPL-2.1"
# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
SLOT="1/11.6.15.2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="common-lisp static-libs +cxx python qt5 qt6 test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
diff --git a/app-crypt/hashalot/Manifest b/app-crypt/hashalot/Manifest
index 55b9feba49c6..58108805fc96 100644
--- a/app-crypt/hashalot/Manifest
+++ b/app-crypt/hashalot/Manifest
@@ -1,4 +1,4 @@
DIST hashalot-0.3.tar.gz 80284 BLAKE2B 1ec902f917a1e3e5babb24ea8763360fff8d41ab0baa6fac8053313c2115bc03187fb805f6ae6c013eb7a4f8eb4111bc781d5ac04c275fdba87658f0346aa8fd SHA512 c9ee39cefce5cc73b9a3a67b240616db9b66cde94fa351e6ebd4d13fd0f9195de9021c07d223809107e50b0a091d0d55e4caf2f71bba93f6d0da86af10632145
EBUILD hashalot-0.3-r2.ebuild 384 BLAKE2B dad124f75fd46db431b2a645d5e7779a5b0f0b0cd50e5acae7a0eb0b00066f7a0839d2857123b2e0c83b548b9f0f8718308987ffc97be67afdbefe7b80fe2d7d SHA512 e9fdc71f75ed1282535c8d53531f70fb5fa665a8b495b8cdf74eb17d93151bf4f190f2c48b78255d00fab56b8b4b2dee3de3301d61b4eaf6c855af99fc0deaae
-EBUILD hashalot-0.3-r3.ebuild 480 BLAKE2B 8ddfab5765d9693a5c095bd57b4195b7df7289a3201fcf896a8ec0935d4c56f6bea2eacf19a1a2d90b6fda661babfba6b10b50456cf7f7facdbdf0e43e790c4f SHA512 5e38e4324a36935e987aa57a2c9d4f1048453880a8bd42ba4c07a2ee41b5fd9f7c4df09daac0e07669ed9285095ca6f5b3aa95abf8af48e283c2740034554f8a
+EBUILD hashalot-0.3-r3.ebuild 479 BLAKE2B d7ceab299514fdbfa88e9b08caef4f00061353650a7c8f1ee20411bf086519bcf43597f080a105001824b9583d92f2fb302e472fb7c5d638e85fad2063813e97 SHA512 054b8d2baffa3bc6a3612ba24d9bdf62025f350ca8ad58a9234e9e78796826339fc86ed7e0b2e84437e88bb9a4769cb114b8a99181a87dbd1df5d926f4368dbe
MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c
diff --git a/app-crypt/hashalot/hashalot-0.3-r3.ebuild b/app-crypt/hashalot/hashalot-0.3-r3.ebuild
index d78cd46ceea2..455fedd51702 100644
--- a/app-crypt/hashalot/hashalot-0.3-r3.ebuild
+++ b/app-crypt/hashalot/hashalot-0.3-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.paranoiacs.org/~sluskyb/hacks/hashalot/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~m68k ~mips ~ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86"
src_prepare() {
default
diff --git a/app-crypt/sequoia-sq/Manifest b/app-crypt/sequoia-sq/Manifest
index cfbe73d7d9ba..ef3fc2d2e5c6 100644
--- a/app-crypt/sequoia-sq/Manifest
+++ b/app-crypt/sequoia-sq/Manifest
@@ -360,8 +360,10 @@ DIST sequoia-net-0.29.0.crate 49014 BLAKE2B c24461cd4f05cb369f3765f4fda7188fc22a
DIST sequoia-openpgp-1.22.0.crate 3017622 BLAKE2B 83be10aaa9adcd3af9a8b4657474892d4042c262c2349e2b7cd4669c23c27606c04674317daa6c143f8277684f58a1b85a2df77bc1cfeff3d79473480937401e SHA512 10893cff011ced034382d4fca9c04e61b7bdb5f2f621cbf4f36d611423248c7b411d7440433607cffdc1d646898607ede159248d1e69a6d2ca69bbc14db6f95a
DIST sequoia-policy-config-0.7.0.crate 106066 BLAKE2B e3d02172c530264fb6af51ecc7729d0e9b70b7e88e74d25ef66b1fd60d50c88fa6eed5bf9df0f954c18e8d68251e761752dd75196971b6c0d29fece569b5c7e7 SHA512 24db46b8d47877bb533f2379db104464e78492305e2d7c0b058a1fefe5408ddb744a8a84ec239d750d9dc12166e79a49595e096e9d3cc24989455571b7c4e0f3
DIST sequoia-sq-1.2.0-crates.tar.xz 47535108 BLAKE2B 509e5c71b4cb3727013a9d11a9ed0d72cdd56f58b3a000968c641a0c0477447868eb71191b269de5fa230eb24d9d5861f3c30d43838a9adbd7968af6783d54ad SHA512 70dd4a0c3149b2e4335cf9391fc8cd266a030a81533b65b98dae98a1b30e4bdbb212bfe471fc394249200cf8f275ab464ecf4df78a7f2458e73dbe588d86c6c8
+DIST sequoia-sq-1.3.0-crates.tar.xz 45373732 BLAKE2B 767a4e07d95d5d6ee8f85b7e71464c5248715366cf8dfdd79bc2263fc8e001ad4234f26cb723cd98e060da0bee97c57ab575735b1b9cc7a43c0bef70a73a9e38 SHA512 9f7d67562da3cf403ac3ae06c6a8d28660fbe5fb7705aeb5c31c6a2ab0ead936fe02275db93509720ae14854752829e205cd7845b9c975964717db94f58050c2
DIST sequoia-sq-v1.1.0.tar.bz2 670352 BLAKE2B c69f77b0c8f1f3d4f02d3518d240b6c15a711838e565bb080c22863240a1bfd2a47958d39313ac274bbc4d808548043ad8dd07252f310cb9d51f5f098a0159a6 SHA512 f23103f1863dd6712e7830ed9d23b0209cddeeb4d209b4d71d920b41d58adaac22b9e19218f7a26d4f513e0a211646f6c2eb8b8cdf18da13c96c599cbf116f6f
DIST sequoia-sq-v1.2.0.tar.bz2 683728 BLAKE2B 12d1d4872804cf015526d0c2c07a1af3b3e200e349b6f9257819168daabed9246c670561f3b95b6ec6f966255ad8043a6f63aebf3610485ed6657ef8751e8c1c SHA512 49b5e48a5ac2eaaa5154164b453a778418c36a5c9a2659541e16c1fcc5615f4a8ceaa0311a631be6cbb6ee4a20982bc3d20c6533780d2d3d698d28f786f8a8bb
+DIST sequoia-sq-v1.3.0.tar.bz2 675390 BLAKE2B f2b6d1a6dfbfb56594f420c005cde0dc2ffae69b62a88be4572982590be27640b081734d07f0664b86949a8289263fab50e32eb415f0a8b6d6d2d633a5e79fac SHA512 6a2a6720787d5643e773354c19206c6db2760b61103982be417d0cb0983ea459fc0803517e84c845b5d4b48051f3aaac4fabcb57ebc14968a0e7dbb88629e54c
DIST sequoia-wot-0.13.2.crate 1021102 BLAKE2B 1d8cea68cb13f3092ac08912ba83ac0ff1a5cff21e6cace2768ca3d2bb77f7a5870ec7cbcd2788ffb13f50958d69396595e3b80571e7303dccd5d92aad5b372d SHA512 c606e8f07fc239d0f6042873f460c05540b25faacd04a1284fdcb77e88d030c52f3be4bc00bcc572c24d63a6ab2cf6f84cc2b82572afbdb1be7262cf66f0a7ea
DIST serde-1.0.217.crate 79019 BLAKE2B a0aacff795d34583365ddd469fa14c58a6cccf8afbb248210aaff3134c7ce6e34b3d03f437326d7c01b3e78f82a5d19c37ed9fa4372970d8b2793f2889288e1c SHA512 f97b3b54b9e99c9a027390405cc054c3072f49c92803a4ed5f5f69e76a179deda9d77993b645b3581437085912d881da88d0451b9e0da423c64033a23fdd8054
DIST serde_derive-1.0.217.crate 57749 BLAKE2B 63b4930122d80d64492ba2718630513012202e42bbaa74510729ee66a0e72b8a1ad123784b479697ba562db43868f4bddfdf5e94bb3d744cd68a547471ba40aa SHA512 31020f4533d04b31ae125580a3c5093fad36438d324e2d9b063923aa8c125c654102ae7fbc3b3df892bb41db6b321962a23e0a37950e080055d715d15b18af76
@@ -524,4 +526,5 @@ DIST zerovec-0.10.4.crate 126398 BLAKE2B b078784d6f178bbb9de1c3c1b6c7ef996f00bdd
DIST zerovec-derive-0.10.3.crate 19438 BLAKE2B 9f7df8a4e4a0b62ab25aed967b26509db4bcc5d5b10b3bd73305099a4c49a60be8921484ced1a34d9b7ae30ffa5abe789686f432416a8f1cfc07de1db1dff594 SHA512 caefbffeb35265db9f74933bf07109d57f0da48156cafd4f330af78a5c7eb9ab0831a80789ad4fb119875ebc6cfd7e3de68c9984b77dca5151f9be41f1ae6e09
EBUILD sequoia-sq-1.1.0.ebuild 11445 BLAKE2B 0053d3a5b48050c13355fc6118809b208e0cac0fc7db29e953ccf13fe46512a90878bbb9faa45194a7c80781e6eadd3048d3dde6f091d0c0e5098d1d8690a68a SHA512 5a5e3c86a6097c42a2983e57ac476e091fa384f21ab491a8fa3ab66ca1c3b7877bb2c527b509ac41970b388afb10ae3940420f2530817b2b8e5bd6c0b355f775
EBUILD sequoia-sq-1.2.0.ebuild 2014 BLAKE2B c4fc0218189724abbd3cacdcca11e126a2bc26355a7c77c4a33a9a7a48818016ab492a283b1a72364c0776d511c001cc14ee38eba5b6a4b0d17e2125041e99b2 SHA512 dcb9889ba1c21b3486b5cf81209b7c325aca922337aff1e8253fac876160969c8fc8a76381e7f7587ce9da120afcdc35ecf33e9ac5d3efba8a4c0779b6fc97c6
+EBUILD sequoia-sq-1.3.0.ebuild 2016 BLAKE2B e97db82eab8ed1f3058a2adb9ea0e7fe258ed6b86b505e9d77ea7c7a2ce40122aa47c2f0c30195082d90df33a7a411187ba9ff57458bfdbe5b1ba759c8cafe19 SHA512 6b72bc8e282b29fc340268961172dd73e399ee41700c2857de7a534247c20de86837814b3572b6d3351d21d4a4bdb6156d046fe4c537abe79abc34b4afd0b49a
MISC metadata.xml 639 BLAKE2B 82da34ee938fd1657c51b0405ebf8d10a25a3c8d4dd3682a43db74302970f00accb6942d35a6f9c8ff014415044904906604298007434689289c297b41b77ea9 SHA512 3535f1d2b16c0386cf897dc178900df8a5d02e3ebcb044662540d90170f855ae5a688ffba2bd39423cc24d3bc4de27f17582da4e65a2a2c0b028446ff283aab2
diff --git a/app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild b/app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild
new file mode 100644
index 000000000000..c5a4cde4d25d
--- /dev/null
+++ b/app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+LLVM_COMPAT=( {16..20} )
+
+inherit cargo llvm-r1 shell-completion
+
+DESCRIPTION="CLI of the Sequoia OpenPGP implementation"
+HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-sq"
+SRC_URI="
+ https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
+ ${CARGO_CRATE_URIS}
+"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-crates.tar.xz"
+S="${WORKDIR}"/${PN}-v${PV}
+
+LICENSE="LGPL-2.1+"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT MIT-0 MPL-2.0
+ Unicode-3.0
+ || ( GPL-2 GPL-3 LGPL-3 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+QA_FLAGS_IGNORED="usr/bin/sq"
+
+COMMON_DEPEND="
+ app-arch/bzip2
+ dev-db/sqlite:3
+ dev-libs/gmp:=
+ dev-libs/nettle:=
+ dev-libs/openssl:=
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-libs/capnproto
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+"
+# Clang needed for bindgen
+BDEPEND="
+ $(llvm_gen_dep '
+ llvm-core/clang:${LLVM_SLOT}
+ ')
+ virtual/pkgconfig
+"
+
+pkg_setup() {
+ llvm-r1_pkg_setup
+ rust_pkg_setup
+}
+
+src_compile() {
+ # Set this here so that it doesn't change if we run tests
+ # and cause a recompilation.
+ asset_dir="${T}"/assets
+ export ASSET_OUT_DIR="${asset_dir}"
+
+ # Setting CARGO_TARGET_DIR is required to have the build system
+ # create the bash and zsh completion files.
+ export CARGO_TARGET_DIR="${S}/target"
+
+ # https://wiki.gentoo.org/wiki/Project:Rust/sys_crates#bzip2-sys
+ mkdir "${T}/pkg-config" || die
+ export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}}
+ cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die
+ Name: bzip2
+ Version: 9999
+ Description:
+ Libs: -lbz2
+ EOF
+
+ cargo_src_compile
+}
+
+src_install() {
+ cargo_src_install
+
+ doman "${asset_dir}"/man-pages/*.1
+
+ local completion_dir="${asset_dir}"/shell-completions
+ newbashcomp "${completion_dir}"/sq.bash sq
+ dozshcomp "${completion_dir}"/_sq
+ dofishcomp "${completion_dir}"/sq.fish
+}