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
commit 0eb0a404e5
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;

View File

@ -2355,25 +2355,7 @@ in {
};
};
devpi-common = buildPythonPackage rec {
name = "devpi-common";
version = "3.0.1";
src = pkgs.fetchurl {
url = "mirror://pypi/d/devpi-common/devpi-common-${version}.tar.gz";
sha256 = "0l3a7iyk596x6pvzg7604lzzi012qszr804fqn6f517zcy1xz23j";
};
propagatedBuildInputs = [ self.requests self.py ];
meta = {
homepage = https://bitbucket.org/hpk42/devpi;
description = "Utilities jointly used by devpi-server and devpi-client";
license = licenses.mit;
maintainers = with maintainers; [ lewo makefu ];
};
};
devpi-common = callPackage ../development/python-modules/devpi-common { };
# A patched version of buildout, useful for buildout based development on Nix
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };