summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/scrapy')
-rw-r--r--dev-python/scrapy/ChangeLog8
-rw-r--r--dev-python/scrapy/scrapy-0.14.4.ebuild77
-rw-r--r--dev-python/scrapy/scrapy-0.16.4.ebuild67
-rw-r--r--dev-python/scrapy/scrapy-0.17.0.ebuild62
-rw-r--r--dev-python/scrapy/scrapy-0.18.2.ebuild65
5 files changed, 72 insertions, 207 deletions
diff --git a/dev-python/scrapy/ChangeLog b/dev-python/scrapy/ChangeLog
index ef56996a24da..5ece408ee0f6 100644
--- a/dev-python/scrapy/ChangeLog
+++ b/dev-python/scrapy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/scrapy
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.17 2014/05/03 07:34:51 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/ChangeLog,v 1.18 2014/05/20 02:37:26 idella4 Exp $
+
+*scrapy-0.18.2 (20 May 2014)
+
+ 20 May 2014; Ian Delaney <idella4@gentoo.org> +scrapy-0.18.2.ebuild,
+ -scrapy-0.14.4.ebuild, -scrapy-0.16.4.ebuild, -scrapy-0.17.0.ebuild:
+ bump; update test phase, tidy, rm some old
*scrapy-0.18.1 (03 May 2014)
diff --git a/dev-python/scrapy/scrapy-0.14.4.ebuild b/dev-python/scrapy/scrapy-0.14.4.ebuild
deleted file mode 100644
index 9d6924b80949..000000000000
--- a/dev-python/scrapy/scrapy-0.14.4.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.14.4.ebuild,v 1.5 2013/08/03 09:45:47 mgorny Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="sqlite(+)"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
-PYTHON_TESTS_RESTRICTED_ABIS="2.5"
-inherit distutils
-
-MY_PN="Scrapy"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A high-level Python Screen Scraping framework"
-HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
-SRC_URI="mirror://pypi/S/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boto doc examples ibl test ssl"
-PYTHON_MODNAME="scrapy scrapyd"
-
-DEPEND="dev-python/setuptools
- doc? ( dev-python/sphinx )
- test? (
- dev-python/django
- net-ftp/vsftpd
- )"
-RDEPEND="dev-libs/libxml2[python]
- boto? ( dev-python/boto )
- virtual/python-imaging
- dev-python/lxml
- ibl? ( dev-python/numpy )
- ssl? ( dev-python/pyopenssl )
- dev-python/setuptools
- dev-python/simplejson
- dev-python/twisted-core
- dev-python/twisted-conch
- dev-python/twisted-mail
- dev-python/twisted-web
- >=dev-python/w3lib-1.1"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- distutils_src_compile
-
- if use doc; then
- emake -C docs html || die "emake html failed"
- fi
-}
-
-src_test() {
- testing() {
- # PYTHOPATH should be build-$PYTHON_ABI/lib, but causes a test fail.
- # Not all content is copied across to build-$PYTHON_ABI/lib, and
- # PYTHONPATH again requires an abs path.
- echo PYTHONPATH="${PWD}" bin/runtests.sh
- PYTHONPATH="${PWD}"/ bin/runtests.sh
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
- if use doc; then
- dohtml -r "${S}"/docs/build/html/
- fi
- if use examples; then
- insinto /usr/share/doc/"${PF}"/examples
- doins -r "${S}"/examples/*
- fi
-}
diff --git a/dev-python/scrapy/scrapy-0.16.4.ebuild b/dev-python/scrapy/scrapy-0.16.4.ebuild
deleted file mode 100644
index 92826479eb9a..000000000000
--- a/dev-python/scrapy/scrapy-0.16.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.16.4.ebuild,v 1.3 2013/08/03 09:45:47 mgorny Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_{6,7} )
-PYTHON_REQ_USE="sqlite(+)"
-
-inherit distutils-r1
-
-MY_PN="Scrapy"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A high-level Python Screen Scraping framework"
-HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
-SRC_URI="mirror://pypi/S/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boto doc examples ibl test ssl"
-PYTHON_MODNAME="scrapy scrapyd"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? (
- dev-python/django[${PYTHON_USEDEP}]
- net-ftp/vsftpd
- )"
-RDEPEND="dev-libs/libxml2[python,${PYTHON_USEDEP}]
- boto? ( dev-python/boto[${PYTHON_USEDEP}] )
- virtual/python-imaging[${PYTHON_USEDEP}]
- dev-python/lxml[${PYTHON_USEDEP}]
- ibl? ( dev-python/numpy[${PYTHON_USEDEP}] )
- ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/twisted-core
- dev-python/twisted-conch
- dev-python/twisted-mail
- dev-python/twisted-web
- >=dev-python/w3lib-1.1[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- distutils-r1_src_compile
-
- if use doc; then
- emake -C docs html || die "emake html failed"
- fi
-}
-
-python_test() {
- PYTHONPATH="${PWD}" bin/runtests.sh
-}
-
-src_install() {
- distutils-r1_src_install
- if use doc; then
- dohtml -r "${S}"/docs/build/html/
- fi
- if use examples; then
- insinto /usr/share/doc/"${PF}"/examples
- doins -r "${S}"/examples/*
- fi
-}
diff --git a/dev-python/scrapy/scrapy-0.17.0.ebuild b/dev-python/scrapy/scrapy-0.17.0.ebuild
deleted file mode 100644
index 3536e11d0291..000000000000
--- a/dev-python/scrapy/scrapy-0.17.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.17.0.ebuild,v 1.3 2013/08/03 09:45:47 mgorny Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_{6,7} )
-PYTHON_REQ_USE="sqlite(+)"
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="A high-level Python Screen Scraping framework"
-HOMEPAGE="http://scrapy.org http://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 examples ibl test ssl"
-PYTHON_MODNAME="scrapy scrapyd"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? (
- dev-python/django[${PYTHON_USEDEP}]
- net-ftp/vsftpd
- )"
-RDEPEND="dev-libs/libxml2[python,${PYTHON_USEDEP}]
- boto? ( dev-python/boto[${PYTHON_USEDEP}] )
- virtual/python-imaging[${PYTHON_USEDEP}]
- dev-python/lxml[${PYTHON_USEDEP}]
- ibl? ( dev-python/numpy[${PYTHON_USEDEP}] )
- ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/twisted-core
- dev-python/twisted-conch
- dev-python/twisted-mail
- dev-python/twisted-web
- >=dev-python/w3lib-1.1[${PYTHON_USEDEP}]"
-
-src_compile() {
- distutils-r1_src_compile
-
- if use doc; then
- emake -C docs html || die "emake html failed"
- fi
-}
-
-python_test() {
- PYTHONPATH="${PWD}" bin/runtests.sh
-}
-
-src_install() {
- distutils-r1_src_install
- if use doc; then
- dohtml -r "${S}"/docs/build/html/
- fi
- if use examples; then
- insinto /usr/share/doc/"${PF}"/examples
- doins -r "${S}"/examples/*
- fi
-}
diff --git a/dev-python/scrapy/scrapy-0.18.2.ebuild b/dev-python/scrapy/scrapy-0.18.2.ebuild
new file mode 100644
index 000000000000..77dc5398cc69
--- /dev/null
+++ b/dev-python/scrapy/scrapy-0.18.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.18.2.ebuild,v 1.1 2014/05/20 02:37:26 idella4 Exp $
+
+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 http://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[${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-8.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-conch-8.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-mail-8.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-web-8.0[${PYTHON_USEDEP}]
+ >=dev-python/w3lib-1.2[${PYTHON_USEDEP}]
+ dev-python/queuelib[${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}]
+ net-ftp/vsftpd
+ dev-python/pyopenssl[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ # Skip failing tests; https://github.com/scrapy/scrapy/issues/725
+ sed -e s':test_validation:_&:' \
+ -i scrapy/tests/test_djangoitem/__init__.py || die
+ sed -e s':test_process_parallel_failure:_&:' \
+ -i scrapy/tests/test_utils_defer.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() {
+ PYTHONPATH="${PWD}" bin/runtests.sh || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/html/. )
+ distutils-r1_python_install_all
+}