python311Packages.zope-contenttype: refactor
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, zope_testrunner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope-contenttype";
|
||||
version = "4.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "zope.contenttype";
|
||||
@@ -14,12 +17,24 @@ buildPythonPackage rec {
|
||||
hash = "sha256-NnVoeLxSWzY2TQ1b2ZovCw/TuaUND+m73Eqxs4rCOAA=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ zope_testrunner ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
zope_testrunner
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zope.contenttype"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zopefoundation/zope.contenttype";
|
||||
description = "A utility module for content-type (MIME type) handling";
|
||||
license = licenses.zpl20;
|
||||
changelog = "https://github.com/zopefoundation/zope.contenttype/blob/${version}/CHANGES.rst";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user