pythonPackages.zconfig: 3.0.3 -> 3.2.0

This commit is contained in:
adisbladis 2017-07-14 11:06:29 +08:00
parent 8ea9602ed8
commit 7d19959ac5
No known key found for this signature in database
GPG key ID: ED58F95069B004F5
3 changed files with 40 additions and 17 deletions

View file

@ -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 ];
};
}

View file

@ -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)

View file

@ -25660,24 +25660,8 @@ EOF
};
});
zconfig = buildPythonPackage rec {
name = "zconfig-${version}";
version = "3.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/Z/ZConfig/ZConfig-${version}.tar.gz";
sha256 = "6577da957511d8c2f805fefd2e31cacc4117bb5c54aec03ad8ce374020c021f3";
};
propagatedBuildInputs = with self; [ zope_testrunner ];
meta = {
description = "Structured Configuration Library";
homepage = http://pypi.python.org/pypi/ZConfig;
license = licenses.zpt20;
maintainers = with maintainers; [ goibhniu ];
};
};
zconfig = callPackage ../development/python-modules/zconfig { };
zc_lockfile = buildPythonPackage rec {