gnu: python-scrapy: Fix build.

* gnu/packages/python-web.scm (python-scrapy): Fix build.
[phases]{relax-requirements}: Remove redundant phase.
[native-inputs]: Add python-wheel.

Change-Id: Iecf49315b5e57023e6aa17bbe89f97f5f12111a4
This commit is contained in:
Sharlatan Hellseher 2024-11-06 22:03:36 +00:00
parent 5e4951a539
commit cf0c0f5538
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8966,11 +8966,6 @@ regular expressions.")
" and not "))) " and not ")))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.py"
;; "defusedxml>=0.7.1"
(("0.7.1") "0.6.0"))))
(add-before 'check 'prepare-test-environment (add-before 'check 'prepare-test-environment
(lambda _ (lambda _
(setenv "HOME" "/tmp")))))) (setenv "HOME" "/tmp"))))))
@ -9001,7 +8996,8 @@ regular expressions.")
python-pytest-xdist python-pytest-xdist
python-sybil python-sybil
python-testfixtures python-testfixtures
python-uvloop)) python-uvloop
python-wheel))
(home-page "https://scrapy.org") (home-page "https://scrapy.org")
(synopsis "High-level Web crawling and Web scraping framework") (synopsis "High-level Web crawling and Web scraping framework")
(description "Scrapy is a fast high-level web crawling and web (description "Scrapy is a fast high-level web crawling and web