public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyquery/
Date: Fri,  9 Nov 2018 14:20:57 +0000 (UTC)	[thread overview]
Message-ID: <1541773201.0218c09c322860a53f61b4886cd361a74d4132dc.alexxy@gentoo> (raw)

commit:     0218c09c322860a53f61b4886cd361a74d4132dc
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  9 14:04:54 2018 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Nov  9 14:20:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0218c09c

dev-python/pyquery: py3_7 + eapi7

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 dev-python/pyquery/pyquery-1.2.13-r1.ebuild | 45 +++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/dev-python/pyquery/pyquery-1.2.13-r1.ebuild b/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
new file mode 100644
index 00000000000..f3d235eb312
--- /dev/null
+++ b/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit distutils-r1 eutils
+
+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 ~ppc64 ~s390 ~sh ~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="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( ${RDEPEND}
+		dev-python/beautifulsoup[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/webtest[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' 'python2_7') )"
+
+python_prepare_all() {
+	# Disable tests needing a network connection
+	sed -i -e "s/HAS_REQUEST = True/HAS_REQUEST = False/" tests/test_pyquery.py || die
+	distutils-r1_python_prepare_all
+}
+
+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
+}


             reply	other threads:[~2018-11-09 14:21 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09 14:20 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 10:52 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyquery/ Michał Górny
2024-09-28 10:48 Arthur Zamarin
2024-08-31  6:55 Michał Górny
2024-08-26 18:54 Arthur Zamarin
2024-08-13 20:41 Michał Górny
2024-07-11 21:39 James Le Cuirot
2024-06-15 13:14 Michał Górny
2024-06-15  8:15 Michał Górny
2023-07-31  7:13 Michał Górny
2023-05-29 15:03 Sam James
2023-02-16 17:22 Arthur Zamarin
2022-12-28 19:11 Arthur Zamarin
2022-06-16 11:24 Michał Górny
2022-06-16  9:33 Jakov Smolić
2022-05-17  7:21 Michał Górny
2022-05-17  7:21 Michał Górny
2021-09-01 12:59 Marek Szuba
2021-05-30 19:45 Michał Górny
2020-12-31  8:54 Michał Górny
2020-12-31  1:20 Sam James
2020-11-28 15:36 Sam James
2020-11-28 15:36 Sam James
2020-11-21 20:54 Michał Górny
2020-07-25  8:31 Michał Górny
2020-07-14 13:19 Sam James
2020-07-02 17:05 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-26 18:32 Michał Górny
2020-05-18 10:57 Michał Górny
2020-03-25 15:42 Agostino Sarubbo
2020-03-25 15:27 Agostino Sarubbo
2020-03-25 12:36 Agostino Sarubbo
2020-03-25 12:23 Agostino Sarubbo
2019-06-05  7:28 Agostino Sarubbo
2019-04-28 13:03 Sergei Trofimovich
2019-04-17 12:21 Mikle Kolyada
2019-04-13  7:38 Sergei Trofimovich
2019-03-16 14:01 Mikle Kolyada
2019-03-15 23:19 Mikle Kolyada
2019-03-03  5:45 Mikle Kolyada
2019-03-02 23:42 Thomas Deutschmann
2018-12-31 10:13 Mikle Kolyada
2017-07-16 17:23 Alexis Ballier
2017-05-19 14:01 Manuel Rüger
2017-05-03  6:15 Michał Górny
2017-02-24 18:02 Markus Meier
2017-02-02 18:43 David Seifert
2017-01-27 13:42 Tobias Klausmann
2017-01-23 16:27 Agostino Sarubbo
2017-01-19 10:59 Agostino Sarubbo
2017-01-18 16:52 Agostino Sarubbo
2016-10-28  1:35 Mike Gilbert
2016-05-11 14:09 Patrick Lauer
2016-03-26  2:07 Matt Thode
2016-02-19 13:02 Patrick Lauer
2015-11-18 15:40 Justin Lecher
2015-10-14 15:52 Justin Lecher
2015-09-25 11:46 Justin Lecher
2015-09-25 10:07 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541773201.0218c09c322860a53f61b4886cd361a74d4132dc.alexxy@gentoo \
    --to=alexxy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox