# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature git-r3 MY_PV="${PV//_p}" DESCRIPTION="TUI and CLI for the BitTorrent client Transmission" HOMEPAGE="https://github.com/rndusr/stig" EGIT_REPO_URI="https://github.com/rndusr/stig.git" S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" RDEPEND=" ${PYTHON_DEPS} dev-python/natsort[${PYTHON_USEDEP}] >=dev-python/urwid-2.6.12[${PYTHON_USEDEP}] >=dev-python/urwidtrees-1.0.3[${PYTHON_USEDEP}] dev-python/aiohttp[${PYTHON_USEDEP}] dev-python/async-timeout[${PYTHON_USEDEP}] dev-python/pyxdg[${PYTHON_USEDEP}] dev-python/blinker[${PYTHON_USEDEP}] dev-python/natsort[${PYTHON_USEDEP}] dev-python/wcwidth[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/multidict[${PYTHON_USEDEP}] " pkg_postinst() { optfeature "stripping arguments from process title when running in tmux sessions" dev-python/setproctitle optfeature "SOCKS5, SOCKS4, or HTTP proxy tunneling support" dev-python/aiohttp-socks }