diff --git a/app-portage/carnage/Manifest b/app-portage/carnage/Manifest new file mode 100644 index 0000000000..2c4e51ffbe --- /dev/null +++ b/app-portage/carnage/Manifest @@ -0,0 +1 @@ +DIST carnage-1.0.tar.gz 246893 BLAKE2B 66aaa483858ee00e10ccb466158f1db5e4d23596a47e931995d8f6a9f4bbf033b401d0aefdb905f4a7d34f8dad4f458227e0774f2e1e465250453a6b2455ac98 SHA512 32d7b7fec21a83f4b35a55e0f59b1c0ec1960606004b99bad42928f328219c319c174aced29e615b7bd2fd1c239f5d900b0cddc4f6585e69cb5736fe2348342f diff --git a/app-portage/carnage/carnage-1.0.ebuild b/app-portage/carnage/carnage-1.0.ebuild new file mode 100644 index 0000000000..ff4a5f0e32 --- /dev/null +++ b/app-portage/carnage/carnage-1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 optfeature desktop xdg + +DESCRIPTION="TUI front-end for Portage and eix" +HOMEPAGE="https://github.com/dsafxP/carnage" +SRC_URI="https://github.com/dsafxP/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/lxml-6.0.2[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}] + >=dev-python/textual-6.4.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.13.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + domenu assets/carnage.desktop + + doicon -s scalable assets/carnage.svg +} + +pkg_postinst() { + optfeature "package & use flag browsing" app-portage/eix + + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +} diff --git a/app-portage/carnage/metadata.xml b/app-portage/carnage/metadata.xml new file mode 100644 index 0000000000..1c603fb78a --- /dev/null +++ b/app-portage/carnage/metadata.xml @@ -0,0 +1,16 @@ + + + + + ghostyn678+git@gmail.com + dsaf + + + carnage is a text-based user interface (TUI) front-end for Portage and eix. + Its goal is to centralize common Gentoo package management tasks in a + unified, efficient, and user-friendly interface. + + + dsafxP/carnage + +