Unverified Commit f5b44f36 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #266889 from natsukium/zope-dottedname

python311Packages.zope-dottedname: 5.0 -> 6.0; rename from zope_dottedname
parents 15bec519 ecd06825
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "zope-dottedname";
  version = "6.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "zope.dottedname";
    inherit version;
    hash = "sha256-28S4W/vzSx74jasWJSrG7xbZBDnyIjstCiYs9Bnq6QI=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pytestFlagsArray = [
    "src/zope/dottedname/tests.py"
  ];

  pythonImportsCheck = [
    "zope.dottedname"
  ];

  pythonNamespaces = [
    "zope"
  ];

  meta = with lib; {
    homepage = "https://github.com/zopefoundation/zope.dottedname";
    description = "Resolver for Python dotted names";
    changelog = "https://github.com/zopefoundation/zope.dottedname/blob/${version}/CHANGES.rst";
    license = licenses.zpl21;
    maintainers = with maintainers; [ goibhniu ];
  };
}
+0 −22
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "zope.dottedname";
  version = "5.0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-mfWDqAKFhqtMIXlGE+QR0BDNCZF/RdqXa9/udI87++w=";
  };

  meta = with lib; {
    homepage = "http://pypi.python.org/pypi/zope.dottedname";
    description = "Resolver for Python dotted names";
    license = licenses.zpl20;
    maintainers = with maintainers; [ goibhniu ];
  };

}
+1 −0
Original line number Diff line number Diff line
@@ -460,6 +460,7 @@ mapAliases ({
  zope_component = zope-component; # added 2023-07-28
  zope_contenttype = zope-contenttype; # added 2023-10-11
  zope_deprecation = zope-deprecation; # added 2023-10-07
  zope_dottedname = zope-dottedname; # added 2023-11-12
  zope_i18nmessageid = zope-i18nmessageid; # added 2023-07-29
  zope_lifecycleevent = zope-lifecycleevent; # added 2023-10-11
  zope_proxy = zope-proxy; # added 2023-10-07
+1 −1
Original line number Diff line number Diff line
@@ -16091,7 +16091,7 @@ self: super: with self; {
  zope-deprecation = callPackage ../development/python-modules/zope-deprecation { };
  zope_dottedname = callPackage ../development/python-modules/zope_dottedname { };
  zope-dottedname = callPackage ../development/python-modules/zope-dottedname { };
  zope_event = callPackage ../development/python-modules/zope_event { };