From eaf05268ff787cb55f00670568c499409f97d803 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Wed, 5 Aug 2020 19:02:10 +0000 Subject: Updating liguros repo --- dev-python/scrapy/Manifest | 2 +- dev-python/scrapy/scrapy-2.2.0.ebuild | 88 ----------------------------------- dev-python/scrapy/scrapy-2.3.0.ebuild | 88 +++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 89 deletions(-) delete mode 100644 dev-python/scrapy/scrapy-2.2.0.ebuild create mode 100644 dev-python/scrapy/scrapy-2.3.0.ebuild (limited to 'dev-python/scrapy') diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index 3ba4e5b0a47d..bc6283f1b8bc 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1,2 +1,2 @@ -DIST scrapy-2.2.0.tar.gz 1213914 BLAKE2B 4584fb86f8f2583b5c4d6652b6329ec8dc2d9685776a64a1f998e5e1431b1510c0c63f74de822cc8e67228657085da5009b7145288213b9f2481c24ad51d7a40 SHA512 d5530b37942a0de23e39c442c44d6788bf78a4f316b97e76cb120cabc5c36e097c838f67aaaf307460a3aed9907aa6832f16d476494722e653eb81068f92aa27 DIST scrapy-2.2.1.tar.gz 1214959 BLAKE2B 19ecc4a7d45727330de2a426d93295b10717ee533dfcb487ffd280bf74a2c860ded33af9a6e8b20880819aa2218caa5a521c3d61b672bf57e36cba0cfe5b3c8a SHA512 4bc7ed321f6b33f0cf9f2344d59bf0ed7724abc79104e0d06c0d7d198aa5a7be6b50a5e5d1a1dcf62c6ce4ab35190ee1edf3ee0c0959180d2233a8ff0567763b +DIST scrapy-2.3.0.tar.gz 1219150 BLAKE2B ef8e06d604a16ed7f23bf198a010eb626b7d2f84da4401051adc3eda16debbcd6a093eea188e97c5a2ca542612547a2f1c8fad096f7a767faf4aafe288714544 SHA512 be1cc2b62d08b87989a1f33132223deabebb62cc126611d5473425fca46de88f95ad049ce9fb4195eaac57dbfaeb1a49f933fd3211ae602c9c43aea68ec49999 diff --git a/dev-python/scrapy/scrapy-2.2.0.ebuild b/dev-python/scrapy/scrapy-2.2.0.ebuild deleted file mode 100644 index 88e164745ecd..000000000000 --- a/dev-python/scrapy/scrapy-2.2.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2020 by Liguros authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="A high-level Web Crawling and Web Scraping framework" -HOMEPAGE="https://scrapy.org/" -SRC_URI="https://github.com/scrapy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - - -KEYWORDS="~amd64 ~x86" -LICENSE="BSD-2" -SLOT="0" -IUSE="boto doc ibl -test ssl" - -RDEPEND=" - >=dev-python/six-1.5.2[${PYTHON_USEDEP}] - dev-libs/libxml2[python,${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - >=dev-python/parsel-1.5[${PYTHON_USEDEP}] - >=dev-python/lxml-3.4[${PYTHON_USEDEP}] - >=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] - ibl? ( dev-python/numpy[${PYTHON_USEDEP}] ) - ssl? ( - >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - ) - boto? ( dev-python/boto3[${PYTHON_USEDEP}] ) - >=dev-python/twisted-17.9[${PYTHON_USEDEP}] - >=dev-python/w3lib-1.17.0[${PYTHON_USEDEP}] - >=dev-python/queuelib-1.1.1[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.9[${PYTHON_USEDEP}] - >=dev-python/six-1.5.2[${PYTHON_USEDEP}] - dev-python/service_identity[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7) - " - -DEPEND=" - ${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/mock[${PYTHON_USEDEP}] - =net-proxy/mitmproxy-0.10.1[${PYTHON_USEDEP}] - =dev-python/netlib-0.10.1[${PYTHON_USEDEP}] - dev-python/jmespath[${PYTHON_USEDEP}] - dev-python/testfixtures[${PYTHON_USEDEP}] - net-ftp/vsftpd - ) -" - -# pytest-twisted listed as a test dep but not in portage. -# Testsuite currently survives without it, so appears optional - -REQUIRED_USE="test? ( ssl boto )" - -python_prepare_all() { - sed -e "s/PyDispatcher/PyPyDispatcher/g" -i setup.py || die - - # https://github.com/scrapy/scrapy/issues/1464 - # Disable failing tests known to pass according to upstream - # Awaiting a fix planned by package owner. - sed -e 's:test_https_connect_tunnel:_&:' \ - -e 's:test_https_connect_tunnel_error:_&:' \ - -e 's:test_https_tunnel_auth_error:_&:' \ - -e 's:test_https_tunnel_without_leak_proxy_authorization_header:_&:' \ - -i tests/test_proxy_connect.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - PYTHONPATH="${S}" emake -C docs html || die "emake html failed" - fi -} - -python_test() { - py.test ${PN} tests || die "tests failed" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/scrapy/scrapy-2.3.0.ebuild b/dev-python/scrapy/scrapy-2.3.0.ebuild new file mode 100644 index 000000000000..88e164745ecd --- /dev/null +++ b/dev-python/scrapy/scrapy-2.3.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 2020 by Liguros authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A high-level Web Crawling and Web Scraping framework" +HOMEPAGE="https://scrapy.org/" +SRC_URI="https://github.com/scrapy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + + +KEYWORDS="~amd64 ~x86" +LICENSE="BSD-2" +SLOT="0" +IUSE="boto doc ibl -test ssl" + +RDEPEND=" + >=dev-python/six-1.5.2[${PYTHON_USEDEP}] + dev-libs/libxml2[python,${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + >=dev-python/parsel-1.5[${PYTHON_USEDEP}] + >=dev-python/lxml-3.4[${PYTHON_USEDEP}] + >=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] + ibl? ( dev-python/numpy[${PYTHON_USEDEP}] ) + ssl? ( + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + ) + boto? ( dev-python/boto3[${PYTHON_USEDEP}] ) + >=dev-python/twisted-17.9[${PYTHON_USEDEP}] + >=dev-python/w3lib-1.17.0[${PYTHON_USEDEP}] + >=dev-python/queuelib-1.1.1[${PYTHON_USEDEP}] + >=dev-python/cssselect-0.9[${PYTHON_USEDEP}] + >=dev-python/six-1.5.2[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7) + " + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + =net-proxy/mitmproxy-0.10.1[${PYTHON_USEDEP}] + =dev-python/netlib-0.10.1[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + net-ftp/vsftpd + ) +" + +# pytest-twisted listed as a test dep but not in portage. +# Testsuite currently survives without it, so appears optional + +REQUIRED_USE="test? ( ssl boto )" + +python_prepare_all() { + sed -e "s/PyDispatcher/PyPyDispatcher/g" -i setup.py || die + + # https://github.com/scrapy/scrapy/issues/1464 + # Disable failing tests known to pass according to upstream + # Awaiting a fix planned by package owner. + sed -e 's:test_https_connect_tunnel:_&:' \ + -e 's:test_https_connect_tunnel_error:_&:' \ + -e 's:test_https_tunnel_auth_error:_&:' \ + -e 's:test_https_tunnel_without_leak_proxy_authorization_header:_&:' \ + -i tests/test_proxy_connect.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + PYTHONPATH="${S}" emake -C docs html || die "emake html failed" + fi +} + +python_test() { + py.test ${PN} tests || die "tests failed" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all +} -- cgit v1.3.1