Unverified Commit 006bdaa1 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #310656 from fabaff/devpi-fix

devpi-client: 7.0.2 -> 7.0.3
parents 0db56407 4d45bf20
Loading
Loading
Loading
Loading
+35 −38
Original line number Diff line number Diff line
{ 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,10 +35,12 @@ python3.pkgs.buildPythonApplication rec {
    platformdirs
  ];

  nativeCheckInputs = [
  nativeCheckInputs =
    [
      devpi-server
      git
  ] ++ (with python3.pkgs; [
    ]
    ++ (with python3.pkgs; [
      mercurial
      mock
      pypitoken
@@ -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";
  };
}