commit:     d62a70d02ff57e459b88ce2ebb2df17402e6ebcb
Author:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
AuthorDate: Fri Oct 31 18:16:25 2025 +0000
Commit:     dsaf <ghostyn678+git <AT> gmail <DOT> com>
CommitDate: Fri Oct 31 18:16:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d62a70d0

app-portage/carnage: new package, add 1.0

Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com>

 app-portage/carnage/Manifest           |  1 +
 app-portage/carnage/carnage-1.0.ebuild | 44 ++++++++++++++++++++++++++++++++++
 app-portage/carnage/metadata.xml       | 16 +++++++++++++
 3 files changed, 61 insertions(+)

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</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>

Reply via email to