diff --git a/app-portage/carnage/Manifest b/app-portage/carnage/Manifest index a6b20b7953..2e31f857fb 100644 --- a/app-portage/carnage/Manifest +++ b/app-portage/carnage/Manifest @@ -1 +1,2 @@ DIST carnage-1.3b.tar.gz 1101102 BLAKE2B 54640744b42dbfb93ee66fb860db7ee0d53c172dcc09641b097cc1a699af4e4591d6f61c4d297614bd7c66abf5a3f8d2afe7b016ea4ab557f431800e8208643a SHA512 2ab4ff0d803c102c777ec902b643ce7493c59b9a56804e969ec7455639b87687b09ada6eb0e660f184560ef9b8714c7927d4b241c98bc967363f4e378bdb5824 +DIST carnage-1.4.tar.gz 150583 BLAKE2B 99b1bb5f09534af13ce2d5bbb32c8d3275bfe1dd1635c71ace87546b84798dfa0b26f49b3d1555d83f94205ccf45a0e3aa2e2f771cd67dc9206ce7982acdc805 SHA512 8a3f41270250d471467859282997284baa7be15c2846214f1928f32c13ea390d4470b015a16e6abbb7eed81d57fb52ccdeb38550a6606d814f96c831823b8cb7 diff --git a/app-portage/carnage/carnage-1.4.ebuild b/app-portage/carnage/carnage-1.4.ebuild new file mode 100644 index 0000000000..f2728075c8 --- /dev/null +++ b/app-portage/carnage/carnage-1.4.ebuild @@ -0,0 +1,48 @@ +# 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.0.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.14.0[${PYTHON_USEDEP}] + >=app-portage/gentoolkit-0.7.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.9.6[${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 + optfeature "desktop notifications" dev-python/desktop-notifier +} diff --git a/app-portage/carnage/carnage-9999.ebuild b/app-portage/carnage/carnage-9999.ebuild index 3af50cc48a..f2728075c8 100644 --- a/app-portage/carnage/carnage-9999.ebuild +++ b/app-portage/carnage/carnage-9999.ebuild @@ -26,9 +26,10 @@ 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/textual-8.0.0[${PYTHON_USEDEP}] >=dev-python/tomlkit-0.14.0[${PYTHON_USEDEP}] >=app-portage/gentoolkit-0.7.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.9.6[${PYTHON_USEDEP}] " src_install() { @@ -43,4 +44,5 @@ src_install() { pkg_postinst() { optfeature "package & use flag browsing" app-portage/eix + optfeature "desktop notifications" dev-python/desktop-notifier }