summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-23 03:34:32 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-23 04:37:47 +0100
commit273febc078e137ca7d844e42004c82a6326e739f (patch)
treeabec38b08b3f52cc1f4a6c832805f11c2d3faa8f /dev-python/cssselect
parentsci-geosciences/qgis: Depend on x11-libs/qwtpolar[qt4] (diff)
downloadgentoo-273febc078e137ca7d844e42004c82a6326e739f.tar.gz
gentoo-273febc078e137ca7d844e42004c82a6326e739f.tar.bz2
gentoo-273febc078e137ca7d844e42004c82a6326e739f.zip
dev-python/cssselect: Bump to version 1.0.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/cssselect')
-rw-r--r--dev-python/cssselect/Manifest1
-rw-r--r--dev-python/cssselect/cssselect-1.0.1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/cssselect/Manifest b/dev-python/cssselect/Manifest
index 70f90e6f6ae1..e2b5850ce3d3 100644
--- a/dev-python/cssselect/Manifest
+++ b/dev-python/cssselect/Manifest
@@ -1,3 +1,4 @@
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
DIST cssselect-1.0.0.tar.gz 22278 SHA256 582a85780249255707872c31d0438fc457aa24cfb43e472ff8f3e7ad6857953f SHA512 59b8ed898a2f5286f3d1be5b9bf2486f0b0cc372271d34098dbbc95696eb951bbb52e53810f9e20f0aab8e2a26c4eaf1905e1604f85287965bd4d105bb4b71fb WHIRLPOOL bcec8e04fa428c0ba54c0738d1864ff8128a65253777e5786a756b720c9a7087ff6eebab5cd48a695b2b2fc0ae9405330b4a1820dc2f4f1c926288f85d2ac7c1
+DIST cssselect-1.0.1.tar.gz 21849 SHA256 73db1c054b9348409e2862fc6c0dde5c4e4fbe4da64c5c5a9e05fbea45744077 SHA512 060c4b8d427a935b851b4b20d10ef89b9d6f685692b7144afc8f848e318abaa182ed60538355ea3f25050e358f24904fa0d9c01fe77e3d2428e2ef2a825e2928 WHIRLPOOL e89bcbbd08ed35490d9e79e8d6f5c290e4a9e73dc7cdc2217324fb06e1e1bdc18a16c08dbbe8ca4407c0eb77b4c74ff3fbabf9b3307b94b66aae421d33ef8e29
diff --git a/dev-python/cssselect/cssselect-1.0.1.ebuild b/dev-python/cssselect/cssselect-1.0.1.ebuild
new file mode 100644
index 000000000000..7e767c1f6c82
--- /dev/null
+++ b/dev-python/cssselect/cssselect-1.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{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"
+
+# No tests.py file in this release.
+# Please check on version bumps if it's still missing.
+RESTRICT="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
+}