mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
net-im/poezio: drop 0.14
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST poezio-0.14.tar.gz 662379 BLAKE2B 467741d82945c084c79811d41ff85358ad236d0dcefca7e6f1f8ed5d78aa127f800d2370d624ebaf9e2eb20e1038f280c2e874694ea2b86965fe329b82c4b7d8 SHA512 6e68954a918c645592e2d2f8a265e2f2445a39e256c0525a5517e758a90cc404e066cc08d67ad0f8a3c7d6f3efd61f13a776737d110dd23df7a5f7fab54fc6b5
|
||||
DIST poezio-0.15.1.tar.gz 3406541 BLAKE2B ecff8f168fe29814e30769cea8bda083d5b46571b72d4d8bf797a801f8b76ec02fe84336c56842e901b6b97e29885bfff3a4359f057587bbd83ce4a82e4b0ec4 SHA512 6baff764fe5775108f3a0657f044ff86ddac6c9f22b64382c8dbdd7a273baed5084fc4d76e236f0419deeba5d50198c860ce1830ceb8b61fe4b5e918f7180516
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
|
||||
inherit distutils-r1 optfeature xdg
|
||||
|
||||
DESCRIPTION="Console XMPP client that looks like most famous IRC clients"
|
||||
HOMEPAGE="https://poez.io/ https://codeberg.org/poezio/poezio"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://lab.louiz.org/${PN}/${PN}.git https://github.com/poezio/poezio.git"
|
||||
inherit git-r3
|
||||
|
||||
# We build the html documentation using sphinx.
|
||||
BDEPEND="dev-python/sphinx"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/aiodns[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/slixmpp-1.8.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/Do-not-install-man-pages-and-files-in-usr-share-poez.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Delete unmaintained plugin which requires an excessive external dep
|
||||
rm plugins/mpd_client.py || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
|
||||
if [[ -n "${EGIT_REPO_URI}" ]]; then
|
||||
emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
# Poezio provides its own Python C extension 'poopt', which needs to be
|
||||
# correctly discovered to run the tests. See
|
||||
# https://projects.gentoo.org/python/guide/test.html#importerrors-for-c-extensions
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
epytest "${S}"/test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
doman data/poezio.1 data/poezio_logs.1
|
||||
|
||||
if [[ -n "${EGIT_REPO_URI}" ]]; then
|
||||
docinto html
|
||||
dodoc -r doc/build/html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "screen autoaway support" dev-python/pyinotify
|
||||
}
|
||||
Reference in New Issue
Block a user