diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/cssselect | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/cssselect')
-rw-r--r-- | dev-python/cssselect/Manifest | 7 | ||||
-rw-r--r-- | dev-python/cssselect/cssselect-0.9.1.ebuild | 45 | ||||
-rw-r--r-- | dev-python/cssselect/cssselect-1.0.1.ebuild | 50 | ||||
-rw-r--r-- | dev-python/cssselect/cssselect-1.0.3.ebuild | 47 | ||||
-rw-r--r-- | dev-python/cssselect/metadata.xml | 11 |
5 files changed, 160 insertions, 0 deletions
diff --git a/dev-python/cssselect/Manifest b/dev-python/cssselect/Manifest new file mode 100644 index 000000000000..888f1af101c6 --- /dev/null +++ b/dev-python/cssselect/Manifest @@ -0,0 +1,7 @@ +DIST cssselect-0.9.1.tar.gz 32952 BLAKE2B 7f7a78e8085036bed72c2a1a0e4a97cd1988e8d6981ae830f15d5fc03f5fdd43f0caa7b94d2923181f9dc926a6a11e970b3f091178640124286aa680fa023aaf SHA512 c4cd2c8d6fbfa99b836554685dd59e1e794e1fab06fcf4419a226b0608a05d58be5af54e507003f2a233a22f03d59d3d63c0bf19b3314f15c95ab3ce5f4db6cc +DIST cssselect-1.0.1.tar.gz 21849 BLAKE2B cfe3637746329db224a44b680cda044238fa831ed0d05cf3484be6181de13bf8660330362626ddc03c7284a80e7c4a814bba293dfdca07a529d9c0c7163c95d2 SHA512 060c4b8d427a935b851b4b20d10ef89b9d6f685692b7144afc8f848e318abaa182ed60538355ea3f25050e358f24904fa0d9c01fe77e3d2428e2ef2a825e2928 +DIST cssselect-1.0.3.tar.gz 34027 BLAKE2B fff15a50d26ce83a0480020e54d00a027a7f21ca2c4c45d5552c6b4c19f7be21c390650c4befa61b7ae2b63946de88945deb488ebd6c7f7fc470950dab233671 SHA512 08feb3a515cc75089657a508cd1a80c6aaa97d710f27e99f9e749a1519adc13c5540134c6a4e0d7f548b022b8bd23dcbe360530d2329c5da36e43aca1f9627d1 +EBUILD cssselect-0.9.1.ebuild 1125 BLAKE2B 92c022259385d1eeb53ee73c149bea0bde95cdfa13e8175de8ed6bcc7e378eab4e09ff524dd74611f9849c90070396608e88df1bc6330d3d7c4feae2adc2af6f SHA512 09d5eaefd9d9ffee00ee7f1f9815f47af4afc8daf47c6a521e4686a8f92d7ed50a2e501ee7d613f9925d48db624799b3adec9fb12c6e105d253efd9fe65d4991 +EBUILD cssselect-1.0.1.ebuild 1263 BLAKE2B 0ce1bba2b3928b61caaddb79351e77b272092411686ba9b86e3c168381450122a0494b9c44cd77ca584f98841b400b7f276a84fc07dbdef1627b11aa4151dd32 SHA512 c984e52bb1980fdd88aeafd1947e043d80fe29b2e4da1847cb24faa4513e69f5117aaa79c04037668a0e907a0e3f8bde6603561cceb93b70011feee30e00f00d +EBUILD cssselect-1.0.3.ebuild 1217 BLAKE2B d77b250c27086fa8aaace537bad033a0dcebc87df79040dd8a592ede72191f74889d0b2a3277644a37a9f3169ddcbd05ea73fbf62a2c194e12d5771c4c0723b0 SHA512 d6f33906f5eb433f1f8af7acd53fe457825399063080ec2337933426e470da40e3e5a11a576c9860bec3c68da081b0e0bee51c58a92ea5c633d2a6deb9103168 +MISC metadata.xml 322 BLAKE2B 2ec56f6e5522f780aef1a27df29af54f7169cedf727e4698c0c3764002501a06e52db5a94901d795d75f792ae2e8eb7d82625f88e2069453c2ff4190352aa7c9 SHA512 9933f17432e27a6a708ad4c9ec1e5f65197c4c0048fe2deadf3ba66d878f98510e150dfdb83cf935294a529e505b261808b33503f5d6acb622ae1821e065d798 diff --git a/dev-python/cssselect/cssselect-0.9.1.ebuild b/dev-python/cssselect/cssselect-0.9.1.ebuild new file mode 100644 index 000000000000..1be081ee37f6 --- /dev/null +++ b/dev-python/cssselect/cssselect-0.9.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE="https://cssselect.readthedocs.io/en/latest/ + https://pypi.org/project/cssselect/" +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 ~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 +} 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..39d82d54ef59 --- /dev/null +++ b/dev-python/cssselect/cssselect-1.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE="https://cssselect.readthedocs.io/en/latest/ + https://pypi.org/project/cssselect/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-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 +} diff --git a/dev-python/cssselect/cssselect-1.0.3.ebuild b/dev-python/cssselect/cssselect-1.0.3.ebuild new file mode 100644 index 000000000000..6747eb5c3925 --- /dev/null +++ b/dev-python/cssselect/cssselect-1.0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE="https://cssselect.readthedocs.io/en/latest/ + https://pypi.org/project/cssselect/ + https://github.com/scrapy/cssselect" +SRC_URI="https://github.com/scrapy/cssselect/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-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 + esetup.py build_sphinx + fi +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/cssselect/metadata.xml b/dev-python/cssselect/metadata.xml new file mode 100644 index 000000000000..702fdf02b1a8 --- /dev/null +++ b/dev-python/cssselect/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">cssselect</remote-id> + </upstream> +</pkgmetadata> |