diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-05-06 11:27:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-06 11:27:56 +0100 |
commit | 6013c9598c21b81ace13d9d804ca4d774443f895 (patch) | |
tree | a9649b12a31860aca02fe9d1ffa3cfe7e5aa0b88 /pkgs/development | |
parent | f57986597fb287478db18445e785e7dcb708b997 (diff) | |
parent | f8351ba5f0cf067579ceac19b67a797d0a4de3fc (diff) | |
download | nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.tar nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.tar.gz nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.tar.bz2 nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.tar.lz nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.tar.xz nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.tar.zst nixlib-6013c9598c21b81ace13d9d804ca4d774443f895.zip |
Merge pull request #40021 from marsam/feature/enable-scrapy-darwin
pythonPackages.scrapy: enable darwin build
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/scrapy/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/scrapy/default.nix b/pkgs/development/python-modules/scrapy/default.nix index 005d02e60472..f33acc79a2bb 100644 --- a/pkgs/development/python-modules/scrapy/default.nix +++ b/pkgs/development/python-modules/scrapy/default.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, fetchurl, glibcLocales, mock, pytest, botocore, +{ stdenv, buildPythonPackage, fetchurl, glibcLocales, mock, pytest, botocore, testfixtures, pillow, six, twisted, w3lib, lxml, queuelib, pyopenssl, service-identity, parsel, pydispatcher, cssselect, lib }: buildPythonPackage rec { @@ -20,8 +20,9 @@ buildPythonPackage rec { LC_ALL="en_US.UTF-8"; checkPhase = '' - py.test --ignore=tests/test_linkextractors_deprecated.py --ignore=tests/test_proxy_connect.py + py.test --ignore=tests/test_linkextractors_deprecated.py --ignore=tests/test_proxy_connect.py ${lib.optionalString stdenv.isDarwin "--ignore=tests/test_utils_iterators.py"} # The ignored tests require mitmproxy, which depends on protobuf, but it's disabled on Python3 + # Ignore iteration test, because lxml can't find encodings on darwin https://bugs.launchpad.net/lxml/+bug/707396 ''; src = fetchurl { @@ -34,6 +35,6 @@ buildPythonPackage rec { homepage = http://scrapy.org/; license = licenses.bsd3; maintainers = with maintainers; [ drewkett ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |