Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát
2017-11-06 13:24:06 +01:00
264 changed files with 4203 additions and 2400 deletions

View File

@@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "Cython";
name = "${pname}-${version}";
version = "0.27.2";
version = "0.27.3";
src = fetchPypi {
inherit pname version;
sha256 = "265dacf64ed8c0819f4be9355c39beaa13dc2ad2f85237a2c4e478f5ce644b48";
sha256 = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64";
};
# With Python 2.x on i686-linux or 32-bit ARM this test fails because the

View File

@@ -0,0 +1,16 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "affinity";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1i6j7kszvnzh5vh9k48cqwx2kzf73a6abgv9s6bf0j2zmfjl2wb6";
};
meta = {
description = "control processor affinity on windows and linux";
homepage = http://cheeseshop.python.org/pypi/affinity;
license = with lib.licenses; [ psfl ];
};
}

View File

@@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "aiohttp";
version = "2.3.1";
version = "2.3.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "04f58bbcc9ae6f9aec30b9219ae47fa3c31586c77679405720545738ea62236e";
sha256 = "42373fbdbe8f09233c17e74f53cee877bc7d5b495b4fc14c32a119255e85e736";
};
disabled = pythonOlder "3.4";

View File

@@ -2,13 +2,13 @@
asgiref, msgpack, posix_ipc
}:
buildPythonPackage rec {
version = "1.4.1";
version = "1.4.2";
pname = "asgi_ipc";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz";
sha256 = "87cc9dda476d28f335261b73f0f3070f28847718de2e64da9a80492638203e43";
sha256 = "2403f41184405791b05e7aee570bd6ccd47e2d91845d78fe17adcf58ef48c037";
};
propagatedBuildInputs = [ asgiref msgpack posix_ipc ];

View File

@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "Django";
name = "${pname}-${version}";
version = "1.11.6";
version = "1.11.7";
disabled = pythonOlder "2.7";
src = fetchurl {
url = "http://www.djangoproject.com/m/releases/1.11/${name}.tar.gz";
sha256 = "0q0cmwifa6c0k6kh8fpa3mjmqw7yqd616qz8m4ls3h51xyhjrd63";
sha256 = "16ab3p6jj1da94wkz2b5fb128ycy4826bbsnbabcd3qdaf9f6649";
};
patches = stdenv.lib.optionals withGdal [

View File

@@ -3,13 +3,13 @@
, git, glibcLocales }:
buildPythonPackage rec {
version = "0.18.4";
version = "0.18.5";
pname = "dulwich";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/d/dulwich/${name}.tar.gz";
sha256 = "b4baace48dde5e0a76f37b251c246c7e1829bda0617679f00cbade0e70a5ac5b";
sha256 = "838bac318fd0ed79e0eedb6cfd53b6424dc618fec6b99dc959881b12da7bd6e0";
};
LC_ALL = "en_US.UTF-8";

View File

