diff options
author | adisbladis <adis@blad.is> | 2017-07-14 11:06:29 +0800 |
---|---|---|
committer | adisbladis <adis@blad.is> | 2017-07-18 18:02:05 +0800 |
commit | 7d19959ac5c17361e6fc56df303e4b4ee9e75816 (patch) | |
tree | 4516f2bbd7beed7b204efe03fb21350051fd1627 /pkgs/development/python-modules/zconfig | |
parent | 8ea9602ed8fea10d619a16a6c050fb8f129754c3 (diff) | |
download | nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.tar nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.tar.gz nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.tar.bz2 nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.tar.lz nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.tar.xz nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.tar.zst nixlib-7d19959ac5c17361e6fc56df303e4b4ee9e75816.zip |
pythonPackages.zconfig: 3.0.3 -> 3.2.0
Diffstat (limited to 'pkgs/development/python-modules/zconfig')
-rw-r--r-- | pkgs/development/python-modules/zconfig/default.nix | 27 | ||||
-rw-r--r-- | pkgs/development/python-modules/zconfig/skip-broken-test.patch | 12 |
2 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zconfig/default.nix b/pkgs/development/python-modules/zconfig/default.nix new file mode 100644 index 000000000000..aa90bf0ce1a6 --- /dev/null +++ b/pkgs/development/python-modules/zconfig/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, fetchPypi +, buildPythonPackage +, zope_testrunner +}: + +buildPythonPackage rec { + pname = "ZConfig"; + version = "3.2.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "de0a802e5dfea3c0b3497ccdbe33a5023c4265f950f33e35dd4cf078d2a81b19"; + }; + + patches = [ ./skip-broken-test.patch ]; + + propagatedBuildInputs = [ zope_testrunner ]; + + meta = with stdenv.lib; { + description = "Structured Configuration Library"; + homepage = http://pypi.python.org/pypi/ZConfig; + license = licenses.zpt20; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/development/python-modules/zconfig/skip-broken-test.patch b/pkgs/development/python-modules/zconfig/skip-broken-test.patch new file mode 100644 index 000000000000..ee3fcff49036 --- /dev/null +++ b/pkgs/development/python-modules/zconfig/skip-broken-test.patch @@ -0,0 +1,12 @@ +diff --git a/ZConfig/tests/test_schema2html.py b/ZConfig/tests/test_schema2html.py +index 838cf7c..52daf4e 100644 +--- a/ZConfig/tests/test_schema2html.py ++++ b/ZConfig/tests/test_schema2html.py +@@ -74,6 +74,7 @@ else: + + class TestSchema2HTML(unittest.TestCase): + ++ @unittest.skip('broken test (https://github.com/zopefoundation/ZConfig/issues/34)') + def test_no_schema(self): + self.assertRaises(SystemExit, + run_transform) |