python312Packages.bugzilla: misc refactoring (#349141)

This commit is contained in:
Robert Schütz 2024-10-17 22:58:24 -07:00 committed by GitHub
commit ac76a342a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 9 deletions

View File

@ -7,7 +7,7 @@
twiggy, twiggy,
requests, requests,
offtrac, offtrac,
bugzilla, python-bugzilla,
taskw, taskw,
python-dateutil, python-dateutil,
pytz, pytz,
@ -39,7 +39,7 @@ buildPythonPackage rec {
twiggy twiggy
requests requests
offtrac offtrac
bugzilla python-bugzilla
taskw taskw
python-dateutil python-dateutil
pytz pytz

View File

@ -2,6 +2,7 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
setuptools,
requests, requests,
responses, responses,
pytestCheckHook, pytestCheckHook,
@ -9,17 +10,19 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bugzilla"; pname = "python-bugzilla";
version = "3.3.0"; version = "3.3.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
pname = "python_${pname}"; pname = "python_bugzilla";
inherit version; inherit version;
sha256 = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc="; hash = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc=";
}; };
propagatedBuildInputs = [ requests ]; build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook

View File

@ -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 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 bsblan = python-bsblan; # added 2022-11-04
btchip = btchip-python; # added 2023-03-03 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 = throw "use pkgs.buildbot instead"; # added 2022-04-07
buildbot-ui = throw "use pkgs.buildbot-ui 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 buildbot-full = throw "use pkgs.buildbot-full instead"; # added 2022-04-07

View File

@ -1902,8 +1902,6 @@ self: super: with self; {
bugz = callPackage ../development/python-modules/bugz { }; bugz = callPackage ../development/python-modules/bugz { };
bugzilla = callPackage ../development/python-modules/bugzilla { };
buienradar = callPackage ../development/python-modules/buienradar { }; buienradar = callPackage ../development/python-modules/buienradar { };
build = callPackage ../development/python-modules/build { }; build = callPackage ../development/python-modules/build { };
@ -9135,6 +9133,8 @@ self: super: with self; {
plugp100 = callPackage ../development/python-modules/plugp100 {}; plugp100 = callPackage ../development/python-modules/plugp100 {};
python-bugzilla = callPackage ../development/python-modules/python-bugzilla { };
python-hcl2 = callPackage ../development/python-modules/python-hcl2 { }; python-hcl2 = callPackage ../development/python-modules/python-hcl2 { };
python-ndn = callPackage ../development/python-modules/python-ndn { }; python-ndn = callPackage ../development/python-modules/python-ndn { };