Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2b3c67de903d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ced961a914c0
Choose a head ref
  • 6 commits
  • 7 files changed
  • 1 contributor

Commits on Mar 22, 2019

  1. python.pkgs.python-mapnik: fix build

    fallout of #54182
    
    (cherry picked from commit 8519983)
    Robert Schütz committed Mar 22, 2019
    Copy the full SHA
    3560766 View commit details
  2. python.pkgs.tilestache: fix build

    (cherry picked from commit 48d1219)
    Robert Schütz committed Mar 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    de4b0ab View commit details
  3. python.pkgs.suds-jurko: use pytest_3

    (cherry picked from commit 77ab988)
    Robert Schütz committed Mar 22, 2019
    Copy the full SHA
    cfe9cc1 View commit details
  4. python.pkgs.retry: init at 0.9.2

    (cherry picked from commit d716cad)
    Robert Schütz committed Mar 22, 2019
    Copy the full SHA
    64230fa View commit details
  5. python.pkgs.pytest-server-fixtures: fix build

    (cherry picked from commit dc88463)
    Robert Schütz committed Mar 22, 2019
    Copy the full SHA
    176f00b View commit details
  6. python.pkgs.envs: fix build

    (cherry picked from commit 76bfc09)
    Robert Schütz committed Mar 22, 2019
    Copy the full SHA
    ced961a View commit details
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/envs/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib, buildPythonPackage, fetchPypi
, click, jinja2, terminaltables }:
, mock, jinja2, click, terminaltables
}:

buildPythonPackage rec {
pname = "envs";
@@ -10,7 +11,7 @@ buildPythonPackage rec {
sha256 = "ccf5cd85ddb8ed335e39ed8a22e0d23658f5a6d7da430f225e6f750c6f50ae42";
};

checkInputs = [ click jinja2 terminaltables ];
checkInputs = [ mock jinja2 click terminaltables ];

meta = with lib; {
description = "Easy access to environment variables from Python";
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, setuptools-git, pytest-shutil, pytest-fixture-config, psutil
, requests, future }:
, pytest_3, pytest-shutil, pytest-fixture-config, psutil
, requests, future, retry }:

buildPythonPackage rec {
pname = "pytest-server-fixtures";
@@ -11,8 +11,8 @@ buildPythonPackage rec {
sha256 = "c89f9532f62cf851489082ece1ec692b6ed5b0f88f20823bea25e2a963ebee8f";
};

buildInputs = [ pytest ];
propagatedBuildInputs = [ setuptools-git pytest-shutil pytest-fixture-config psutil requests future ];
buildInputs = [ pytest_3 ];
propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];

# RuntimeError: Unable to find a free server number to start Xvfb
doCheck = false;
49 changes: 29 additions & 20 deletions pkgs/development/python-modules/python-mapnik/default.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,16 @@
, pycairo
}:

buildPythonPackage rec {
let
boost = pkgs.boost.override {
enablePython = true;
inherit python;
};
mapnik = pkgs.mapnik.override {
inherit python boost;
};

in buildPythonPackage rec {
pname = "python-mapnik";
version = "3.0.16";

@@ -28,25 +37,25 @@ buildPythonPackage rec {
export BOOST_THREAD_LIB="boost_thread"
export BOOST_SYSTEM_LIB="boost_system"
'';
buildInputs = with pkgs; [
(boost.override {
enablePython = true;
inherit python;
})
(mapnik.override {
inherit python;
boost = (boost.override { enablePython = true; inherit python; });
})
cairo
harfbuzz
icu
libjpeg
libpng
libtiff
libwebp
proj
zlib
];

nativeBuildInputs = [
mapnik # for mapnik_config
];

buildInputs = [
mapnik
boost
] ++ (with pkgs; [
cairo
harfbuzz
icu
libjpeg
libpng
libtiff
libwebp
proj
zlib
]);
propagatedBuildInputs = [ pillow pycairo ];

meta = with stdenv.lib; {
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/retry/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, pbr
, decorator
, py
, mock
, pytest
}:

buildPythonPackage rec {
pname = "retry";
version = "0.9.2";

src = fetchPypi {
inherit pname version;
sha256 = "f8bfa8b99b69c4506d6f5bd3b0aabf77f98cdb17f3c9fc3f5ca820033336fba4";
};

nativeBuildInputs = [
pbr
];

propagatedBuildInputs = [
decorator
py
];

checkInputs = [
mock
pytest
];

checkPhase = ''
pytest
'';

meta = with lib; {
description = "Easy to use retry decorator";
homepage = https://github.com/invl/retry;
license = licenses.asl20;
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/suds-jurko/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytest_3
, isPyPy
}:

@@ -16,9 +16,9 @@ buildPythonPackage rec {
sha256 = "1s4radwf38kdh3jrn5acbidqlr66sx786fkwi0rgq61hn4n2bdqw";
};

buildInputs = [ pytest ];
checkInputs = [ pytest_3 ];

preBuild = ''
postPatch = ''
# fails
substituteInPlace tests/test_transport_http.py \
--replace "test_sending_unicode_data" "noop"
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/tilestache/default.nix
Original file line number Diff line number Diff line change
@@ -16,7 +16,8 @@ buildPythonPackage rec {
disabled = !isPy27;

src = fetchPypi {
inherit pname version;
pname = "TileStache";
inherit version;
sha256 = "11e15dd85501345bcfeb18dce5b1c8fb74ac8d867df2520afe0eefe1edd85f27";
};

2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -4037,6 +4037,8 @@ in {

restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };

retry = callPackage ../development/python-modules/retry { };

robomachine = callPackage ../development/python-modules/robomachine { };

robotframework = callPackage ../development/python-modules/robotframework { };