pythonPackages.zope_location: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:34:41 -04:00
parent 86172105e7
commit 5537f6a402
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 22 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, zope_proxy
}:
buildPythonPackage rec {
pname = "zope.location";
version = "4.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1nj9da4ksiyv3h8n2vpzwd0pb03mdsh7zy87hfpx72b6p2zcwg74";
};
propagatedBuildInputs = [ zope_proxy ];
# ignore circular dependency on zope_schema
preBuild = ''
sed -i '/zope.schema/d' setup.py
'';
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/zopefoundation/zope.location/;
description = "Zope Location";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View File

@ -4206,28 +4206,7 @@ in {
zope_lifecycleevent = callPackage ../development/python-modules/zope_lifecycleevent { }; zope_lifecycleevent = callPackage ../development/python-modules/zope_lifecycleevent { };
zope_location = buildPythonPackage rec { zope_location = callPackage ../development/python-modules/zope_location { };
name = "zope.location-4.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zope.location/zope.location-4.0.3.tar.gz";
sha256 = "1nj9da4ksiyv3h8n2vpzwd0pb03mdsh7zy87hfpx72b6p2zcwg74";
};
propagatedBuildInputs = with self; [ zope_proxy ];
# ignore circular dependency on zope_schema
preBuild = ''
sed -i '/zope.schema/d' setup.py
'';
doCheck = false;
meta = {
maintainers = with maintainers; [ goibhniu ];
};
};
zope_proxy = buildPythonPackage rec { zope_proxy = buildPythonPackage rec {
name = "zope.proxy-4.1.6"; name = "zope.proxy-4.1.6";