@@ -0,0 +1,19 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "faulthandler";
version = "2.6";
src = fetchPypi {
inherit pname version;
sha256 = "0zywq3jaznddvqc3hnfrlv24wmpyq4xgajk9xhv6578qw1rpfj2r";
};
meta = {
description = "Dump the Python traceback";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ sauyon ];
homepage = http://faulthandler.readthedocs.io/;
};
}

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "Fiona";
version = "1.7.9.post1";
version = "1.7.10.post1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "68e8a925b23e3987845c11b0fdd6378fdec4316fe8ba767a935151b6ee1fc607";
sha256 = "fc4c8996be3131f36c791d66273317d38b72b19dc24c2afc332fd734752eb7a8";
};
buildInputs = [

View File

@@ -1,13 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, six, pytest }:
buildPythonPackage rec {
version = "3.1.1";
version = "3.1.2";
name = "gflags-${version}";
src = fetchPypi {
inherit version;
pname = "python-gflags";
sha256 = "0qvcizlz6r4511kl4jlg6fr34y1ka956dr2jj1q0qcklr94n9zxa";
sha256 = "40ae131e899ef68e9e14aa53ca063839c34f6a168afe622217b5b875492a1ee2";
};
buildInputs = [ pytest ];

View File

@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
pname = "gst-python";
version = "1.10.4";
version = "1.12.2";
name = "${pname}-${version}";
src = fetchurl {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
"${meta.homepage}/src/gst-python/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "04l2hvvz9b0f3nyds1k3yfk5di8a91fpr6maj19c11mwp1s82l2r";
sha256 = "0iwy0v2k27wd3957ich6j5f0f04b0wb2mb175ypf2lx68snk5k7l";
};
patches = [ ./different-path-with-pygobject.patch ];
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
passthru.pythonPath = [];
meta = {
homepage = http://gstreamer.freedesktop.org;
homepage = https://gstreamer.freedesktop.org;
description = "Python bindings for GStreamer";

View File

@@ -6,7 +6,7 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Jug";
version = "1.6.3";
version = "1.6.4";
buildInputs = [ nose numpy ];
propagatedBuildInputs = [
bottle
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "0dpcwjaf8zzqpdz8w8h0p7vmd6z6bzfz2805a6bdjqs9hhkhrg86";
sha256 = "e739b20e7fe53ac50f5954b9e32568bdd92012dd4bd199d13e2a675ccd69d97d";
};
meta = with stdenv.lib; {

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "Keras";
version = "2.0.8";
version = "2.0.9";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "899dc6aaed366f20100b9f80cf1093ea5b43eecc74afd1dc63a4e48dfa776ab9";
sha256 = "6b8572cf1b4a22fd0120b7c23382ba4fa04a6f0397e02af1249be9a7309d1767";
};
checkInputs = [

View File

@@ -12,7 +12,11 @@ buildPythonPackage rec {
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
inherit pname;
# FIXME when updating to the next version: The tarball on pypi is called
# "meliae-0.4.0.tar.gz" while the version within that tarball is
# "0.4.0.final.0".
version = "0.4.0";
sha256 = "976519ab02aaa6a8fb5f596dc4dd9f64fc9510b00e054979566e51c9be7cec99";
};

View File

@@ -8,13 +8,13 @@
let
pname = "multidict";
version = "3.3.0";
version = "3.3.2";
in buildPythonPackage rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "e76909da2fad6966281d4e0e4ccfd3c3025699ebcc30806afa09fa1384c3532b";
sha256 = "f82e61c7408ed0dce1862100db55595481911f159d6ddec0b375d35b6449509b";
};
buildInputs = [ cython ];

View File

@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "netCDF4";
name = "${pname}-${version}";
version = "1.3.0";
version = "1.3.1";
disabled = isPyPy;
src = fetchurl {
url = "mirror://pypi/n/netCDF4/${name}.tar.gz";
sha256 = "1982372aeacc6b36054d90d8cb54ee9506b66b6f44d5cff10e2ffb162aad5476";
sha256 = "570ea59992aa6d98a9b672c71161d11ba5683f787da53446086077470a869957";
};
buildInputs = [

View File

@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "notebook";
version = "5.2.0";
version = "5.2.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1sh3jkkmjzv17c3r8ii3kfhpxi6dkjk846b2lfy71g9qwqdcvbvz";
sha256 = "4ae5b81dd39b37cdd99dcffe83a5182c849947b92d46ac4d2b5093af2bb9f224";
};
LC_ALL = "en_US.utf8";

File diff suppressed because one or more lines are too long

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.8.4";
version = "8.8.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "01kim7mwgm97wysclhyxcwvd2a8ifinaidkskglx7b2k0r7ji5sj";
sha256 = "adb2dd985f875ac035bbdc6a1cc57e30834e106e2ff7899e09a1690b474c1774";
};
meta = {

View File

@@ -0,0 +1,29 @@
{ buildPythonPackage, isPy3k, fetchPypi, stdenv, exiv2, boost, libcxx }:
buildPythonPackage rec {
pname = "py3exiv2";
version = "0.2.1";
name = "${pname}-${version}";
disabled = !(isPy3k);
src = fetchPypi {
inherit pname version;
sha256 = "06q7mlqy05c3jr61nmz93fxb6ilizfyggbh5sg0krwjap2sw1fr8";
};
buildInputs = [ exiv2 boost ];
# work around python distutils compiling C++ with $CC (see issue #26709)
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
# fix broken libboost_python3 detection
patches = [ ./setup.patch ];
meta = {
homepage = "https://launchpad.net/py3exiv2";
description = "A Python3 binding to the library exiv2";
license = with stdenv.lib.licenses; [ gpl3 ];
maintainers = with stdenv.lib.maintainers; [ vinymeuh ];
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}

View File

@@ -0,0 +1,11 @@
--- a/setup.py 2017-10-16 22:03:02.000000000 +0200
+++ b/setup.py 2017-10-16 22:03:34.000000000 +0200
@@ -39,7 +39,7 @@
if '3' in l[2:]:
return l.replace('libboost', 'boost')
-libboost = get_libboost_name()
+libboost = 'boost_python3'
setup(
name='py3exiv2',

View File

@@ -0,0 +1,23 @@
{ stdenv, fetchPypi, isPy3k, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pyobjc";
version = "4.0b1";
# Gives "No matching distribution found for
# pyobjc-framework-Collaboration==4.0b1 (from pyobjc==4.0b1)"
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "16bng6960c1m57nnh1l09ycnyimrqzw9mx9pnyjxn5zzm5kalr37";
};
meta = {
description = "A bridge between the Python and Objective-C programming languages";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ sauyon ];
homepage = https://pythonhosted.org/pyobjc/;
};
}

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pyodbc";
version = "4.0.19";
version = "4.0.21";
name = "${pname}-${version}";
disabled = isPyPy; # use pypypdbc instead
src = fetchPypi {
inherit pname version;
sha256 = "05mkaxbi9n02bpr3l0qnyfb3458f35hk71bq8jmadikp3h8al7dg";
sha256 = "9655f84ca9e5cb2dfffff705601017420c840d55271ba62dd44f05383eff0329";
};
buildInputs = [ libiodbc ];

View File

@@ -19,11 +19,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pyspread";
version = "1.1";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "0m1a4zvzrfrnc42j8mrbm7747w03nzyl9z02wjagccmlhi6nd9hx";
sha256 = "b90edb92c7fce3b8332cdddd3dd1c72ba14440ab39a10ca89c9888ad973a8862";
};
propagatedBuildInputs = [ numpy wxPython matplotlib pycairo python-gnupg xlrd xlwt jedi pyenchant basemap pygtk ];

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Shapely";
version = "1.6.1";
version = "1.6.2.post1";
src = fetchPypi {
inherit pname version;
sha256 = "1iyhrkm6g233gwbd20sf4aq4by0kg52cz1d2k7imnqgzjpmkgqas";
sha256 = "07fba518e76b3276558f62a5829bdfa476f790cdef752383ccdc8c66b04b0899";
};
buildInputs = [ geos glibcLocales cython ];

View File

@@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "six";
version = "1.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test test_six.py
'';
meta = {
description = "A Python 2 and 3 compatibility library";
homepage = http://pypi.python.org/pypi/six/;
license = lib.licenses.mit;
};
}

