pythonPackages.zconfig: 3.0.3 -> 3.2.0
This commit is contained in:
27
pkgs/development/python-modules/zconfig/default.nix
Normal file
27
pkgs/development/python-modules/zconfig/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user