python38Packages.zconfig: fix build
This commit is contained in:
parent
26aead6800
commit
bb7d41efa6
|
@ -1,5 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, zope_testrunner
|
, zope_testrunner
|
||||||
, manuel
|
, manuel
|
||||||
|
@ -16,13 +17,17 @@ buildPythonPackage rec {
|
||||||
sha256 = "0s7aycxna07a04b4rswbkj4y5qh3gxy2mcsqb9dmy0iimj9f9550";
|
sha256 = "0s7aycxna07a04b4rswbkj4y5qh3gxy2mcsqb9dmy0iimj9f9550";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
|
patches = [
|
||||||
|
# fixes 3.8+ logger validation issues, has been merged into master, remove next bump
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/zopefoundation/ZConfig/commit/f0c2990d35ac3c924ecc8be4a5c71c8e4abbd0e5.patch";
|
||||||
|
sha256 = "1bjg3wrvii0rwzf3s0vlpzgg2ckj0h2zxkyxwjcr64s4k2vaq9ij";
|
||||||
|
})
|
||||||
|
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
|
||||||
|
|
||||||
buildInputs = [ manuel docutils ];
|
buildInputs = [ manuel docutils ];
|
||||||
propagatedBuildInputs = [ zope_testrunner ];
|
propagatedBuildInputs = [ zope_testrunner ];
|
||||||
|
|
||||||
disabled = pythonAtLeast "3.8"; # 3.6.0 introduces compatibility for 3.8 and 3.9
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Structured Configuration Library";
|
description = "Structured Configuration Library";
|
||||||
homepage = "https://pypi.python.org/pypi/ZConfig";
|
homepage = "https://pypi.python.org/pypi/ZConfig";
|
||||||
|
|
Loading…
Reference in New Issue