net-news/canto-daemon - 0.9.8 (gentoo)

Search

Package Information

Description:
Daemon part of Canto-NG RSS reader
Homepage:
https://codezen.org/canto-ng/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.9.8 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_REQ_USE="xml(+),threads(+)"
inherit distutils-r1

DESCRIPTION="Daemon part of Canto-NG RSS reader"
HOMEPAGE="https://codezen.org/canto-ng/"
SRC_URI="https://github.com/themoken/canto-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/canto-next-${PV}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RESTRICT="test"
PROPERTIES="test_network"

RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]"
BDEPEND="test? ( ${RDEPEND} )"

python_prepare_all() {
	# Respect libdir during plugins installation
	sed -i -e "s:lib/canto:$(get_libdir)/canto:" setup.py || die

	distutils-r1_python_prepare_all
}

python_test() {
	local test_file
	for test_file in tests/*; do
		"${EPYTHON}" "${test_file}" || die "Test ${test_file} failed with ${EPYTHON}"
	done
}

USE Flags

Dependencies

RDEPEND

dev-python/feedparser[${PYTHON_USEDEP}]

BDEPEND

test? ( dev-python/feedparser[${PYTHON_USEDEP}] )

Manifest for 0.9.8

Type File Size Source URLs
DIST canto-daemon-0.9.8.tar.gz 53866 bytes https://github.com/themoken/canto-next/archive/v0.9.8.tar.gz