Unverified Commit ac76a342 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

python312Packages.bugzilla: misc refactoring (#349141)

parents 030d387a 2dc3caa0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  twiggy,
  requests,
  offtrac,
  bugzilla,
  python-bugzilla,
  taskw,
  python-dateutil,
  pytz,
@@ -39,7 +39,7 @@ buildPythonPackage rec {
    twiggy
    requests
    offtrac
    bugzilla
    python-bugzilla
    taskw
    python-dateutil
    pytz
+8 −5
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  requests,
  responses,
  pytestCheckHook,
@@ -9,17 +10,19 @@
}:

buildPythonPackage rec {
  pname = "bugzilla";
  pname = "python-bugzilla";
  version = "3.3.0";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    pname = "python_${pname}";
    pname = "python_bugzilla";
    inherit version;
    sha256 = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc=";
    hash = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc=";
  };

  propagatedBuildInputs = [ requests ];
  build-system = [ setuptools ];

  dependencies = [ requests ];

  nativeCheckInputs = [
    pytestCheckHook
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ mapAliases ({
  boto = throw "boto was removed as it is deprecated upstream, had not been updated since 2018, and failed to build; please use boto3 and botocore"; # Added 2024-09-22
  bsblan = python-bsblan; # added 2022-11-04
  btchip = btchip-python; # added 2023-03-03
  bugzilla = python-bugzilla; # added 2024-10-17
  buildbot = throw "use pkgs.buildbot instead"; # added 2022-04-07
  buildbot-ui = throw "use pkgs.buildbot-ui instead"; # added 2022-04-07
  buildbot-full = throw "use pkgs.buildbot-full instead"; # added 2022-04-07
+2 −2
Original line number Diff line number Diff line
@@ -1902,8 +1902,6 @@ self: super: with self; {
  bugz = callPackage ../development/python-modules/bugz { };
  bugzilla = callPackage ../development/python-modules/bugzilla { };
  buienradar = callPackage ../development/python-modules/buienradar { };
  build = callPackage ../development/python-modules/build { };
@@ -9135,6 +9133,8 @@ self: super: with self; {
  plugp100 = callPackage ../development/python-modules/plugp100 {};
  python-bugzilla = callPackage ../development/python-modules/python-bugzilla { };
  python-hcl2 = callPackage ../development/python-modules/python-hcl2 { };
  python-ndn = callPackage ../development/python-modules/python-ndn { };