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

update py3dns (#351242)

parents fd6662df 6a06432e
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -2,24 +2,20 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  flit-core,
}:

buildPythonPackage rec {
  pname = "py3dns";
  version = "3.2.1";
  format = "setuptools";
  version = "4.0.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1r25f0ys5p37bhld7m7n4gb0lrysaym3w318w2f8bncq7r3d81qz";
    hash = "sha256-mGUugOzsFDxg948OazQWMcqadWDt2N3fyGTAKQJhijk=";
  };

  preConfigure = ''
    sed -i \
      -e '/import DNS/d' \
      -e 's/DNS.__version__/"${version}"/g' \
      setup.py
  '';
  build-system = [ flit-core ];

  doCheck = false;

+2 −2
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  fetchFromGitHub,
  libmilter,
  berkeleydb,
  pydns,
  py3dns,
  iana-etc,
  libredirect,
  pyasyncore,
@@ -30,7 +30,7 @@ buildPythonPackage rec {
  nativeCheckInputs = [ pyasyncore ];
  dependencies = [
    berkeleydb
    pydns
    py3dns
  ];

  preBuild = ''
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pydns,
  py3dns,
}:

buildPythonPackage rec {
@@ -17,7 +17,7 @@ buildPythonPackage rec {
    sha256 = "0bmimlmwrq9glnjc4i6pwch30n3y5wyqmkjfyayxqxkfrixqwydi";
  };

  propagatedBuildInputs = [ pydns ];
  propagatedBuildInputs = [ py3dns ];

  # requires /etc/resolv.conf to exist
  doCheck = false;
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ python3.pkgs.buildPythonApplication rec {
      dnspython
      docopt
      publicsuffixlist
      pydns
      py3dns
      pyspf
      requests
    ]
+1 −0
Original line number Diff line number Diff line
@@ -439,6 +439,7 @@ mapAliases ({
  pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
  pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
  pycontracts = throw "pycontracts has been removed, since upstream is no longer active and it is broken on modern Python versions."; # added 2024-08-09
  pydns = py3dns; # added 2024-10-25
  pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
  pyjet = throw "pyjet is deprecated, use fastjet instead"; # added 2023-05-10
  pygame_sdl2 = pygame-sdl2; # added 2024-01-07
Loading