diff --git a/app-portage/carnage/Manifest b/app-portage/carnage/Manifest index 41499c2731..dc8cdd847c 100644 --- a/app-portage/carnage/Manifest +++ b/app-portage/carnage/Manifest @@ -1 +1,2 @@ DIST carnage-1.3a.tar.gz 958593 BLAKE2B 87668fb54016af56a0822a93097350e6e3a67cd8f978fb79f117c418e067b3ca257311f7a88da828830e3acf15c6fc0cee0156398fc3752a83e483f9cba946dc SHA512 2fda660a6e3a3993945df3342c2985af405a5f6f8c32efe0390f3e8eb833fcd331947ebe7890fa9a0d866e52f26a0d367f8201062bba735333b7a150180aaade +DIST carnage-1.3b.tar.gz 1101102 BLAKE2B 54640744b42dbfb93ee66fb860db7ee0d53c172dcc09641b097cc1a699af4e4591d6f61c4d297614bd7c66abf5a3f8d2afe7b016ea4ab557f431800e8208643a SHA512 2ab4ff0d803c102c777ec902b643ce7493c59b9a56804e969ec7455639b87687b09ada6eb0e660f184560ef9b8714c7927d4b241c98bc967363f4e378bdb5824 diff --git a/app-portage/carnage/carnage-1.3b.ebuild b/app-portage/carnage/carnage-1.3b.ebuild new file mode 100644 index 0000000000..3af50cc48a --- /dev/null +++ b/app-portage/carnage/carnage-1.3b.ebuild @@ -0,0 +1,46 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{12..13} ) + +inherit distutils-r1 optfeature desktop xdg + +DESCRIPTION="TUI front-end for Portage and eix" +HOMEPAGE="https://github.com/dsafxP/carnage" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/dsafxP/carnage.git" +else + SRC_URI="https://github.com/dsafxP/carnage/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/lxml-6.0.2[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}] + >=sys-apps/portage-3.0.77[${PYTHON_USEDEP}] + >=dev-python/textual-8.1.1[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.14.0[${PYTHON_USEDEP}] + >=app-portage/gentoolkit-0.7.1[${PYTHON_USEDEP}] +" + +src_install() { + distutils-r1_src_install + + domenu assets/carnage.desktop + + doicon -s scalable assets/carnage.svg + + doman man/carnage.1 +} + +pkg_postinst() { + optfeature "package & use flag browsing" app-portage/eix +} diff --git a/app-portage/carnage/carnage-9999.ebuild b/app-portage/carnage/carnage-9999.ebuild index c146a541b2..3af50cc48a 100644 --- a/app-portage/carnage/carnage-9999.ebuild +++ b/app-portage/carnage/carnage-9999.ebuild @@ -26,7 +26,7 @@ RDEPEND=" >=dev-python/lxml-6.0.2[${PYTHON_USEDEP}] >=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}] >=sys-apps/portage-3.0.77[${PYTHON_USEDEP}] - >=dev-python/textual-8.0.0[${PYTHON_USEDEP}] + >=dev-python/textual-8.1.1[${PYTHON_USEDEP}] >=dev-python/tomlkit-0.14.0[${PYTHON_USEDEP}] >=app-portage/gentoolkit-0.7.1[${PYTHON_USEDEP}] "