From 98bb3835b1ac991ba04a8d7390e67eb9f05a26b9 Mon Sep 17 00:00:00 2001 From: icp Date: Mon, 30 Jan 2023 00:56:22 +0530 Subject: [PATCH] xmldiff: update to 2.5. --- srcpkgs/xmldiff/template | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/srcpkgs/xmldiff/template b/srcpkgs/xmldiff/template index 2185fd18fffb..8fe8aae7a159 100644 --- a/srcpkgs/xmldiff/template +++ b/srcpkgs/xmldiff/template @@ -1,21 +1,26 @@ # Template file for 'xmldiff' pkgname=xmldiff -version=2.4 -revision=5 +version=2.5 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-lxml python3-six python3-setuptools" +depends="python3-lxml python3-setuptools" +checkdepends="${depends} python3-pytest" short_desc="Python3 classes to diff XML files" maintainer="prspkt " -license="LGPL-3.0-or-later" +license="MIT" homepage="https://github.com/Shoobx/xmldiff" changelog="https://raw.githubusercontent.com/Shoobx/xmldiff/master/CHANGES.rst" distfiles="${PYPI_SITE}/x/xmldiff/xmldiff-${version}.tar.gz" -checksum=05bea20ce1f2c9678683bcce0c3ba9981f87d92b709d190e018bcbf047eccf63 +checksum=6c5f30bc65ce6e81d9a70a3cb0269f7ba61852fd6caa7a0fbfc0edf33b3cb717 conflicts="python-xmldiff>=0" -post_patch() { - rm -f xmldiff/_diff_match_patch_py2.py +post_extract() { + rm xmldiff/_diff_match_patch_py2.py +} + +post_install() { + vlicense LICENSE.txt } python3-xmldiff_package() {