Merge pull request #28187 from Nadrieril/update-konfig
konfig: 0.9 -> 1.1; fix build failure due to argparse
This commit is contained in:
commit
df3c7825bf
@ -11848,7 +11848,7 @@ in {
|
||||
|
||||
konfig = buildPythonPackage rec {
|
||||
name = "konfig-${version}";
|
||||
version = "0.9";
|
||||
version = "1.1";
|
||||
|
||||
# konfig unconditionaly depend on configparser, even if it is part of
|
||||
# the standard library in python 3.2 or above.
|
||||
@ -11857,10 +11857,26 @@ in {
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/konfig.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1kc5iy61ckbmf65d9ssyqiyb25lnxjvr7c2vcsdl9wx4n6fhwzx3";
|
||||
sha256 = "1h780fbrv275dcik4cs3rincza805z6q726b48r4a0qmh5d8160c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ configparser argparse ];
|
||||
propagatedBuildInputs = with self; [ configparser six ];
|
||||
|
||||
patches = [ (pkgs.writeText "konfig.patch" ''
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 96fd858..bb4db06 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -20,7 +20,7 @@ setup(name='konfig',
|
||||
author_email="tarek@mozilla.com",
|
||||
include_package_data=True,
|
||||
install_requires = [
|
||||
- 'configparser', 'argparse', 'six'
|
||||
+ 'configparser', 'six'
|
||||
],
|
||||
zip_safe=False,
|
||||
classifiers=classifiers,
|
||||
'') ];
|
||||
|
||||
meta = {
|
||||
description = "Yet Another Config Parser";
|
||||
|
Loading…
Reference in New Issue
Block a user