app-portage/carnage: new package, add 1.0

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2025-10-31 15:16:25 -03:00
parent 209fc9dc3b
commit d62a70d02f
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST carnage-1.0.tar.gz 246893 BLAKE2B 66aaa483858ee00e10ccb466158f1db5e4d23596a47e931995d8f6a9f4bbf033b401d0aefdb905f4a7d34f8dad4f458227e0774f2e1e465250453a6b2455ac98 SHA512 32d7b7fec21a83f4b35a55e0f59b1c0ec1960606004b99bad42928f328219c319c174aced29e615b7bd2fd1c239f5d900b0cddc4f6585e69cb5736fe2348342f

View File

@@ -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
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ghostyn678+git@gmail.com</email>
<name>dsaf</name>
</maintainer>
<longdescription>
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.
</longdescription>
<upstream>
<remote-id type="github">dsafxP/carnage</remote-id>
</upstream>
</pkgmetadata>