View File

@@ -1,49 +0,0 @@
From abd9f52ade78c737571be69f21dba384be3edf4e Mon Sep 17 00:00:00 2001
From: Mike Bayer <mike_mp@zzzcomputing.com>
Date: Sat, 2 Mar 2013 16:24:50 -0500
Subject: [PATCH] - Fixed an import of "logging" in test_execute which was not
working on some linux platforms. [ticket:2669]
---
doc/build/changelog/changelog_07.rst | 10 ++++++++++
lib/sqlalchemy/__init__.py | 2 +-
test/engine/test_execute.py | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/doc/build/changelog/changelog_07.rst b/doc/build/changelog/changelog_07.rst
index 416df5a..f07c9ec 100644
--- a/doc/build/changelog/changelog_07.rst
+++ b/doc/build/changelog/changelog_07.rst
@@ -3,6 +3,16 @@
0.7 Changelog
==============
+.. changelog::
+ :version: 0.7.11
+
+ .. change::
+ :tags: bug, tests
+ :tickets: 2669
+ :pullreq: 41
+
+ Fixed an import of "logging" in test_execute which was not
+ working on some linux platforms.
.. changelog::
:version: 0.7.10
diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py
index 69b94f1..a37f684 100644
--- a/test/engine/test_execute.py
+++ b/test/engine/test_execute.py
@@ -9,7 +9,7 @@
import sqlalchemy as tsa
from test.lib import testing, engines
from test.lib.engines import testing_engine
-import logging
+import logging.handlers
from sqlalchemy.dialects.oracle.zxjdbc import ReturningParam
from sqlalchemy.engine import base, default
from sqlalchemy.engine.base import Connection, Engine
--
1.8.1.6

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "SQLAlchemy";
name = "${pname}-${version}";
version = "1.1.14";
version = "1.1.15";
src = fetchPypi {
inherit pname version;
sha256 = "f1191e29e35b6fe1aef7175a09b1707ebb7bd08d0b17cb0feada76c49e5a2d1e";
sha256 = "8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a";
};
checkInputs = [

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "sqlmap";
version = "1.1.10";
version = "1.1.11";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "90db96664955c6a576b495c973bd3976b9d4eaffaea205c0343ac7e8f8147cbe";
sha256 = "bb5297df9cd97316b3c7ca64f8e31cae5cc6b94c015afd84c546877f1f77d6e4";
};
# No tests in archive

View File

@@ -13,7 +13,7 @@ buildPythonPackage (rec {
patches = [
# fix tests
(fetchpatch {
url = "https://github.com/mwhudson/urwid/commit/4b0ed8b6030450e6d99909a7c683e9642e546387.patch";
url = "https://github.com/urwid/urwid/commit/4b0ed8b6030450e6d99909a7c683e9642e546387.patch";
sha256 = "0azpn0ylbg8mfpr0y27n4lnq0ph75a4d4m9wdv3napnhf1vh9ahx";
})
# fix tests