Merge pull request #30082 from makefu/pkgs/devpi-client/update

devpi-client: 2.7.0 -> 3.1.0rc1
This commit is contained in:
Orivej Desh
2017-10-05 09:01:21 +00:00
committed by GitHub
3 changed files with 40 additions and 30 deletions

View File

@@ -0,0 +1,26 @@
{ pythonPackages }:
with pythonPackages;buildPythonPackage rec {
pname = "devpi-common";
version = "3.2.0rc1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1ws35g1r0j2xccsna4r6fc9a08przfi28kf9hciq3rmd6ndbr9c9";
};
propagatedBuildInputs = [ requests py ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = {
homepage = https://github.com/devpi/devpi;
description = "Utilities jointly used by devpi-server and devpi-client";
license = licenses.mit;
maintainers = with maintainers; [ lewo makefu ];
};
}

View File

@@ -1,20 +1,22 @@
{ stdenv, fetchurl, pythonPackages, glibcLocales} :
{ stdenv, pythonPackages, glibcLocales} :
pythonPackages.buildPythonApplication rec {
name = "devpi-client-${version}";
version = "2.7.0";
name = "${pname}-${version}";
pname = "devpi-client";
version = "3.1.0rc1";
src = fetchurl {
url = "mirror://pypi/d/devpi-client/${name}.tar.gz";
sha256 = "0z7vaf0a66n82mz0vx122pbynjvkhp2mjf9lskgyv09y3bxzzpj3";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0kfyva886k9zxmilqb2yviwqzyvs3n36if3s56y4clbvw9hr2lc3";
};
doCheck = false;
# requires devpi-server which is currently not packaged
doCheck = true;
checkInputs = with pythonPackages; [ pytest webtest mock ];
checkPhase = "py.test";
LC_ALL = "en_US.UTF-8";
buildInputs = with pythonPackages; [ glibcLocales tox check-manifest pkginfo ];
propagatedBuildInputs = with pythonPackages; [ py devpi-common ];
buildInputs = with pythonPackages; [ glibcLocales pkginfo tox check-manifest ];
propagatedBuildInputs = with pythonPackages; [ py devpi-common pluggy ];
meta = {
homepage = http://doc.devpi.net;