[arch-commits] Commit in scrapy/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Sep 22 15:50:07 UTC 2015
Date: Tuesday, September 22, 2015 @ 17:50:06
Author: fyan
Revision: 141470
upgpkg: scrapy 1.0.3-2
fix dependency on python2-service-identity (FS#46287)
Modified:
scrapy/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-22 15:25:49 UTC (rev 141469)
+++ PKGBUILD 2015-09-22 15:50:06 UTC (rev 141470)
@@ -5,18 +5,25 @@
pkgname=scrapy
pkgver=1.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="A fast high-level scraping and web crawling framework."
arch=(any)
license=('BSD')
url="http://scrapy.org"
depends=('python2-twisted' 'libxml2' 'python2-w3lib' 'python2-lxml' 'python2-six' 'python2-queuelib'
- 'python2-setuptools' 'python2-cssselect' 'python2-pyopenssl')
+ 'python2-setuptools' 'python2-cssselect' 'python2-pyopenssl' 'python2-service-identity')
makedepends=('git')
+checkdepends=('python2-pytest' 'python2-mock' 'python2-boto' 'python2-pillow')
optdepends=('ipython2: for enhanced support of the interactive scraping shell')
source=("git+https://github.com/scrapy/scrapy.git#tag=${pkgver}")
md5sums=('SKIP')
+check() {
+ cd "${srcdir}/scrapy"
+ py.test2 tests || warning "Tests failed"
+ # Fails horribly for now. Still need to adjust.
+}
+
package() {
cd "${srcdir}/scrapy"
python2 setup.py install -O1 --root="${pkgdir}"
More information about the arch-commits
mailing list