From 24e95848dce251d82e02054b325624ea69714cc4 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Fri, 10 Sep 2021 13:00:58 +0300 Subject: net-news/canto-daemon: version bump, add Python 3.9 support Fix incorrect DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/809458 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergey Popov --- net-news/canto-daemon/Manifest | 2 +- net-news/canto-daemon/canto-daemon-0.9.7.ebuild | 27 ------------------------ net-news/canto-daemon/canto-daemon-0.9.8.ebuild | 28 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 net-news/canto-daemon/canto-daemon-0.9.7.ebuild create mode 100644 net-news/canto-daemon/canto-daemon-0.9.8.ebuild (limited to 'net-news') diff --git a/net-news/canto-daemon/Manifest b/net-news/canto-daemon/Manifest index c41f450f054d..6ca71f2a0554 100644 --- a/net-news/canto-daemon/Manifest +++ b/net-news/canto-daemon/Manifest @@ -1 +1 @@ -DIST canto-daemon-0.9.7.tar.gz 53833 BLAKE2B 148929d610ccde11d32295b585e7ff01d847e4fbf8e9d0bea63fdf2c38b3474f958ff99a2667624b08ab90e004023659b9f4aa0477a67ed5b6e218eac4b2eedc SHA512 8c8c73cb6bc7455620abd299dfa0350ea5b8ec0e04d7ccdb1dd8ee2a6de51d0a0ba3934d66141dc899d28e49993c87002a936659f9c31b3c416ee294f9b616b9 +DIST canto-daemon-0.9.8.tar.gz 53866 BLAKE2B 55b5e9be9980df471e5488b7583be3b06f8f7048ecb3a89a64ecc9aafa806b201272bd16944a25e7a412da914cc83b76d1f19c0813366209c33195442a84586e SHA512 5394a0fea38ecbe28c02bd6f68e1e10e0523cf087bb0f79f17e53bdf8e9df16213beaa1c0a5f5873b3126022faf8d0fd999dbd01aa727c35b3c1a823501787da diff --git a/net-news/canto-daemon/canto-daemon-0.9.7.ebuild b/net-news/canto-daemon/canto-daemon-0.9.7.ebuild deleted file mode 100644 index a71940c83a29..000000000000 --- a/net-news/canto-daemon/canto-daemon-0.9.7.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) -PYTHON_REQ_USE="xml(+),threads(+)" -inherit distutils-r1 multilib - -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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]" - -S="${WORKDIR}/canto-next-${PV}" - -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 -} diff --git a/net-news/canto-daemon/canto-daemon-0.9.8.ebuild b/net-news/canto-daemon/canto-daemon-0.9.8.ebuild new file mode 100644 index 000000000000..e9126d4bcac8 --- /dev/null +++ b/net-news/canto-daemon/canto-daemon-0.9.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_REQ_USE="xml(+),threads(+)" +inherit distutils-r1 multilib + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]" + +S="${WORKDIR}/canto-next-${PV}" + +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 +} -- cgit v1.2.3-65-gdbad