summaryrefslogtreecommitdiff
path: root/dev-python/patch-ng
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/patch-ng
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/patch-ng')
-rw-r--r--dev-python/patch-ng/Manifest4
-rw-r--r--dev-python/patch-ng/patch-ng-1.17.3.ebuild (renamed from dev-python/patch-ng/patch-ng-1.17.2.ebuild)10
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-python/patch-ng/Manifest b/dev-python/patch-ng/Manifest
index d6c0b98c8894..8c0c5cf8ccb8 100644
--- a/dev-python/patch-ng/Manifest
+++ b/dev-python/patch-ng/Manifest
@@ -1,3 +1,3 @@
-DIST patch-ng-1.17.2.tar.gz 17167 BLAKE2B aa9b577927417ca6c32f75d3240fd48d54f22a64684b105e5aedcfc3fe9200cc6c1e724f520596a09d3fb8351b98e963dead410cd53b06c76432b94321c82b1c SHA512 d8fd616507f970369516ba56e99329eca5c25e3fcdc52bb86f7a020f9c4dfe9f43e17999dec1b047fb902efb3254c2abb9f3f95673299116154882b3649ff7d1
-EBUILD patch-ng-1.17.2.ebuild 496 BLAKE2B 162e6434accec9d54d00830dac362ea1c867ced8fc578e53c788b604e66f216037b16b3ec297b6d92d938b10aa49b32c8b6349dffc55eaabdfee6fb8e7a28a9a SHA512 4f34f862957f90a396016109bfef30ed18b05f46845dbe4a01c23701ef55bf4ebf370ebaa92c036d088ade98c3487f0baa3b207100c37094995e838a9fd3000a
+DIST patch-ng-1.17.3.tar.gz 167588 BLAKE2B 970b136e8a17ea67e1c578292c19905fda0bf821f9ce89ea95a81af7e146f9d4e715937fc261c0e79854c2593bdfae95223b00c9a5eb4853059b9c9f582fcbac SHA512 1d1f9097fa16d3105b301d4f6d2e9661634a9aca42c1a5ae1f60c3aa6e66d4bdde82f53275d0c52ef2647f77d2dfab2cbb3df2a31c859eb18350267f2f5897e9
+EBUILD patch-ng-1.17.3.ebuild 704 BLAKE2B 9dc50f62b44440605b8f1ffc2172c2cab7dcf530d7b7ec8dbf7188de662dbadcb53e4799c15181acfea0507c97f63e7ac6986633192968c27020b9a3972e0009 SHA512 201e57b035cf73cbab7979b17d2d510d9ce124309516a782c094178f7c15577d7dce2263d25b5a8c41edcdbd9252976995a53ccc2a3cb38d1cd9b011319b72cf
MISC metadata.xml 525 BLAKE2B 26aa00d23b21fbe597d8f43c36dba421ed607b0da33cd59ffa0f38557b96c4c5edd531b68f164786c0d4459c8f59c0e18ba837e18211a712c65d20f2fc428a8e SHA512 eaafbe66708f645f59554b92bd6a9a84ea9b083d34ac6a5fb3146ee7d13ee13765f57c82d9a6bd97f11f479be25e42e080702ea89ca631e42adc2ec17949e3ed
diff --git a/dev-python/patch-ng/patch-ng-1.17.2.ebuild b/dev-python/patch-ng/patch-ng-1.17.3.ebuild
index 63550cb4182e..c42f80532b01 100644
--- a/dev-python/patch-ng/patch-ng-1.17.2.ebuild
+++ b/dev-python/patch-ng/patch-ng-1.17.3.ebuild
@@ -9,8 +9,16 @@ 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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/conan-io/python-patch-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/python-${P}"
+
+python_test() {
+ "${EPYTHON}" -m unittest tests/run_tests.py || die "Tests failed under ${EPYTHON}"
+}