commit:     70179bc700bc1a3154f85ad8a5bbb829661a4f0d
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 15:14:10 2020 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 15:27:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70179bc7

dev-python/clint: remove dependency on bundled package

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 .../{clint-0.5.1-r1.ebuild => clint-0.5.1-r2.ebuild}  |  4 +++-
 .../files/clint-0.5.1-disable-args-dependency.patch   | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/dev-python/clint/clint-0.5.1-r1.ebuild 
b/dev-python/clint/clint-0.5.1-r2.ebuild
similarity index 88%
rename from dev-python/clint/clint-0.5.1-r1.ebuild
rename to dev-python/clint/clint-0.5.1-r2.ebuild
index 89e08c909a9..f62be93bf38 100644
--- a/dev-python/clint/clint-0.5.1-r1.ebuild
+++ b/dev-python/clint/clint-0.5.1-r2.ebuild
@@ -22,7 +22,9 @@ DEPEND="
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        test? ( dev-python/pytest[${PYTHON_USEDEP}] )
 "
-RDEPEND="dev-python/args[${PYTHON_USEDEP}]"
+
+# https://github.com/kennethreitz-archive/clint/pull/180
+PATCHES=( "${FILESDIR}/${P}-disable-args-dependency.patch" )
 
 python_compile_all() {
        use doc && emake -C docs html

diff --git a/dev-python/clint/files/clint-0.5.1-disable-args-dependency.patch 
b/dev-python/clint/files/clint-0.5.1-disable-args-dependency.patch
new file mode 100644
index 00000000000..8b648dbc735
--- /dev/null
+++ b/dev-python/clint/files/clint-0.5.1-disable-args-dependency.patch
@@ -0,0 +1,19 @@
+commit e12338aa8f317c6f7e99fc2f4c2dc9424299b4ab
+Author: Louis Sautier <[email protected]>
+Date:   Sun Sep 13 16:54:20 2020 +0200
+
+    Do not require bundled args module
+
+diff --git a/setup.py b/setup.py
+index 0221184..e9e3fa5 100755
+--- a/setup.py
++++ b/setup.py
+@@ -19,7 +19,7 @@ if sys.argv[-1] == "publish":
+     publish()
+     sys.exit()
+ 
+-required = ['args']
++required = ['']
+ 
+ setup(
+     name='clint',

Reply via email to