~ruther/guix-local

5223530ab2e2f45c3c26fe26fc3082e505c7baad — Ricardo Wurmus 1 year, 3 months ago 7c1f1d9
gnu: python-scrapy: Update to 2.12.0.

* gnu/packages/python-web.scm (python-scrapy): Update to 2.12.0.
[arguments]: Update list of disabled tests.
[propagated-inputs]: Remove python-botocore and python-setuptools; add
python-packaging and python-typing-extensions.
[native-inputs]: Add python-mypy and python-setuptools; remove
python-pyftpdlib and python-uvloop.

Change-Id: If747801ccbb6047b8d1a98714dafae8ab3743b07
1 files changed, 13 insertions(+), 9 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +13 -9
@@ 9579,13 9579,13 @@ regular expressions.")
(define-public python-scrapy
  (package
    (name "python-scrapy")
    (version "2.11.2")
    (version "2.12.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "scrapy" version))
       (sha256
        (base32 "07a0nfzkz4vr1353456lavvw36l9s2ia7x91l7mzygzwhi9mdgfz"))))
        (base32 "13vqykvjv9d0hj02l0s025r107dncfj7as0r0iv484lv01v6wvfn"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:test-flags


@@ 9594,41 9594,45 @@ regular expressions.")
                         "not " (string-join
                                 (list "test_pformat"
                                       "test_pformat_old_windows"
                                       "test_pformat_windows")
                                 " and not ")))
                                       "test_pformat_windows"
                                       ;; Connection refused.
                                       "test_persist")
                                 " and not "))
                   ;; Connection refused to some local FTP server.
                   "--ignore=tests/test_feedexport.py")
           #:phases
           #~(modify-phases %standard-phases
               (add-before 'check 'prepare-test-environment
                 (lambda _
                   (setenv "HOME" "/tmp"))))))
    (propagated-inputs
     (list python-botocore              ; Optional: For S3FeedStorage class.
           python-cryptography
     (list python-cryptography
           python-cssselect
           python-defusedxml
           python-itemadapter
           python-itemloaders
           python-lxml
           python-packaging
           python-parsel
           python-protego
           python-pydispatcher
           python-pyopenssl
           python-queuelib
           python-service-identity
           python-setuptools
           python-tldextract
           python-typing-extensions
           python-twisted
           python-w3lib
           python-zope-interface))
    (native-inputs
     (list nss-certs-for-test
           python-mypy
           python-pexpect
           python-pyftpdlib
           python-pytest
           python-pytest-xdist
           python-setuptools
           python-sybil
           python-testfixtures
           python-uvloop
           python-wheel))
    (home-page "https://scrapy.org")
    (synopsis "High-level Web crawling and Web scraping framework")