mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python3Packages.zope_lifecycleevent: fix tests
This commit is contained in:
parent
7a8434c710
commit
22ef38bdad
1 changed files with 11 additions and 0 deletions
|
@ -1,8 +1,10 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, zope_event
|
||||
, zope_component
|
||||
, zope_interface
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -16,6 +18,15 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ zope_event zope_component ];
|
||||
|
||||
# namespace colides with local directory
|
||||
doCheck = false;
|
||||
|
||||
# zope uses pep 420 namespaces for python3, doesn't work with nix + python2
|
||||
pythonImportsCheck = stdenv.lib.optionals isPy3k [
|
||||
"zope.lifecycleevent"
|
||||
"zope.interface"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
|
||||
description = "Object life-cycle events";
|
||||
|
|
Loading…
Reference in a new issue