From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7A77A158010 for ; Tue, 21 Feb 2023 16:46:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5785E0D36; Tue, 21 Feb 2023 16:46:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1D7EE0D36 for ; Tue, 21 Feb 2023 16:46:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB80133BE91 for ; Tue, 21 Feb 2023 16:46:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81F6B8BC for ; Tue, 21 Feb 2023 16:46:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676997932.796263ba8fad828f5e37f0fd56a1a97498e8adc3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/patch-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/patch-ng/Manifest dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild X-VCS-Directories: dev-python/patch-ng/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 796263ba8fad828f5e37f0fd56a1a97498e8adc3 X-VCS-Branch: master Date: Tue, 21 Feb 2023 16:46:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3818595f-0b04-4012-90d7-60f88e7db544 X-Archives-Hash: ed7279d60b253166ac86610be4f5c159 commit: 796263ba8fad828f5e37f0fd56a1a97498e8adc3 Author: Sam James gentoo org> AuthorDate: Tue Feb 21 16:45:19 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 21 16:45:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796263ba dev-python/patch-ng: PEP517, pypi.eclass, gh distfile name Signed-off-by: Sam James gentoo.org> dev-python/patch-ng/Manifest | 1 + dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dev-python/patch-ng/Manifest b/dev-python/patch-ng/Manifest index 1db7aa9b24b4..cbaba8cda024 100644 --- a/dev-python/patch-ng/Manifest +++ b/dev-python/patch-ng/Manifest @@ -1 +1,2 @@ +DIST patch-ng-1.17.4.gh.tar.gz 168306 BLAKE2B 78067e3c3d296a21f8fd4155fe770245ba4457cb9e37003f5e7667c30827878a8c06d62c77bb1fdaf61b96a813612a7c39800d7040b13a9d18f0baeccbd86ba1 SHA512 919c04c3adfa36672f3db5f1761a12ccbb08ccfb890015bb0d27b1801c8c7dba99c4da01674b269703a7cbf39df5889f5c446551bb4cf7039dc383c23d8a5db3 DIST patch-ng-1.17.4.tar.gz 168306 BLAKE2B 78067e3c3d296a21f8fd4155fe770245ba4457cb9e37003f5e7667c30827878a8c06d62c77bb1fdaf61b96a813612a7c39800d7040b13a9d18f0baeccbd86ba1 SHA512 919c04c3adfa36672f3db5f1761a12ccbb08ccfb890015bb0d27b1801c8c7dba99c4da01674b269703a7cbf39df5889f5c446551bb4cf7039dc383c23d8a5db3 diff --git a/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild b/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild new file mode 100644 index 000000000000..8c7d3ed6641a --- /dev/null +++ b/dev-python/patch-ng/patch-ng-1.17.4-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +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 -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests unittest + +python_test() { + "${EPYTHON}" -m unittest -v tests/run_tests.py || die "Tests failed under ${EPYTHON}" +}