diff --git a/app-portage/carnage/Manifest b/app-portage/carnage/Manifest index bb44e1141c..75ac092af7 100644 --- a/app-portage/carnage/Manifest +++ b/app-portage/carnage/Manifest @@ -1,2 +1,3 @@ DIST carnage-1.4b.tar.gz 151315 BLAKE2B 34c35a40a2691ef8c5c13fe3c5fdd4277297abe7f2ff3ac213351557ae28d29350179338b0202664a11121ea71ab4bec453f015ba75c81bae81dc5ba26aa9847 SHA512 d2cf73cb8c3133672dd5dc1be9056b9ac1747dbe5398b7eadc00344af2a2a9bb9971109f59097cc4ca795543584320ccb4405d689066fcdc209c31002d1227bb DIST carnage-1.4d.tar.gz 154207 BLAKE2B abcc7fd3b5d97f99609cb4a1cc7d02be50676ced011a068e8baa00e87fdca640580f2ff18c41fee2b3113b225623668eb5a5bd11cf7533ff616823e5b2cbe3d1 SHA512 a69506187c75b3dd3581d9cd7bc3b4a95e85e3cbd8f428d54dfb8574e5a781ee373a8191a869befcaef1bf1464785e360e9e36aa4ff71aeaf4c18787a05158b6 +DIST carnage-1.5.tar.gz 154584 BLAKE2B 888d6579bcb984ff0109cacffd29e7210d078a89442f0644ef1350b3472d1bf1bbd0198f58154a0142789663ab9fd807bf4c37e834c6fdae3f4515327c7e81b1 SHA512 d5fd9b749b6e0f0f1542c10ff7b1af96cac74f1e1358acabae28a5499b1bddc67eeb62f33ccca7de3c0bc008776f41b02b09255e262fc3b904191132bdce8198 diff --git a/app-portage/carnage/carnage-1.5.ebuild b/app-portage/carnage/carnage-1.5.ebuild new file mode 100644 index 0000000000..8af6307a6c --- /dev/null +++ b/app-portage/carnage/carnage-1.5.ebuild @@ -0,0 +1,49 @@ +# 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..14} ) + +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=" + >=app-eselect/eselect-repository-14 + >=app-portage/gentoolkit-0.7.1[${PYTHON_USEDEP}] + >=dev-python/lxml-6.0.2[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.9.6[${PYTHON_USEDEP}] + >=dev-python/textual-8.0.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.14.0[${PYTHON_USEDEP}] + >=sys-apps/portage-3.0.77[${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 +}