[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: a34b4f77e0567f61197feba15f52a132a1064cf0 Author: Ian Delaney gentoo org> AuthorDate: Mon Aug 31 15:40:19 2015 + Commit: Ian Delaney gentoo org> CommitDate: Mon Aug 31 15:40:19 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34b4f77 dev-python/scrapy: bump; update and tidy deps update test phase to run full testsuite, disable failing tests while upstream makes a fix, remove old Package-Manager: portage-2.2.20 dev-python/scrapy/Manifest | 3 +- dev-python/scrapy/scrapy-0.25.1.ebuild | 65 -- .../{scrapy-1.0.0.ebuild => scrapy-1.0.3.ebuild} | 39 + 3 files changed, 28 insertions(+), 79 deletions(-) diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index 1856c80..ca5d0ae 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1,3 +1,2 @@ -DIST scrapy-0.25.1.tar.gz 986555 SHA256 11e6496b7196239f395c977c432667466cdef6984dff164337bca7aa37049ed5 SHA512 7c1afbf942c06ab6a849fe609ad8d582de5d42041181bb22b2388bfe13ce23438c3c6ce936953f819e4b897aadbf682cc04f8cd0805f44157b10a583c668f924 WHIRLPOOL 692f0e11065d9b149d7bdcdd9414d718f05986767a5cd3632ad3f5db23904b42a5af5609468f2bc321f827d6e3352eb0ce36cb797d68228c608ae8fa57f940c4 -DIST scrapy-1.0.0.tar.gz 1006570 SHA256 3ae419f876902e376abe6de207f91ea383ce1e385d21784965a90617985fb1d6 SHA512 72bd686da3e4d789ca51b5f90f726ece678f64dcbfe7f25cd2c377536ece9ec8c9cf49fc018ef383a910f190a32e46e7894fd165d34e191249f7bd9ae018499f WHIRLPOOL f9b26256c0d0b0ba4d088538b3f6d967eb6f0294312da61adc2d2a790bc4851555f019b1e139f7c3a83b4922065593a41606f155d9b953ded2124e551af2d194 DIST scrapy-1.0.1.tar.gz 1006619 SHA256 713ffd19616057d10addea2cba92cb6eee1642f59c803942b029cd02baa1be37 SHA512 99a6c99816c94c936c87c3f282bcc3866786b4d1adc57e00c8812c3761ef05279f0ded6746d3fdc947496549d22090f59a22392b207d56b24ca537b0e1e30372 WHIRLPOOL 3e3aef1d5416c009903a6a37df5e3f33237a50555a6dd09bde4ed6fe303473f1ef44501a04754f3d1ab2fe61668c6f7f56d507a77d89060b6fca7054f05af65c +DIST scrapy-1.0.3.tar.gz 1006911 SHA256 725eb5906b35076ad112b1b0ac27c68dd684e72514eddf95bc7ace64c04b2bb2 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0 WHIRLPOOL 0dee3a82a0368f50420d484252d5d138c8a3bf8257715dad5d74419a7a852ef5d21aef5b52e9959f8f08d7dcdd58988221faff38d9a8d530406cfb83fbb031f9 diff --git a/dev-python/scrapy/scrapy-0.25.1.ebuild b/dev-python/scrapy/scrapy-0.25.1.ebuild deleted file mode 100644 index eb5cd99..000 --- a/dev-python/scrapy/scrapy-0.25.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite(+)" - -inherit vcs-snapshot distutils-r1 - -DESCRIPTION="A high-level Python Screen Scraping framework" -HOMEPAGE="http://scrapy.org https://pypi.python.org/pypi/Scrapy/"; -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="boto doc ibl test ssl" - -RDEPEND=">=dev-python/six-1.5.2[${PYTHON_USEDEP}] - dev-libs/libxml2[python,${PYTHON_USEDEP}] - virtual/python-imaging[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - ibl? ( dev-python/numpy[${PYTHON_USEDEP}] ) - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) - boto? ( dev-python/boto[${PYTHON_USEDEP}] ) - >=dev-python/twisted-core-10.0.0[${PYTHON_USEDEP}] - >=dev-python/twisted-conch-10.0.0[${PYTHON_USEDEP}] - >=dev-python/twisted-mail-10.0.0[${PYTHON_USEDEP}] - >=dev-python/twisted-web-10.0.0[${PYTHON_USEDEP}] - >=dev-python/w3lib-1.6[${PYTHON_USEDEP}] - dev-python/queuelib[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.9[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} - dev-python/boto[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=net-proxy/mitmproxy-0.10[${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 )" - -PATCHES=( "${FILESDIR}"/${PV}-setup.patch ) - -python_compile_all() { - if use doc; then - PYTHONPATH="${S}" emake -C docs html || die "emake html failed" - fi -} - -python_test() { - py.test ${PN} || 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-1.0.0.ebuild b/
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: 62cd704e03c879bd581dfb4f4ca0880c6821cd64 Author: Michał Górny gentoo org> AuthorDate: Tue May 2 17:16:03 2017 + Commit: Michał Górny gentoo org> CommitDate: Tue May 2 17:43:35 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62cd704e dev-python/scrapy: Clean old versions up dev-python/scrapy/Manifest| 1 - dev-python/scrapy/scrapy-1.0.1.ebuild | 63 --- 2 files changed, 64 deletions(-) diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index ca5d0ae66b0..2ed4b1c6d18 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1,2 +1 @@ -DIST scrapy-1.0.1.tar.gz 1006619 SHA256 713ffd19616057d10addea2cba92cb6eee1642f59c803942b029cd02baa1be37 SHA512 99a6c99816c94c936c87c3f282bcc3866786b4d1adc57e00c8812c3761ef05279f0ded6746d3fdc947496549d22090f59a22392b207d56b24ca537b0e1e30372 WHIRLPOOL 3e3aef1d5416c009903a6a37df5e3f33237a50555a6dd09bde4ed6fe303473f1ef44501a04754f3d1ab2fe61668c6f7f56d507a77d89060b6fca7054f05af65c DIST scrapy-1.0.3.tar.gz 1006911 SHA256 725eb5906b35076ad112b1b0ac27c68dd684e72514eddf95bc7ace64c04b2bb2 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0 WHIRLPOOL 0dee3a82a0368f50420d484252d5d138c8a3bf8257715dad5d74419a7a852ef5d21aef5b52e9959f8f08d7dcdd58988221faff38d9a8d530406cfb83fbb031f9 diff --git a/dev-python/scrapy/scrapy-1.0.1.ebuild b/dev-python/scrapy/scrapy-1.0.1.ebuild deleted file mode 100644 index 2764804d030..000 --- a/dev-python/scrapy/scrapy-1.0.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite(+)" - -inherit vcs-snapshot distutils-r1 - -DESCRIPTION="A high-level Python Screen Scraping framework" -HOMEPAGE="http://scrapy.org https://pypi.python.org/pypi/Scrapy/"; -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -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/lxml[${PYTHON_USEDEP}] - ibl? ( dev-python/numpy[${PYTHON_USEDEP}] ) - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) - boto? ( dev-python/boto[${PYTHON_USEDEP}] ) - >=dev-python/twisted-core-10.0.0[${PYTHON_USEDEP}] - >=dev-python/twisted-conch-10.0.0[${PYTHON_USEDEP}] - >=dev-python/twisted-mail-10.0.0[${PYTHON_USEDEP}] - >=dev-python/twisted-web-10.0.0[${PYTHON_USEDEP}] - >=dev-python/w3lib-1.8.0[${PYTHON_USEDEP}] - dev-python/queuelib[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.9[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} - dev-python/boto[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=net-proxy/mitmproxy-0.10.1[${PYTHON_USEDEP}] - dev-python/netlib[${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_compile_all() { - if use doc; then - PYTHONPATH="${S}" emake -C docs html || die "emake html failed" - fi -} - -python_test() { - py.test ${PN} || die "tests failed" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: d1268374755277dfe0323d5cdef9e2b4f6234fd6 Author: Bob Brooks cool fr nf> AuthorDate: Mon Oct 23 17:31:24 2017 + Commit: Patrice Clement gentoo org> CommitDate: Sat Oct 28 13:40:44 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1268374 dev-python/scrapy: version bump to 1.4.0. Bug: https://bugs.gentoo.org/626550 Closes: https://github.com/gentoo/gentoo/pull/6029 dev-python/scrapy/Manifest| 1 + dev-python/scrapy/scrapy-1.4.0.ebuild | 80 +++ 2 files changed, 81 insertions(+) diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index 2ed4b1c6d18..c20621c106f 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1 +1,2 @@ DIST scrapy-1.0.3.tar.gz 1006911 SHA256 725eb5906b35076ad112b1b0ac27c68dd684e72514eddf95bc7ace64c04b2bb2 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0 WHIRLPOOL 0dee3a82a0368f50420d484252d5d138c8a3bf8257715dad5d74419a7a852ef5d21aef5b52e9959f8f08d7dcdd58988221faff38d9a8d530406cfb83fbb031f9 +DIST scrapy-1.4.0.tar.gz 1114816 SHA256 7889790a5684ffeafe4389dd819e0e700ea34cf067bd36a06c2e05ad4adc7b03 SHA512 1442cae1a26b5c7c8c27998ec6ef9ab374111221180a5933d53aff0c7aeb31102882c387581c1455c1dd246e11f0c0f5ab5989a21037204e5314054e303f7312 WHIRLPOOL 32e7fa565716657072faa817de7e9f1d01e2599dcb3861664ea960097dc78b7bc5bf3a410703eb4ad6995ded3568c2e394b4b8201ed84751cc1ecc88c8ad73a2 diff --git a/dev-python/scrapy/scrapy-1.4.0.ebuild b/dev-python/scrapy/scrapy-1.4.0.ebuild new file mode 100644 index 000..e26e409f3d1 --- /dev/null +++ b/dev-python/scrapy/scrapy-1.4.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite(+)" + +inherit distutils-r1 + +DESCRIPTION="A high-level Python Screen Scraping framework" +HOMEPAGE="https://github.com/scrapy/scrapy/ https://pypi.python.org/pypi/Scrapy/"; +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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.1.0[${PYTHON_USEDEP}] + >=dev-python/lxml-3.4[${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-14.0[${PYTHON_USEDEP}] + >=dev-python/w3lib-1.8.0[${PYTHON_USEDEP}] + dev-python/queuelib[${PYTHON_USEDEP}] + >=dev-python/cssselect-0.9[${PYTHON_USEDEP}] + >=dev-python/six-1.5.2[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + " +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( ${RDEPEND} + 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() { + # 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: bcf0561b26a10986928d38794a35e32b5d2105e2 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Jul 24 19:51:16 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Jul 24 19:51:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf0561b dev-python/scrapy: Fix typo(s) in USE flag description. Package-Manager: portage-2.3.0 dev-python/scrapy/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/scrapy/metadata.xml b/dev-python/scrapy/metadata.xml index f8f8a63..dfa2115 100644 --- a/dev-python/scrapy/metadata.xml +++ b/dev-python/scrapy/metadata.xml @@ -10,7 +10,7 @@ Add support for Amazon S3 via dev-python/boto -Use Instace Based Learning alrogirithm for automatic extraction +Use Instace Based Learning algorithm for automatic extraction scrapy/scrapy
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: 2f5bf2f6fdc27560be6fc0fb1119717ee9a2c68f Author: Virgil Dupras gentoo org> AuthorDate: Thu Sep 27 13:06:03 2018 + Commit: Virgil Dupras gentoo org> CommitDate: Thu Sep 27 13:06:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5bf2f6 dev-python/scrapy: remove last-rited package Bug: https://bugs.gentoo.org/626550 Signed-off-by: Virgil Dupras gentoo.org> dev-python/scrapy/Manifest| 1 - dev-python/scrapy/metadata.xml| 18 dev-python/scrapy/scrapy-1.0.3.ebuild | 79 --- 3 files changed, 98 deletions(-) diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest deleted file mode 100644 index bfb8e60f4f1..000 --- a/dev-python/scrapy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST scrapy-1.0.3.tar.gz 1006911 BLAKE2B 19f53eb9580c383dd92852f3d270b7c031d3f67dae56dea73d3be346b5b39ed7d63ca345425c48466080e84d2ee82f08f9e46140d65c1b57fc22672897fc0b98 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0 diff --git a/dev-python/scrapy/metadata.xml b/dev-python/scrapy/metadata.xml deleted file mode 100644 index dfa2115e8ff..000 --- a/dev-python/scrapy/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd";> - - -maksbo...@gentoo.org - - -pyt...@gentoo.org -Python - - -Add support for Amazon S3 via dev-python/boto -Use Instace Based Learning algorithm for automatic extraction - - -scrapy/scrapy - - diff --git a/dev-python/scrapy/scrapy-1.0.3.ebuild b/dev-python/scrapy/scrapy-1.0.3.ebuild deleted file mode 100644 index c919bbb9c14..000 --- a/dev-python/scrapy/scrapy-1.0.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite(+)" - -inherit vcs-snapshot distutils-r1 - -DESCRIPTION="A high-level Python Screen Scraping framework" -HOMEPAGE="https://github.com/scrapy/scrapy/ - https://pypi.org/project/Scrapy/"; -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -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/lxml[${PYTHON_USEDEP}] - ibl? ( dev-python/numpy[${PYTHON_USEDEP}] ) - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) - boto? ( dev-python/boto[${PYTHON_USEDEP}] ) - dev-python/twisted-core[${PYTHON_USEDEP}] - dev-python/twisted-conch[${PYTHON_USEDEP}] - dev-python/twisted-mail[${PYTHON_USEDEP}] - dev-python/twisted-web[${PYTHON_USEDEP}] - >=dev-python/w3lib-1.8.0[${PYTHON_USEDEP}] - dev-python/queuelib[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.9[${PYTHON_USEDEP}] - >=dev-python/six-1.5.2[${PYTHON_USEDEP}] - dev-python/service_identity[${PYTHON_USEDEP}] - " -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} - 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() { - # 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: bc7d04a381c2f5b3195f0317e694c288ce72b986 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 26 09:25:51 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 26 09:25:51 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7d04a3 dev-python/scrapy: Revert "version bump to 1.4.0." The version bump had missing dependencies which were not fixed since it was merged. Bug: https://bugs.gentoo.org/626550 dev-python/scrapy/Manifest| 1 - dev-python/scrapy/scrapy-1.4.0.ebuild | 81 --- 2 files changed, 82 deletions(-) diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index 9b05991ab89..bfb8e60f4f1 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1,2 +1 @@ DIST scrapy-1.0.3.tar.gz 1006911 BLAKE2B 19f53eb9580c383dd92852f3d270b7c031d3f67dae56dea73d3be346b5b39ed7d63ca345425c48466080e84d2ee82f08f9e46140d65c1b57fc22672897fc0b98 SHA512 bf61d449d7309de0ebdc36c73371d01518ee5cfa5d4ac1b68ee42389466ee15dba82690dbc885aa6bc1b9fe0b2e29a03fb3a3af3889842e1039e3a81749fc0c0 -DIST scrapy-1.4.0.tar.gz 1114816 BLAKE2B 4ab32584c46cc7cae02d231b536a6e5620202e28a57ecfc370aa627419c38e8a2036f3cf67e42f85a76baf8e5b098b8e9e953f0cf9d88fd889b3a510b9258c1d SHA512 1442cae1a26b5c7c8c27998ec6ef9ab374111221180a5933d53aff0c7aeb31102882c387581c1455c1dd246e11f0c0f5ab5989a21037204e5314054e303f7312 diff --git a/dev-python/scrapy/scrapy-1.4.0.ebuild b/dev-python/scrapy/scrapy-1.4.0.ebuild deleted file mode 100644 index ba726b0ccde..000 --- a/dev-python/scrapy/scrapy-1.4.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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} ) -PYTHON_REQ_USE="sqlite(+)" - -inherit distutils-r1 - -DESCRIPTION="A high-level Python Screen Scraping framework" -HOMEPAGE="https://github.com/scrapy/scrapy/ - https://pypi.org/project/Scrapy/"; -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -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.1.0[${PYTHON_USEDEP}] - >=dev-python/lxml-3.4[${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-14.0[${PYTHON_USEDEP}] - >=dev-python/w3lib-1.8.0[${PYTHON_USEDEP}] - dev-python/queuelib[${PYTHON_USEDEP}] - >=dev-python/cssselect-0.9[${PYTHON_USEDEP}] - >=dev-python/six-1.5.2[${PYTHON_USEDEP}] - dev-python/service_identity[${PYTHON_USEDEP}] - " -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} - 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() { - # 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/
commit: 17593eac4caa02ac6b7da9b0ec883dcd82c91279 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Mar 17 15:31:41 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 17 21:41:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17593eac dev-python/scrapy: use HTTPS dev-python/scrapy/scrapy-1.0.3.ebuild | 5 +++-- dev-python/scrapy/scrapy-1.4.0.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-python/scrapy/scrapy-1.0.3.ebuild b/dev-python/scrapy/scrapy-1.0.3.ebuild index d4a6a31c361..2018788ca14 100644 --- a/dev-python/scrapy/scrapy-1.0.3.ebuild +++ b/dev-python/scrapy/scrapy-1.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -9,7 +9,8 @@ PYTHON_REQ_USE="sqlite(+)" inherit vcs-snapshot distutils-r1 DESCRIPTION="A high-level Python Screen Scraping framework" -HOMEPAGE="https://github.com/scrapy/scrapy/ http://pypi.python.org/pypi/Scrapy/"; +HOMEPAGE="https://github.com/scrapy/scrapy/ + https://pypi.python.org/pypi/Scrapy/"; SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" diff --git a/dev-python/scrapy/scrapy-1.4.0.ebuild b/dev-python/scrapy/scrapy-1.4.0.ebuild index e26e409f3d1..344dc792517 100644 --- a/dev-python/scrapy/scrapy-1.4.0.ebuild +++ b/dev-python/scrapy/scrapy-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,8 @@ PYTHON_REQ_USE="sqlite(+)" inherit distutils-r1 DESCRIPTION="A high-level Python Screen Scraping framework" -HOMEPAGE="https://github.com/scrapy/scrapy/ https://pypi.python.org/pypi/Scrapy/"; +HOMEPAGE="https://github.com/scrapy/scrapy/ + https://pypi.python.org/pypi/Scrapy/"; SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2"
[gentoo-commits] repo/gentoo:master commit in: dev-python/scrapy/files/
commit: 426be55a00eefee6d7bbc3c6bcc9629eca24a067 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Tue Sep 20 16:47:43 2016 + Commit: David Seifert gentoo org> CommitDate: Tue Sep 20 21:06:34 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426be55a dev-python/scrapy: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/2376 Signed-off-by: David Seifert gentoo.org> dev-python/scrapy/files/0.25.1-setup.patch | 40 -- 1 file changed, 40 deletions(-) diff --git a/dev-python/scrapy/files/0.25.1-setup.patch b/dev-python/scrapy/files/0.25.1-setup.patch deleted file mode 100644 index 05727c6.. --- a/dev-python/scrapy/files/0.25.1-setup.patch +++ /dev/null @@ -1,40 +0,0 @@ -https://github.com/scrapy/scrapy/commit/480cfa199475d867cb51cb04ce76ed54809514f6 -https://github.com/scrapy/scrapy/commit/3b64b2449ed2afd3bd4a2173c186fd44c6efac86 -diff --git a/setup.py b/setup.py -index 6efe640..252068c 100644 a/setup.py -+++ b/setup.py -@@ -124,7 +124,7 @@ def is_not_module(filename): - else: - setup_args['install_requires'] = [ - 'Twisted>=10.0.0', --'w3lib>=1.2', -+'w3lib>=1.8.0', - 'queuelib', - 'lxml', - 'pyOpenSSL', -diff --git a/requirements.txt b/requirements.txt -index 0df9a55..005b8f4 100644 a/requirements.txt -+++ b/requirements.txt -@@ -2,6 +2,6 @@ Twisted>=10.0.0 - lxml - pyOpenSSL - cssselect>=0.9 --w3lib>=1.2 -+w3lib>=1.8.0 - queuelib - six>=1.5.2 -diff --git a/tox.ini b/tox.ini -index 20d54b6..38ef6c4 100644 a/tox.ini -+++ b/tox.ini -@@ -48,7 +48,7 @@ deps = (re-based) - pyOpenSSL>=0.13.1 - cssselect>=0.9 - queuelib>=1.1.1 --w3lib>=1.5 -+w3lib>=1.8.0 - # tests requirements - mock - :HPK:pytest>2.5.2