summaryrefslogtreecommitdiff
path: root/dev-python/clint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /dev-python/clint
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'dev-python/clint')
-rw-r--r--dev-python/clint/Manifest4
-rw-r--r--dev-python/clint/clint-0.5.1-r2.ebuild (renamed from dev-python/clint/clint-0.5.1-r1.ebuild)6
-rw-r--r--dev-python/clint/clint-0.5.1-r3.ebuild33
-rw-r--r--dev-python/clint/files/clint-0.5.1-disable-args-dependency.patch19
4 files changed, 59 insertions, 3 deletions
diff --git a/dev-python/clint/Manifest b/dev-python/clint/Manifest
index ba8f750fe0a0..cd4350ff53be 100644
--- a/dev-python/clint/Manifest
+++ b/dev-python/clint/Manifest
@@ -1,3 +1,5 @@
+AUX clint-0.5.1-disable-args-dependency.patch 417 BLAKE2B 182c61c55e2d0d573ab62bcefaa6c31a43e9c6ca11c1fd4a2a36ff7917198b90e09016d877d368bddb6234996bb85d3517825d4bbd8b0a48e594d3e987e71ce7 SHA512 294e21ce515bbaf2949cf0da5c1c89e2dc9a1c4556a52c2a2d3ed360cbcd22891cfa103ed97abc59f5498e08f38995c3986b42dcbc7e548b87076d7e3dc574cb
DIST clint-0.5.1.tar.gz 81140 BLAKE2B 5b42e7d46321f0416d3ffb51edf66c53476d3e4a211e971f36cab54a412f6b0f0ec26486c2b95871956ab09e7e4adf68e8329dd7e9e3c7ed1adb3f8a0dd2a728 SHA512 3ad8bfc587acb1322c7d7c3e73756a07c98f3b4215a3d4dc409b5a2067bc70dce2dd98d19250b8122b319b7bcf5e2859251de2829780345de06f93b35447c4e8
-EBUILD clint-0.5.1-r1.ebuild 957 BLAKE2B 1c151ffaeaaabdcc24ba431c9716aeb60f73b5e898d5f886d8ae7c3f73eb9094ec19ee94585740bd050a4bf6145cd623082f81277449bc953b79593e6cc5b775 SHA512 439df905656502d7b57ba925d15e98c307b30c445b832ad27196638e23d2f264d4182368bada1f3a1ed00f720fd42c74c009db269cb1befafa1c980c8b95fae9
+EBUILD clint-0.5.1-r2.ebuild 1039 BLAKE2B 470df4bf3d48c774325e05baf64dea432a096aa241a1baf48c99be853ba3cda39be223a95bc306385122369d78f267de30e0bb90a54148643c0b38c2c856e1a5 SHA512 01d13dd5cc3e92efe7df096e78c26b08ec17db089f19a71f40715e1d66502db822665ddad5a6a954c91b2a28a79517e5636bb3e2c73beec6ea9e53dd0cf55493
+EBUILD clint-0.5.1-r3.ebuild 802 BLAKE2B 69c57c008e2f42c0756630236a51de68eaf6d0dbc5785e8dd726ac217ca5c47129d3bed2d87348548edd33873866d995971d83f2f4520ed9e35e78d7b549da03 SHA512 09dbe7742e09c7467da64ddcc134c36f4a65c3172a6b27e60fb3904212c6eb674fa16bdd0fc748db0526cf0668e6cb4527d7fb78fec64f76e16f28b63ab96318
MISC metadata.xml 248 BLAKE2B 886e9928c5735483e1b88968c7c68b328965d8b77022184e2428115042bfa146439a44a5b3b6ae1c813fc9626617bc5158d0be4d0c173594dc93efa84f1c2268 SHA512 28daaa3233c61835448e78dfcf4381cbb1d6789f0fc16b309aa9317d36f81754d1757ba5d6be5b6b6209fad9921708619b4e92011d91c879eddc440a819fbbdb
diff --git a/dev-python/clint/clint-0.5.1-r1.ebuild b/dev-python/clint/clint-0.5.1-r2.ebuild
index bd9659a536e2..f62be93bf388 100644
--- a/dev-python/clint/clint-0.5.1-r1.ebuild
+++ b/dev-python/clint/clint-0.5.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/kennethreitz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
LICENSE="ISC"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
@@ -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/clint-0.5.1-r3.ebuild b/dev-python/clint/clint-0.5.1-r3.ebuild
new file mode 100644
index 000000000000..1612ad767b7c
--- /dev/null
+++ b/dev-python/clint/clint-0.5.1-r3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Command-line Application Tools"
+HOMEPAGE="https://github.com/kennethreitz/clint"
+SRC_URI="https://github.com/kennethreitz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="examples"
+
+# https://github.com/kennethreitz-archive/clint/pull/180
+PATCHES=( "${FILESDIR}/${P}-disable-args-dependency.patch" )
+
+distutils_enable_sphinx docs --no-autodoc
+distutils_enable_tests pytest
+
+python_install_all() {
+ if use examples; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docinto examples
+ dodoc -r examples/.
+ fi
+
+ distutils-r1_python_install_all
+}
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 000000000000..8b648dbc735d
--- /dev/null
+++ b/dev-python/clint/files/clint-0.5.1-disable-args-dependency.patch
@@ -0,0 +1,19 @@
+commit e12338aa8f317c6f7e99fc2f4c2dc9424299b4ab
+Author: Louis Sautier <sautier.louis@gmail.com>
+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',