pythonPackages: deprecate ConfigArgParse alias

This commit is contained in:
Sandro Jäckel 2021-07-20 23:26:16 +02:00
parent 9df3d2ca2c
commit b4099137b1
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
14 changed files with 17 additions and 17 deletions

View file

@ -18,7 +18,7 @@ in pythonPackages.buildPythonApplication rec {
buildInputs = with pythonPackages; [ glibcLocales ]; buildInputs = with pythonPackages; [ glibcLocales ];
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 ConfigArgParse keyring pyasn1 requests six urllib3 ]; propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ];
checkInputs = with pythonPackages; [ pytest mock ]; checkInputs = with pythonPackages; [ pytest mock ];

View file

@ -5,7 +5,7 @@
, waylandSupport ? true , waylandSupport ? true
, x11Support ? true , x11Support ? true
, ConfigArgParse , configargparse
, rofi , rofi
, wl-clipboard , wl-clipboard
, wtype , wtype
@ -26,7 +26,7 @@ buildPythonApplication rec {
# `rofi` and the `waylandSupport` and `x11Support` dependencies # `rofi` and the `waylandSupport` and `x11Support` dependencies
# contain binaries needed at runtime. # contain binaries needed at runtime.
propagatedBuildInputs = with lib; [ ConfigArgParse rofi ] propagatedBuildInputs = with lib; [ configargparse rofi ]
++ optionals waylandSupport [ wl-clipboard wtype ] ++ optionals waylandSupport [ wl-clipboard wtype ]
++ optionals x11Support [ xdotool xsel ]; ++ optionals x11Support [ xdotool xsel ];

View file

@ -6,7 +6,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
appdirs appdirs
ConfigArgParse configargparse
connection-pool connection-pool
datrie datrie
docutils docutils

View file

@ -43,7 +43,7 @@ python27Packages.buildPythonApplication {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = [ deps.oildev python27Packages.ConfigArgParse ]; propagatedBuildInputs = [ deps.oildev python27Packages.configargparse ];
patchPhase = '' patchPhase = ''
for file in resholve; do for file in resholve; do

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, python, runCommand , python, runCommand
, fetchFromGitHub , fetchFromGitHub
, ConfigArgParse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface , configargparse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
, dialog, gnureadline , dialog, gnureadline
, pytest-xdist, pytestCheckHook, python-dateutil , pytest-xdist, pytestCheckHook, python-dateutil
}: }:
@ -21,7 +21,7 @@ buildPythonPackage rec {
sourceRoot = "source/${pname}"; sourceRoot = "source/${pname}";
propagatedBuildInputs = [ propagatedBuildInputs = [
ConfigArgParse configargparse
acme acme
configobj configobj
cryptography cryptography

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic, { lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic,
unidecode, mock, pytest , backports-shutil-which, ConfigArgParse, unidecode, mock, pytest , backports-shutil-which, configargparse,
python-daemon, pymsgbox }: python-daemon, pymsgbox }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
sha256 = "16y1y9ahcv3wj7f0v4mfiwzkmn2hz1iv7y13cgr57sxa3ymyqx6c"; sha256 = "16y1y9ahcv3wj7f0v4mfiwzkmn2hz1iv7y13cgr57sxa3ymyqx6c";
}; };
propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse propagatedBuildInputs = [ unidecode backports-shutil-which configargparse
python-daemon pymsgbox ecdsa ed25519 mnemonic semver ]; python-daemon pymsgbox ecdsa ed25519 mnemonic semver ];
checkInputs = [ mock pytest ]; checkInputs = [ mock pytest ];

View file

@ -1,5 +1,5 @@
{ lib, fetchPypi, buildPythonPackage, pythonAtLeast, intervaltree, pyflakes, requests, lxml, google-i18n-address { lib, fetchPypi, buildPythonPackage, pythonAtLeast, intervaltree, pyflakes, requests, lxml, google-i18n-address
, pycountry, html5lib, six, kitchen, pypdf2, dict2xml, weasyprint, pyyaml, jinja2, ConfigArgParse, appdirs , pycountry, html5lib, six, kitchen, pypdf2, dict2xml, weasyprint, pyyaml, jinja2, configargparse, appdirs
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -27,7 +27,7 @@ buildPythonPackage rec {
pypdf2 pypdf2
dict2xml dict2xml
weasyprint weasyprint
ConfigArgParse configargparse
appdirs appdirs
]; ];

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
}; };
pyenv = python3.withPackages (pythonPackages: with pythonPackages; [ pyenv = python3.withPackages (pythonPackages: with pythonPackages; [
ConfigArgParse configargparse
]); ]);
postConfigure = '' postConfigure = ''

View file

@ -21,7 +21,7 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
cached-property cached-property
ConfigArgParse configargparse
pyparsing pyparsing
jinja2 jinja2
nose nose

View file

@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
attrs ConfigArgParse ffmpeg future lxml requests attrs configargparse ffmpeg future lxml requests
]; ];
pythonPath = [ rtmpdump php wget ]; pythonPath = [ rtmpdump php wget ];

View file

@ -16,7 +16,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
propagatedBuildInputs = [ propagatedBuildInputs = [
ConfigArgParse configargparse
argcomplete argcomplete
beautifulsoup4 beautifulsoup4
pyopenssl pyopenssl

View file

@ -26825,7 +26825,7 @@ in
rofi-systemd = callPackage ../tools/system/rofi-systemd { }; rofi-systemd = callPackage ../tools/system/rofi-systemd { };
rofimoji = callPackage ../applications/misc/rofimoji { rofimoji = callPackage ../applications/misc/rofimoji {
inherit (python3Packages) buildPythonApplication ConfigArgParse; inherit (python3Packages) buildPythonApplication configargparse;
}; };
rootlesskit = callPackage ../tools/virtualization/rootlesskit {}; rootlesskit = callPackage ../tools/virtualization/rootlesskit {};

View file

@ -36,6 +36,7 @@ mapAliases ({
blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29
bt_proximity = bt-proximity; # added 2021-07-02 bt_proximity = bt-proximity; # added 2021-07-02
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27 bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27
ConfigArgParse = configargparse; # added 2021-03-18
dateutil = python-dateutil; # added 2021-07-03 dateutil = python-dateutil; # added 2021-07-03
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04 detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
dftfit = throw "it's dependency lammps-cython no longer builds"; dftfit = throw "it's dependency lammps-cython no longer builds";

View file

@ -1607,7 +1607,6 @@ in {
conda = callPackage ../development/python-modules/conda { }; conda = callPackage ../development/python-modules/conda { };
ConfigArgParse = self.configargparse; # added 2021-03-18
configargparse = callPackage ../development/python-modules/configargparse { }; configargparse = callPackage ../development/python-modules/configargparse { };
configobj = callPackage ../development/python-modules/configobj { }; configobj = callPackage ../development/python-modules/configobj { };