Unverified Commit 19658025 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #259576 from natsukium/zope-deprecation

python311Packages.zope-deprecation: 4.4.0 -> 5.0; rename from zope_deprecation
parents 8ba42097 63583778
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
, chameleon, colander, iso8601, peppercorn, translationstring, zope-deprecation
, nose, coverage, beautifulsoup4, flaky, pyramid, pytestCheckHook }:

buildPythonPackage rec {
@@ -17,7 +17,7 @@ buildPythonPackage rec {
    iso8601
    peppercorn
    translationstring
    zope_deprecation
    zope-deprecation
  ];

  nativeCheckInputs = [
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
, markupsafe
, jinja2
, pytestCheckHook
, zope_deprecation
, zope-deprecation
, pyramid
, pythonOlder
}:
@@ -27,7 +27,7 @@ buildPythonPackage rec {
    markupsafe
    jinja2
    pyramid
    zope_deprecation
    zope-deprecation
  ];

  nativeCheckInputs = [
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
, translationstring
, venusian
, webob
, zope_deprecation
, zope-deprecation
, zope_interface
, pythonOlder
}:
@@ -37,7 +37,7 @@ buildPythonPackage rec {
    translationstring
    venusian
    webob
    zope_deprecation
    zope-deprecation
    zope_interface
  ];

+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
, fetchPypi
, zope_configuration
, zope-deferredimport
, zope_deprecation
, zope-deprecation
, zope_event
, zope-hookable
, zope-i18nmessageid
@@ -24,7 +24,7 @@ buildPythonPackage rec {
  propagatedBuildInputs = [
    zope_configuration
    zope-deferredimport
    zope_deprecation
    zope-deprecation
    zope_event
    zope-hookable
    zope-i18nmessageid
+46 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, zope_testing
, pythonOlder
, setuptools
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "zope.deprecation";
  version = "4.4.0";
  pname = "zope-deprecation";
  version = "5.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0d453338f04bacf91bbfba545d8bcdf529aa829e67b705eac8c1a7fdce66e2df";
    pname = "zope.deprecation";
    inherit version;
    hash = "sha256-t8MtM5IDayFFxAsxA+cyLbaGYqsJtyZ6/hUyqdk/ZA8=";
  };

  buildInputs = [ zope_testing ];
  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

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

  pythonImportsCheck = [
    "zope.deprecation"
  ];

  meta = with lib; {
    homepage = "https://github.com/zopefoundation/zope.deprecation";
    description = "Zope Deprecation Infrastructure";
    license = licenses.zpl20;
    changelog = "https://github.com/zopefoundation/zope.deprecation/blob/${version}/CHANGES.rst";
    license = licenses.zpl21;
    maintainers = with maintainers; [ domenkozar ];
  };

Loading