dev-python/patch-ng: Bump to 1.19.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-09 04:38:13 +02:00
parent 799b63c03c
commit 77bc6dda1c
2 changed files with 33 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST python-patch-ng-1.18.1.gh.tar.gz 166492 BLAKE2B c9285805cc0efe8ce033df5a2eedc01fe9fdf8986cc614f5b2b656d94462b538062f033930a4810eba95de9880a6536a9dfa901b62faf3aef5e272b1fa43f712 SHA512 e744711d652447bbf0881fd097ed35bddeccec8dd3b45a898e27f8846b664d23cd5313f09a7d92e431cce5c069acb7fa50dd8875fe2324146b2bd0ea6fd44cf5
DIST python-patch-ng-1.19.0.gh.tar.gz 174192 BLAKE2B 7349d445a1a60c4eeb0f8fc3daf6a4918866700845212c1960964103ecf878b5299a5956e7d2b33ae7cf3222fca2d365a6a53614cb9848d9c25368ff1a534931 SHA512 2a0f65de2970e40a1d6152854d1dbfcccc8f14ef6f0f809e2ff974251dfaa1af995eef6ff514d36b0ee5bca874e34a592b0f1babff0d430377e415ea5cc32fc7

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
MY_P=python-patch-ng-${PV}
DESCRIPTION="Library to parse and apply unified diffs, fork of dev-python/patch"
HOMEPAGE="
https://github.com/conan-io/python-patch-ng/
https://pypi.org/project/patch-ng/
"
SRC_URI="
https://github.com/conan-io/python-patch-ng/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
distutils_enable_tests unittest
python_test() {
"${EPYTHON}" -m unittest -v tests/run_tests.py ||
die "Tests failed under ${EPYTHON}"
}