mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-portage/carnage: drop 1.2, add 1.2b
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST carnage-1.2.tar.gz 139851 BLAKE2B dcc8f5870419d13e48f861a337a229b694259de38be7dcb24cbaa461d36ae98b251357d1c4874aa58cb7c1d9f1f0b2cbe31e36c686f0972ebfde240b5ff85595 SHA512 aec7da6fb2ac7e909c755687eb8a92fe937f0004f7b2a85fc7e03de6748cdb045604edce7dae1bb72e462c3b6e60d0874f7db053e02ad84071a5277d417ed33a
|
||||
DIST carnage-1.2b.tar.gz 138323 BLAKE2B e93e34322b0dcbd4a36cd0792176c8e0df7d4e64e3b2a4e38e4556f3e04405b64c4fde85f485d8c602d73ae3256841fb751205adfa0764f87449a915acde8f9b SHA512 bbbabb33aa796f7ebf53ca7652d7596f94f62da18e034419386b77733e66d533abc7c204401de18bd10cb1727c5b4fbf4300a26e9bc50bbd2e74c3f7b392106b
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -22,38 +22,13 @@ fi
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="man"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/lxml-6.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/textual-6.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/textual-7.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomlkit-0.13.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
man? (
|
||||
|| (
|
||||
app-text/lowdown
|
||||
virtual/pandoc
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
|
||||
if use man; then
|
||||
local docgen=lowdown
|
||||
|
||||
# prefer pandoc if it's installed
|
||||
has_version virtual/pandoc && docgen=pandoc
|
||||
|
||||
"${docgen}" docs/man.carnage.md -s -t man -o docs/carnage.1 \
|
||||
|| die "Failed to generate man page with ${docgen}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
@@ -61,7 +36,7 @@ src_install() {
|
||||
|
||||
doicon -s scalable assets/carnage.svg
|
||||
|
||||
use man && doman docs/carnage.1
|
||||
doman man/carnage.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
@@ -25,7 +25,7 @@ SLOT="0"
|
||||
RDEPEND="
|
||||
>=dev-python/lxml-6.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/textual-7.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/textual-7.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomlkit-0.13.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user