Merge master into staging-next
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, attrs
|
||||
, chardet
|
||||
, multidict
|
||||
@@ -14,7 +13,6 @@
|
||||
, pytestrunner
|
||||
, pytestCheckHook
|
||||
, gunicorn
|
||||
, pytest-timeout
|
||||
, async_generator
|
||||
, pytest_xdist
|
||||
, pytestcov
|
||||
@@ -63,6 +61,8 @@ buildPythonPackage rec {
|
||||
"test_read_boundary_with_incomplete_chunk"
|
||||
"test_read_incomplete_chunk"
|
||||
"test_request_tracing_exception"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_close"
|
||||
];
|
||||
|
||||
# aiohttp in current folder shadows installed version
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 6f544a5bd43446859754cb80e012af933b843db9 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Klink <flokli@flokli.de>
|
||||
Date: Wed, 3 Jun 2020 22:05:34 +0200
|
||||
Subject: [PATCH] clipboard: make which substitutable
|
||||
|
||||
This is used to detect the presence of xclip and other clipboard
|
||||
handling tools.
|
||||
---
|
||||
bpython/clipboard.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bpython/clipboard.py b/bpython/clipboard.py
|
||||
index aee429b..f346429 100644
|
||||
--- a/bpython/clipboard.py
|
||||
+++ b/bpython/clipboard.py
|
||||
@@ -58,7 +58,7 @@ class OSXClipboard(object):
|
||||
|
||||
def command_exists(command):
|
||||
process = subprocess.Popen(
|
||||
- ["which", command], stderr=subprocess.STDOUT, stdout=subprocess.PIPE
|
||||
+ ["@which@", command], stderr=subprocess.STDOUT, stdout=subprocess.PIPE
|
||||
)
|
||||
process.communicate()
|
||||
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pygments, greenlet, curtsies, urwid, requests, mock }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, curtsies
|
||||
, greenlet
|
||||
, mock
|
||||
, pygments
|
||||
, requests
|
||||
, substituteAll
|
||||
, urwid
|
||||
, which }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bpython";
|
||||
@@ -9,6 +19,11 @@ buildPythonPackage rec {
|
||||
sha256 = "1764ikgj24jjq46s50apwkydqvy5a13adb2nbszk8kbci6df0v27";
|
||||
};
|
||||
|
||||
patches = [ (substituteAll {
|
||||
src = ./clipboard-make-which-substitutable.patch;
|
||||
which = "${which}/bin/which";
|
||||
})];
|
||||
|
||||
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -25,11 +25,11 @@ let
|
||||
|
||||
package = buildPythonPackage rec {
|
||||
pname = "buildbot";
|
||||
version = "2.8.1";
|
||||
version = "2.8.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nrbn8a2c56l5j0axmn9ijaviw0a6nrd34sg81r5j05mzzpb69is";
|
||||
sha256 = "0rdrz2zkd6xaf9kb5l41xmbfzq618sz498w23irshih4c802pdv5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,7 +6,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03ppmrnpyd77azylv1c673cffk6x53j9flx4i99k33bljmdy8iv4";
|
||||
sha256 = "1yz3k6dg15q4911x8kjy396dccfgrs50mjz278l09p6zmm71llax";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "051y4z70dq0j343rb02wn3a1vkdbi8khjfib2msa80vdld3nxcyv";
|
||||
sha256 = "19qwr0h6qavznx8rfjq6zjccyd2y7x4nc8asldvay3b44xfsr385";
|
||||
};
|
||||
|
||||
# Remove unneccessary circular dependency on buildbot
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0chw111j2c6ybvbb09x39zg7ghjz4ysw67wbpcmzd1v5jnwbaqdi";
|
||||
sha256 = "1wfhwmb1d32k8isk7k8525pmkfih8hlvy53zsj19l3gvjm0da9gw";
|
||||
};
|
||||
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14v2lj65ccgmijxqrr61vpgba30q6w5vnisz78y3hbf3qpxmmd7g";
|
||||
sha256 = "0g62v0maz3b9bmjvvjcin6ayg0f5k0n8m93zk75lagyr69g5vaka";
|
||||
};
|
||||
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03q9am237f2r8ivqm1dfkyzm3bmns4xjn99c27ps6dw9an15f73a";
|
||||
sha256 = "0dlq8pchgccc66gfdlssydacisia5fbwc8b4gd8f9gcbish8jmf7";
|
||||
};
|
||||
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wv5ghsfmhkbk96zimihcwn16rxjz1q1g5ppahb8gfrclmzhdynl";
|
||||
sha256 = "193nni55py6yzw730yyp5va2n4313sjf6a7jmi0xs9bivvvzg5w9";
|
||||
};
|
||||
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
|
||||
@@ -7,7 +7,7 @@ buildPythonPackage (rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1cba1zmm3gfw3ikax7q4vbrxnvjxlby79x5lc4fg9c3igbm0nmwj";
|
||||
sha256 = "0p1w6ailp6xpa6ckl5prj413ilxx5s3lga5mzqxj9nn00vni8ik2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ twisted future ];
|
||||
|
||||
@@ -47,7 +47,8 @@ buildPythonPackage rec {
|
||||
and not test_libcurl_ssl_openssl" \
|
||||
--ignore=tests/getinfo_test.py \
|
||||
--ignore=tests/memory_mgmt_test.py \
|
||||
--ignore=tests/multi_memory_mgmt_test.py
|
||||
--ignore=tests/multi_memory_mgmt_test.py \
|
||||
--ignore=tests/multi_timer_test.py
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, ujson
|
||||
, email_validator
|
||||
, typing-extensions
|
||||
@@ -22,6 +23,14 @@ buildPythonPackage rec {
|
||||
sha256 = "0fwrx7p6d5vskg9ibganahiz9y9299idvdmzhjw62jy84gn1vrb4";
|
||||
};
|
||||
|
||||
# fix tests, remove on next version bump
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/samuelcolvin/pydantic/commit/a5b0e741e585040a0ab8b0be94dd9dc2dd3afcc7.patch";
|
||||
sha256 = "0v91ac3dw23rm73370s2ns84vi0xqbfzpvj84zb7xdiicx8fhmf1";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ujson
|
||||
email_validator
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, gdb
|
||||
@@ -19,6 +20,9 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ gdb ];
|
||||
|
||||
# tests require gcc for some reason
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
postPatch = ''
|
||||
# tries to execute flake8,
|
||||
# which is likely to break on flake8 updates
|
||||
|
||||
@@ -47,7 +47,6 @@ buildPythonPackage rec {
|
||||
description = "Engine.IO server";
|
||||
homepage = "https://github.com/miguelgrinberg/python-engineio/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user