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 80C221382DE for ; Wed, 29 Jun 2016 18:19:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C66CDE0912; Wed, 29 Jun 2016 18:19:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 010DAE08F8 for ; Wed, 29 Jun 2016 18:19:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D634340E12 for ; Wed, 29 Jun 2016 18:19:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51142243D for ; Wed, 29 Jun 2016 18:18:58 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1467224304.6502d44346a2ed4c29c6b64c9b634e67e5025802.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cssselect/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cssselect/Manifest dev-python/cssselect/cssselect-0.9.2.ebuild X-VCS-Directories: dev-python/cssselect/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 6502d44346a2ed4c29c6b64c9b634e67e5025802 X-VCS-Branch: master Date: Wed, 29 Jun 2016 18:18:58 +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-Archives-Salt: 4ab90ff6-a72a-43de-8cdf-dbeb4c9a44e9 X-Archives-Hash: 0844f9423e4890edce5b506ecc2efbad commit: 6502d44346a2ed4c29c6b64c9b634e67e5025802 Author: Patrick Lauer gentoo org> AuthorDate: Wed Jun 29 18:07:11 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Wed Jun 29 18:18:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6502d443 dev-python/cssselect: Bump Package-Manager: portage-2.3.0 dev-python/cssselect/Manifest | 1 + dev-python/cssselect/cssselect-0.9.2.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/cssselect/Manifest b/dev-python/cssselect/Manifest index b12618b..5f8a244 100644 --- a/dev-python/cssselect/Manifest +++ b/dev-python/cssselect/Manifest @@ -1 +1,2 @@ DIST cssselect-0.9.1.tar.gz 32952 SHA256 0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682 SHA512 c4cd2c8d6fbfa99b836554685dd59e1e794e1fab06fcf4419a226b0608a05d58be5af54e507003f2a233a22f03d59d3d63c0bf19b3314f15c95ab3ce5f4db6cc WHIRLPOOL 0fabe49d4f504069eb782ba98c93a34fa9433fd4d10a545f46f5aa1a5fb3a898580f4e17d744052590e18fe7a0f06feca0527d86ac243282e826caddfb410324 +DIST cssselect-0.9.2.tar.gz 33065 SHA256 713b5b99ef08022257b3409c7ae1b18b2c6536b3f155e6237c5cfba0f67ae6f5 SHA512 313965d3a0ad37b24d72d6faf861c04e7af7e4ff06f58450a23585c45bd9f247e565a4b7d594c008d40625601c2b8e76919801b3d77cfd62c7edc20cf366c1f9 WHIRLPOOL 90907b0cbc799d9e7f00ea366a24101fa4ff84786add028a035a355b4e8ce2073da82dfc4bc3a8e9a058341e117887e5ea1bac0e3b4befd8ac5df1bbbb21a2ca diff --git a/dev-python/cssselect/cssselect-0.9.2.ebuild b/dev-python/cssselect/cssselect-0.9.2.ebuild new file mode 100644 index 0000000..ce7cfbc --- /dev/null +++ b/dev-python/cssselect/cssselect-0.9.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE="http://packages.python.org/cssselect/ https://pypi.python.org/pypi/cssselect" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/lxml[${PYTHON_USEDEP}] )" +RDEPEND="" + +python_prepare_all() { + # prevent non essential d'load of files in doc build + sed -e 's:intersphinx_:#&:' -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc ; then + "${PYTHON}" setup.py build_sphinx || die + fi +} + +python_test() { + "${PYTHON}" ${PN}/tests.py -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}