diff options
Diffstat (limited to 'dev-python/patch-ng')
-rw-r--r-- | dev-python/patch-ng/Manifest | 2 | ||||
-rw-r--r-- | dev-python/patch-ng/patch-ng-1.18.0.ebuild | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/patch-ng/Manifest b/dev-python/patch-ng/Manifest index 2143b81d5919..bf7a49bcd815 100644 --- a/dev-python/patch-ng/Manifest +++ b/dev-python/patch-ng/Manifest @@ -1,3 +1,5 @@ DIST patch-ng-1.17.4.gh.tar.gz 168306 BLAKE2B 78067e3c3d296a21f8fd4155fe770245ba4457cb9e37003f5e7667c30827878a8c06d62c77bb1fdaf61b96a813612a7c39800d7040b13a9d18f0baeccbd86ba1 SHA512 919c04c3adfa36672f3db5f1761a12ccbb08ccfb890015bb0d27b1801c8c7dba99c4da01674b269703a7cbf39df5889f5c446551bb4cf7039dc383c23d8a5db3 +DIST patch-ng-1.18.0.gh.tar.gz 166380 BLAKE2B b3a53f2586763000c9a38d2acf25b4b1d236f34da8f0d0105a78d07bee46f30b5fb27ad0223cf274e83def6e66a1ec752f672d0a7e7df2f08280116ed26add30 SHA512 e4c271d5b8bfdcc756a8bb4f678de29f573190a4c1b3e9eb4b6c2564b008c38eb022c644c1bbee2412e7ee2e0ba08c161408303a3fbd223decd85bb6e63f24a9 EBUILD patch-ng-1.17.4-r1.ebuild 708 BLAKE2B 1dd3800d93689b84f3988bc03f2726269f2ebf2e535998c806beff2312e0ded0a86703d1443b375da1cd021698d5d6521890353ceeaca3460e133ee6c4d63c68 SHA512 1926dbcc242a1bba3f7ce8f978c5058a8620d79b3cbc85730143e533dac7459c8741bc43f90cc2a35568c49c36589aa5813279a022ff234535a1ae0f418d4fa8 +EBUILD patch-ng-1.18.0.ebuild 711 BLAKE2B 592d81fadba30c6c23cb7ac1df11a07b0f7658594103a01ba2efbda7d5ec294f3ee5d58984bf187a26379a37bea15632b1315e773cba7ccf736f9fc999c1208a SHA512 fbb8e3f6acd2f8c5ca0aaa29508ea2bc9944e09d39f3915e00b71d0163a78aaa49e21f03b27981ff5a73887e28d24d9d6cac9686811fa56f036d21a02781922c MISC metadata.xml 566 BLAKE2B f9ded2a7b10ffeff462e602935fd91ae0ab6221bf4474816ea170407938b13a8df8de19180eac604319de32a5b1c5bc27466589a860be4fd7bb18c24148afef5 SHA512 e7bbd1d0f1aae36571945e62b6e73744d7d64dfe3019b2d1be97b460a4b0fbaa062c868a3a294cc44fa9ebeeaa80d91ba42f6629d4c44c9bf48145edf0412d9f diff --git a/dev-python/patch-ng/patch-ng-1.18.0.ebuild b/dev-python/patch-ng/patch-ng-1.18.0.ebuild new file mode 100644 index 000000000000..75b1ad3ff4fd --- /dev/null +++ b/dev-python/patch-ng/patch-ng-1.18.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 ~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}" +} |