From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E2B99158090 for ; Fri, 20 May 2022 08:29:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7684CE0986; Fri, 20 May 2022 08:29:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F2EAE0986 for ; Fri, 20 May 2022 08:29:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6DE2341725 for ; Fri, 20 May 2022 08:29:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7BBC4D9 for ; Fri, 20 May 2022 08:29:31 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1653035363.5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/feedparser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/feedparser/Manifest dev-python/feedparser/feedparser-6.0.9.ebuild X-VCS-Directories: dev-python/feedparser/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7 X-VCS-Branch: master Date: Fri, 20 May 2022 08:29:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f0b8f4fa-b02b-4525-86c1-069eecce071b X-Archives-Hash: aeb5d94c36977627a6ce5c92a9a559a3 commit: 5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7 Author: Michał Górny gentoo org> AuthorDate: Fri May 20 07:43:36 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 20 08:29:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d08f9bf dev-python/feedparser: Bump to 6.0.9 Signed-off-by: Michał Górny gentoo.org> dev-python/feedparser/Manifest | 1 + dev-python/feedparser/feedparser-6.0.9.ebuild | 46 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest index a4a98a389e0d..75d3987ea93a 100644 --- a/dev-python/feedparser/Manifest +++ b/dev-python/feedparser/Manifest @@ -1 +1,2 @@ DIST feedparser-6.0.8.tar.gz 252496 BLAKE2B 1a17ef6aa41e0782743d5d331ba26e2d1518475534adcd62457bc6fab00b93e24a3a3b03f4acf8358d321464b985c9d09383dc0373680577c10b742c5e1366fd SHA512 9de702dbebe28b379fd164afed8c408f46301f3ebf91d9f862f12de98a1bcee9f6d38a27c0b8a64e87bc0a20d0ad992ed78b190406649f775e2e8c9ca62b4d8c +DIST feedparser-6.0.9.tar.gz 252691 BLAKE2B 08c1e04f9c8b38050abc22ee702271cb8e67c292cd3ab3820e6754b9ae05cc43bded9c1fa0160ba3770f38fad83b286c8f2c3416a03a366b595f6c388d64cfb3 SHA512 bcc2c9e7214c31d4dd5d78f2df99b6c25c87cf9e87d8ed0a00e7cbcc1451c1781b0c5408b7951f5655d2b4fdb558e82ddb5cb00487426d23c4d4c68fa9b77e0c diff --git a/dev-python/feedparser/feedparser-6.0.9.ebuild b/dev-python/feedparser/feedparser-6.0.9.ebuild new file mode 100644 index 000000000000..5bf7f4188766 --- /dev/null +++ b/dev-python/feedparser/feedparser-6.0.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +MY_PV=${PV/_beta/b} +MY_P=${PN}-${MY_PV} +DESCRIPTION="Parse RSS and Atom feeds in Python" +HOMEPAGE=" + https://github.com/kurtmckee/feedparser/ + https://pypi.org/project/feedparser/ +" +SRC_URI=" + https://github.com/kurtmckee/feedparser/archive/${MY_PV}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + dev-python/sgmllib3k[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/feedparser-6.0.8-fix-py3.10.patch" +) + +src_prepare() { + # broken + rm \ + tests/illformed/chardet/big5.xml \ + tests/illformed/undeclared_namespace.xml || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" tests/runtests.py -v || die "Tests failed with ${EPYTHON}" +}