Unverified Commit c1410b5c authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

python3Packages.exiv2: 0.18.0 -> 0.18.1; several improvements (#502171)

parents 2ac71c20 2d7acc0c
Loading
Loading
Loading
Loading
+6 −19
Original line number Diff line number Diff line
@@ -9,32 +9,19 @@
  setuptools,
  toml,
  pytestCheckHook,
  fetchpatch,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "exiv2";
  version = "0.18.0";
  version = "0.18.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jim-easterbrook";
    repo = "python-exiv2";
    tag = version;
    hash = "sha256-lYz0TWiiBtpwZ56Oiy2v8DFBXoofMv60hxsG0q7Cx9Y=";
    tag = finalAttrs.version;
    hash = "sha256-3r0qGsCkfe2sQuXiCipXzW0vF2JRg77L1IcOiLTPslM=";
  };

  patches = [
    # Disable refcount tests for python >= 3.14
    (fetchpatch {
      url = "https://github.com/jim-easterbrook/python-exiv2/commit/fe98ad09ff30f1b6cc5fd5dcc0769f9505c09166.patch";
      hash = "sha256-+KepYfzocG6qkak+DwXFtCaMiLEAE+FegONgL4vo21o=";
    })
    (fetchpatch {
      url = "https://github.com/jim-easterbrook/python-exiv2/commit/e0a5284620e8d020771bf8c1fa73d6113e662ebf.patch";
      hash = "sha256-n/yfhP/Z4Is/+2bKsFZtcNXnQe61DjoE9Ryi2q9yTSA=";
    })
  ];

  build-system = [
    setuptools
    toml
@@ -54,8 +41,8 @@ buildPythonPackage rec {
  meta = {
    description = "Low level Python interface to the Exiv2 C++ library";
    homepage = "https://github.com/jim-easterbrook/python-exiv2";
    changelog = "https://python-exiv2.readthedocs.io/en/release-${src.tag}/misc/changelog.html";
    changelog = "https://github.com/jim-easterbrook/python-exiv2/blob/${finalAttrs.src.tag}/CHANGELOG.txt";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ zebreus ];
  };
}
})