mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/scrapy: Clean old versions up
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user