[arch-commits] Commit in scrapy/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Jul 25 23:56:06 UTC 2018


    Date: Wednesday, July 25, 2018 @ 23:56:06
  Author: eschwartz
Revision: 363439

upgpkg: scrapy 1.5.1-1

python 3.7 rebuild

Modified:
  scrapy/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-25 22:37:40 UTC (rev 363438)
+++ PKGBUILD	2018-07-25 23:56:06 UTC (rev 363439)
@@ -4,7 +4,7 @@
 # Contributor: Anibal Pacheco <apacheco.uy at gmail.com>
 
 pkgname=scrapy
-pkgver=1.5.0
+pkgver=1.5.1
 pkgrel=1
 pkgdesc="A fast high-level scraping and web crawling framework."
 arch=('any')
@@ -16,9 +16,21 @@
 checkdepends=('python-pytest-runner' 'python-pillow' 'python-testfixtures' 'python-botocore'
               'python-jmespath' 'mitmproxy')
 optdepends=('ipython: for enhanced support of the interactive scraping shell')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz")
-sha512sums=('06c3ee55706e25f1bfea0d13843835b3d6ee2946509b279c84cb6f3ca31b9d005e0aa93de0b4b82cacee658bf7382eafcb92bc6d9d7dac18fc659a7bcaa218a1')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz"
+        "https://github.com/scrapy/scrapy/commit/b364d27247b2d9b86c164569c7e0459fa3f8391b.patch"
+        "https://github.com/scrapy/scrapy/commit/f4f39057cbbfa4daf66f82061e57101b88d88d05.patch")
+sha512sums=('3811d10e901ec049bb7ea4d4c477e5115fc8a1090c7cb5888fddeee51a56f60679ccb7e85da5a4d9ce7320f8cc67eefe3eaa335e27d9c696e6a875a5058121bb'
+            'd710e737d21ac52acb5de4b85ec757b13e492635c0c98249b3b5463b7a4471cabe434f9cd4a809db6e365019c1a71cc1bd555057a0545460c5bcbe147afe552a'
+            '6300a2b790b4d377877d6883644627d7ff94dbd38f04cc1561e87bba2ba6ad474c41153dc0b8b55768ac38ae4cf72af942fcdb465e31fe90741471adb947d1d0')
 
+prepare() {
+  cd scrapy-$pkgver
+  # fix flaky tests: https://github.com/scrapy/scrapy/pull/3210
+  patch -p1 -i ../b364d27247b2d9b86c164569c7e0459fa3f8391b.patch
+  # fix python37 issues: https://github.com/scrapy/scrapy/pull/3326
+  patch -p1 -i ../f4f39057cbbfa4daf66f82061e57101b88d88d05.patch
+}
+
 build() {
   cd scrapy-$pkgver
   python setup.py build



More information about the arch-commits mailing list