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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F299138359 for ; Sat, 21 Nov 2020 20:54:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 659F0E07DB; Sat, 21 Nov 2020 20:54:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E9E5E07DB for ; Sat, 21 Nov 2020 20:54:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E406340E72 for ; Sat, 21 Nov 2020 20:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F546261 for ; Sat, 21 Nov 2020 20:54:39 +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: <1605992048.fe05ace8277a5c0e97dcf1e0ba972461018c22d5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyquery/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyquery/Manifest dev-python/pyquery/pyquery-1.4.3.ebuild X-VCS-Directories: dev-python/pyquery/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fe05ace8277a5c0e97dcf1e0ba972461018c22d5 X-VCS-Branch: master Date: Sat, 21 Nov 2020 20:54:39 +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: 72869e7f-ca15-48f2-8850-c96f295569e3 X-Archives-Hash: 9a81239301af7e717dd59e265eb526bb commit: fe05ace8277a5c0e97dcf1e0ba972461018c22d5 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 21 19:18:38 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 21 20:54:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe05ace8 dev-python/pyquery: Bump to 1.4.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pyquery/Manifest | 1 + dev-python/pyquery/pyquery-1.4.3.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pyquery/Manifest b/dev-python/pyquery/Manifest index b4cd5f54f22..4f3ec79b219 100644 --- a/dev-python/pyquery/Manifest +++ b/dev-python/pyquery/Manifest @@ -1 +1,2 @@ DIST pyquery-1.4.1.tar.gz 47983 BLAKE2B eb8d0ca59122734a4c715c33f40fd0b5fcc8edcabe9e41649ddf332feb1df603f8527a668aa7b9d78974b3d049e774355296644abd9b4d426d96e6e3c7a74065 SHA512 e2bfbbf51f99a408e9696a2b9c15f8875813847a10b5bd93c4c7a6886ac1b3ae6c7883ec4fb64e9bccab2127617843961e181044fe927f3c80c8ac363ed86141 +DIST pyquery-1.4.3.tar.gz 47448 BLAKE2B 32451dfc8f8160207b4be12006ceba3098b8cb344bfa3e80ccf75f8cfca9542614ae78b9bfec773139cbbf12434201f92f8b4738e7d9e6241b3addfeb1bc8dda SHA512 cb61326e38f78763ca15de09e3a56dad776b3d4831b54eabf295db0f9af8bf04599642c73f5db3e3172b86d7b66ba2ef626c8cba2dfb458af6ac432d15ea7cba diff --git a/dev-python/pyquery/pyquery-1.4.3.ebuild b/dev-python/pyquery/pyquery-1.4.3.ebuild new file mode 100644 index 00000000000..cbc62b48fde --- /dev/null +++ b/dev-python/pyquery/pyquery-1.4.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A jQuery-like library for python" +HOMEPAGE="https://github.com/gawel/pyquery" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/lxml-2.1[${PYTHON_USEDEP}] + >dev-python/cssselect-0.7.9[${PYTHON_USEDEP}] + >=dev-python/webob-1.1.9[${PYTHON_USEDEP}]" +DEPEND=" + test? ( ${RDEPEND} + dev-python/beautifulsoup[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + )" + +RESTRICT+=" !test? ( test )" + +PATCHES=( + "${FILESDIR}/pyquery-1.4.1-network-tests.patch" + "${FILESDIR}/pyquery-1.4.1-tests-pypy.patch" +) + +python_test() { + # The suite, it appears, requires this hard setting of PYTHONPATH! + PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup +}