Merge pull request #110670 from siraben/double-quotes-fix
treewide: fix double quoted strings in one-liners
This commit is contained in:
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''HOME=$TMP nosetests'';
|
||||
checkPhase = "HOME=$TMP nosetests";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Set of packages that Enthought has found useful in creating a number of applications.";
|
||||
|
||||
@@ -6,7 +6,7 @@ buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
sha256 = "0s84kd9vblbjz61q7zchx64a6hmdqb4lillna5ryh0g9ij76g6r5";
|
||||
};
|
||||
preBuild = ''echo > README.rst'';
|
||||
preBuild = "echo > README.rst";
|
||||
# setup.py uses a python3 os.path.join
|
||||
disabled = !isPy3k;
|
||||
propagatedBuildInputs = [ pygtrie ];
|
||||
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
pytest-benchmark
|
||||
];
|
||||
|
||||
checkPhase = ''pytest --benchmark-skip'';
|
||||
checkPhase = "pytest --benchmark-skip";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
|
||||
@@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''nosetests'';
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Emoji for Python";
|
||||
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
and not test_conditional_upload and not test_conditional_download_with_older_target \
|
||||
''
|
||||
# need until https://ftputil.sschwarzer.net/trac/ticket/140#ticket is fixed
|
||||
+ lib.optionalString stdenv.isDarwin ''and not test_error_message_reuse''
|
||||
+ lib.optionalString stdenv.isDarwin "and not test_error_message_reuse"
|
||||
+ ''"'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
# Suppress overly verbose output if tests run successfully
|
||||
checkPhase = ''pytest >/dev/null || pytest'';
|
||||
checkPhase = "pytest >/dev/null || pytest";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jpvanhal/inflection";
|
||||
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ pbr python-jenkins pyyaml six stevedore fasteners jinja2 ];
|
||||
|
||||
# Need to fix test deps, relies on stestr and a few other packages that aren't available on nixpkgs
|
||||
checkPhase = ''$out/bin/jenkins-jobs --help'';
|
||||
checkPhase = "$out/bin/jenkins-jobs --help";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
|
||||
|
||||
@@ -31,7 +31,7 @@ in buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
# We do not want any wrappers here.
|
||||
postFixup = '''';
|
||||
postFixup = "";
|
||||
|
||||
checkPhase = ''
|
||||
tests/run-tests
|
||||
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytest pytestcov mock cmdline ];
|
||||
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
|
||||
checkPhase = '' py.test tests/unit '';
|
||||
checkPhase = "py.test tests/unit ";
|
||||
|
||||
nativeBuildInputs = [ pytest ];
|
||||
|
||||
|
||||
@@ -28,8 +28,7 @@ buildPythonPackage rec {
|
||||
else
|
||||
''--replace 'ALT_TOOL = "bsdtar"' "ALT_TOOL = \"${libarchive}/bin/bsdtar\""
|
||||
'')
|
||||
+ ''
|
||||
'';
|
||||
+ "";
|
||||
# the tests only work with the standard unrar package
|
||||
doCheck = useUnrar;
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
Reference in New Issue
Block a user