python3Packages.zope-index: init at 8.0

This commit is contained in:
Daniel Fahey
2025-10-27 00:06:30 +00:00
parent 5ad8a6252c
commit e36a5b759d
2 changed files with 66 additions and 0 deletions
@@ -0,0 +1,64 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
btrees,
persistent,
zope-interface,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zope-index";
version = "8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.index";
tag = "${version}";
hash = "sha256-dHapd/+pJh6qzVx9FGSMmPsGbz8NhAoPqufXm3FOuM8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [
setuptools
];
dependencies = [
btrees
persistent
zope-interface
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"zope.index"
];
pythonNamespaces = [
"zope"
];
meta = {
description = "Full-text indexing and searching for Zope";
homepage = "https://github.com/zopefoundation/zope.index";
changelog = "https://github.com/zopefoundation/zope.index/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = with lib.maintainers; [ daniel-fahey ];
};
}
+2
View File
@@ -20660,6 +20660,8 @@ self: super: with self; {
zope-i18nmessageid = callPackage ../development/python-modules/zope-i18nmessageid { };
zope-index = callPackage ../development/python-modules/zope-index { };
zope-interface = callPackage ../development/python-modules/zope-interface { };
zope-lifecycleevent = callPackage ../development/python-modules/zope-lifecycleevent { };