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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99E01158015 for ; Fri, 29 Dec 2023 02:12:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA69C2BC032; Fri, 29 Dec 2023 02:12:12 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B4DFE2BC032 for ; Fri, 29 Dec 2023 02:12:12 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB14033FD3F for ; Fri, 29 Dec 2023 02:12:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F02E51338 for ; Fri, 29 Dec 2023 02:12:09 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1703815885.a428b09c607211ac87ad4db5df7f85657cd71194.epsilon-0@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/parsel/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/parsel/Manifest dev-python/parsel/parsel-1.8.1.ebuild X-VCS-Directories: dev-python/parsel/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: a428b09c607211ac87ad4db5df7f85657cd71194 X-VCS-Branch: dev Date: Fri, 29 Dec 2023 02:12:09 +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: e96ac7eb-75fa-478d-8fa1-d4ddacf71e0f X-Archives-Hash: 8f4fc245ee0408b619d117dee04e9e56 commit: a428b09c607211ac87ad4db5df7f85657cd71194 Author: Aisha Tammy aisha cc> AuthorDate: Fri Dec 29 01:49:57 2023 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Fri Dec 29 02:11:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a428b09c dev-python/parsel: add 1.8.1 Signed-off-by: Aisha Tammy aisha.cc> dev-python/parsel/Manifest | 1 + dev-python/parsel/parsel-1.8.1.ebuild | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/parsel/Manifest b/dev-python/parsel/Manifest index 266b6a7748..73bd06c19d 100644 --- a/dev-python/parsel/Manifest +++ b/dev-python/parsel/Manifest @@ -1 +1,2 @@ DIST parsel-1.7.0.tar.gz 46036 BLAKE2B e83b5f7f5a7a4274632a38586641be761482c6978670f6c747249d4063f5596bacc42d698d294da1aa9fb972bbaf21cbe3247e49560f1b9c29a3d79eee4dd00a SHA512 850784cfb32fbf619dbcd53152edb569b199965e59f3ec088892a8d432aaf08c1a61f3562499c5c592d9578fb28f871d519e3d7b344e3b7a12fbaaca57909f89 +DIST parsel-1.8.1.tar.gz 50881 BLAKE2B 8d81045e064105d344125e2baf1c769d9a7bddd011c4d544eb7ee0122fc360d74aa8e828bb51ae41fe70fc110f8d449bd1be957372e11ac426427ad85b522b64 SHA512 02101df4e36c704bce8fc24fac4c11beb6f72b6e7196d48c4472acb644620c3672bd6ef9166bac349ba01a4c3e75f5b166ca6f567294f1e3cf4b325a7883dd63 diff --git a/dev-python/parsel/parsel-1.8.1.ebuild b/dev-python/parsel/parsel-1.8.1.ebuild new file mode 100644 index 0000000000..c5c609ae89 --- /dev/null +++ b/dev-python/parsel/parsel-1.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Utility to extract data from XML/HTML documents using XPath or CSS selectors" +HOMEPAGE=" + https://scrapy.org/ + https://pypi.org/project/parsel/ + https://github.com/scrapy/parsel +" + +LICENSE="BSD" +SLOT=0 +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/w3lib[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/sybil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-notfound-page \ + dev-python/sphinx-rtd-theme + +src_prepare() { + distutils-r1_src_prepare + sed "/pytest-runner/d" -i setup.py || die +} + +python_test() { + epytest --ignore=docs +}