commit: 85171e78ab4de554ffd79d0de1203b7816c21f28
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 22 18:45:56 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 18:46:18 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85171e78
app-portage/pycargoebuild: add optfeature for aria2
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-portage/pycargoebuild/pycargoebuild-0.15.1.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/app-portage/pycargoebuild/pycargoebuild-0.15.1.ebuild
b/app-portage/pycargoebuild/pycargoebuild-0.15.1.ebuild
index a528836577ac..bfe5100463a6 100644
--- a/app-portage/pycargoebuild/pycargoebuild-0.15.1.ebuild
+++ b/app-portage/pycargoebuild/pycargoebuild-0.15.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2025 Gentoo Authors
+# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
-inherit distutils-r1 pypi
+inherit distutils-r1 optfeature pypi
DESCRIPTION="A generator for Rust/Cargo ebuilds written in Python"
HOMEPAGE="
@@ -27,3 +27,7 @@ RDEPEND="
"
distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "parallel download support" net-misc/aria2
+}