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 5C70B158094 for ; Mon, 11 Jul 2022 06:54:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5177BE0B34; Mon, 11 Jul 2022 06:54:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 30129E0B28 for ; Mon, 11 Jul 2022 06:54:50 +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 491513410BD for ; Mon, 11 Jul 2022 06:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79CE5535 for ; Mon, 11 Jul 2022 06:54:46 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1657262779.64f06343c1fe41aa18209f0c091eac9885912cbf.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/readability-lxml/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/readability-lxml/Manifest dev-python/readability-lxml/metadata.xml dev-python/readability-lxml/readability-lxml-0.8.1.ebuild X-VCS-Directories: dev-python/readability-lxml/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 64f06343c1fe41aa18209f0c091eac9885912cbf X-VCS-Branch: master Date: Mon, 11 Jul 2022 06:54:46 +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: 13b63f64-39a9-41f2-a4c8-57928af8eafc X-Archives-Hash: baf4e9189c7136d36412528da5b5c732 commit: 64f06343c1fe41aa18209f0c091eac9885912cbf Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Jul 8 06:44:40 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Jul 8 06:46:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64f06343 dev-python/readability-lxml: add 0.8.1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/readability-lxml/Manifest | 1 + dev-python/readability-lxml/metadata.xml | 11 +++++ .../readability-lxml/readability-lxml-0.8.1.ebuild | 49 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-python/readability-lxml/Manifest b/dev-python/readability-lxml/Manifest index 1fa7d079c..50da2ee3e 100644 --- a/dev-python/readability-lxml/Manifest +++ b/dev-python/readability-lxml/Manifest @@ -1 +1,2 @@ DIST readability-lxml-0.6.1.tar.gz 13741 BLAKE2B 8bae46033e6eb3c171869746291a856267bc8f64ae088969405c5920229447fa470b6e14ea8b32b380c43d30e83ad9371149181d293bbfca6ff13fa271da3d74 SHA512 f7bead871dc84e2cc6dac18ced3f9fa223cd3961204330064e338b2e822ba9af58beb43be42b7f61a7cfb761f7c1d7a339d428c310d6be34b7546328f1eeb276 +DIST readability-lxml-0.8.1.gh.tar.gz 78871 BLAKE2B ef179d8bb727c0630e3af763a18170c1956be5cd3b8ad1cfe614b233964225e2e73b814c4ad628780eaffca21881d1ed276f45248a656b8c37ef1e6ccb121e85 SHA512 c5b296a35606f65643f72e7d9ee07d6820a7a6a36ce97350673ea6076b704f7ed72f92ded47dac56690cdf3776eb8fadbb02ea234355a9982d4127976b2e6c6e diff --git a/dev-python/readability-lxml/metadata.xml b/dev-python/readability-lxml/metadata.xml new file mode 100644 index 000000000..9aea3f5df --- /dev/null +++ b/dev-python/readability-lxml/metadata.xml @@ -0,0 +1,11 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + readability-lxml + + diff --git a/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild b/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild new file mode 100644 index 000000000..b43ed4e03 --- /dev/null +++ b/dev-python/readability-lxml/readability-lxml-0.8.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_PN="python-readability" +DESCRIPTION="fast html to text parser (article readability tool)" +HOMEPAGE=" + https://pypi.org/project/readability-lxml/ + https://github.com/buriy/python-readability +" +SRC_URI="https://github.com/buriy/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + || ( ( $(python_gen_cond_dep \ + 'dev-python/cchardet[${PYTHON_USEDEP}]' python3_{8..10}) ) + dev-python/chardet[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep \ + 'dev-python/timeout-decorator[${PYTHON_USEDEP}]' python3_{8..11}) + ) +" + +distutils_enable_tests unittest + +distutils_enable_sphinx doc/source \ + dev-python/recommonmark \ + dev-python/sphinx_rtd_theme + +python_test() { + [[ ${EPYTHON} == pypy3 ]] && \ + return 0 # unsatisfied dep + + distutils-r1_python_test +}