Просмотр исходного кода

devpi-client: 5.0.0 -> 5.2.0

wip-nanopi-m4v2
Jonathan Ringer 6 лет назад
committed by Jon
Родитель
Сommit
4ecc2d857f
1 измененных файлов: 5 добавлений и 17 удалений
  1. +5
    -17
      pkgs/development/tools/devpi-client/default.nix

+ 5
- 17
pkgs/development/tools/devpi-client/default.nix Просмотреть файл

@@ -21,15 +21,15 @@
, wheel , wheel
, git , git
, mercurial , mercurial
} :
}:


buildPythonApplication rec { buildPythonApplication rec {
pname = "devpi-client"; pname = "devpi-client";
version = "5.0.0";
version = "5.2.0";


src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0hyj3xc5c6658slk5wgcr9rh7hwi5r3hzxk1p6by61sqx5r38v3q";
sha256 = "1y8r1pjav0gyrbnyqjnc202sa962n1gasi8233xj7jc39lv3iq40";
}; };


buildInputs = [ glibcLocales pkginfo check-manifest ]; buildInputs = [ glibcLocales pkginfo check-manifest ];
@@ -42,21 +42,9 @@ buildPythonApplication rec {
sphinx wheel git mercurial sphinx wheel git mercurial
]; ];


# --fast skips tests which try to start a devpi-server improperly
checkPhase = '' checkPhase = ''
export PATH=$PATH:$out/bin
export HOME=$TMPDIR # fix tests failing in sandbox due to "/homeless-shelter"

# test_pypi_index_attributes: tries to connect to upstream pypi
# test_test: setuptools does not get propagated into the tox call (cannot import setuptools), also no detox
# test_index: hangs forever
# test_upload: fails multiple times with
# > assert args[0], args
# F AssertionError: [None, local('/build/pytest-of-nixbld/pytest-0/test_export_attributes_git_set0/repo2/setupdir/setup.py'), '--name']

py.test -k 'not test_pypi_index_attributes \
and not test_test \
and not test_index \
and not test_upload' testing
HOME=$TMPDIR py.test --fast
''; '';


LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";


Загрузка…
Отмена
Сохранить