Merge pull request #310656 from fabaff/devpi-fix

devpi-client: 7.0.2 -> 7.0.3
This commit is contained in:
Fabian Affolter
2024-05-11 08:46:36 +02:00
committed by GitHub
+35 -38
View File
@@ -1,37 +1,31 @@
{ lib
, devpi-server
, git
, glibcLocales
, python3
, fetchPypi
{
lib,
devpi-server,
git,
glibcLocales,
python3,
fetchPypi,
}:
python3.pkgs.buildPythonApplication rec {
pname = "devpi-client";
version = "7.0.2";
version = "7.0.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-oOX5Z8WXgNJYsgXqHE2CsXdDnA3XmDF6axD1D318bPQ=";
pname = "devpi_client";
inherit version;
hash = "sha256-5aF6EIFnhfywDeAfWSN+eZUpaO6diPCP5QHT11Y/IQI=";
};
postPatch = ''
substituteInPlace tox.ini \
--replace "--flake8" ""
'';
nativeBuildInputs = with python3.pkgs; [
build-system = with python3.pkgs; [
setuptools
setuptools-changelog-shortener
wheel
];
buildInputs = [
glibcLocales
];
buildInputs = [ glibcLocales ];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
build
check-manifest
devpi-common
@@ -41,19 +35,21 @@ python3.pkgs.buildPythonApplication rec {
platformdirs
];
nativeCheckInputs = [
devpi-server
git
] ++ (with python3.pkgs; [
mercurial
mock
pypitoken
pytestCheckHook
sphinx
virtualenv
webtest
wheel
]);
nativeCheckInputs =
[
devpi-server
git
]
++ (with python3.pkgs; [
mercurial
mock
pypitoken
pytestCheckHook
sphinx
virtualenv
webtest
wheel
]);
preCheck = ''
export HOME=$(mktemp -d);
@@ -68,16 +64,17 @@ python3.pkgs.buildPythonApplication rec {
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"devpi"
];
pythonImportsCheck = [ "devpi" ];
meta = with lib; {
description = "Client for devpi, a pypi index server and packaging meta tool";
mainProgram = "devpi";
homepage = "http://doc.devpi.net";
changelog = "https://github.com/devpi/devpi/blob/client-${version}/client/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ lewo makefu ];
maintainers = with maintainers; [
lewo
makefu
];
mainProgram = "devpi";
};
}