Merge pull request #247898 from r-ryantm/auto-update/python310Packages.pypiserver

python310Packages.pypiserver: 1.5.1 -> 1.5.2
This commit is contained in:
Weijia Wang
2023-08-13 16:39:00 +02:00
committed by GitHub
@@ -1,57 +1,82 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, lib
, passlib
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-git
, twine
, watchdog
, webtest
}:
buildPythonPackage rec {
pname = "pypiserver";
version = "1.5.1";
version = "1.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-1tV3pVEC5sIjT0tjbujU7l41Jx7PQ1dCn4B1r94C9xE=";
rev = "refs/tags/v${version}";
hash = "sha256-jub+iVL/YeGaG9Vzqyyfc4qFi0cR+7xrzuXNHL5W4p4=";
};
nativeBuildInputs = [ setuptools-git ];
nativeBuildInputs = [
setuptools-git
];
propagatedBuildInputs = [ setuptools ];
propagatedBuildInputs = [
setuptools
];
passthru.optional-dependencies = {
passlib = [
passlib
];
cache = [
watchdog
];
};
preCheck = ''
export HOME=$TMPDIR
'';
nativeCheckInputs = [
passlib
pytestCheckHook
twine
webtest
];
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
disabledTests = [
# fails to install the package
# Fails to install the package
"test_hash_algos"
"test_pip_install_authed_succeeds"
"test_pip_install_open_succeeds"
"test_pip_install_authed_fails"
# Tests want to tests upload
"upload"
"register"
"test_partial_authed_open_download"
];
disabledTestPaths = [
# requires docker service running
# Test requires docker service running
"docker/test_docker.py"
];
pythonImportsCheck = [ "pypiserver" ];
pythonImportsCheck = [
"pypiserver"
];
meta = with lib; {
homepage = "https://github.com/pypiserver/pypiserver";
description = "Minimal PyPI server for use with pip/easy_install";
homepage = "https://github.com/pypiserver/pypiserver";
changelog = "https://github.com/pypiserver/pypiserver/releases/tag/v${version}";
license = with licenses; [ mit zlib ];
maintainers = with maintainers; [ austinbutler ];
};