[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/

2020-02-05 Thread Michał Górny
commit: 4d5ebd839404bf638c72c4dab12eb2e5447faaac
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  5 14:31:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  5 14:37:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5ebd83

dev-python/invoke: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/invoke/invoke-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/invoke/invoke-1.1.1.ebuild 
b/dev-python/invoke/invoke-1.1.1.ebuild
index 7a4b48cf5db..76cf2bda89d 100644
--- a/dev-python/invoke/invoke-1.1.1.ebuild
+++ b/dev-python/invoke/invoke-1.1.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 inherit distutils-r1
 
 DESCRIPTION="Pythonic task execution"



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/files/

2019-05-18 Thread Virgil Dupras
commit: 6b5f89a91590c6421f3b710e323d53bbcef16ee1
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri May 17 18:23:40 2019 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Sat May 18 20:41:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5f89a9

dev-python/invoke: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12031
Signed-off-by: Virgil Dupras  gentoo.org>

 .../invoke/files/invoke-1.1.0-skip-pty-tests.patch | 29 --
 1 file changed, 29 deletions(-)

diff --git a/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch 
b/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch
deleted file mode 100644
index d09eac74f91..000
--- a/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-This patch skips all tests related to PTYs: they all fail under portage
-because we don't have a valid TTY. Skip them. A bing chunk of them are
-skipped through "skipper()" under mock_pty. The rest of them are skipped
-by simulation windows (tests that don't run under windows don't run under
-portage either).
-diff --git a/tests/_util.py b/tests/_util.py
-index d954946b..27381cfd 100644
 a/tests/_util.py
-+++ b/tests/_util.py
-@@ -24,7 +24,7 @@ support = os.path.join(os.path.dirname(__file__), "_support")
- def skip_if_windows(fn):
- @wraps(fn)
- def wrapper(*args, **kwargs):
--if WINDOWS:
-+if True:
- skip()
- return fn(*args, **kwargs)
- 
-@@ -190,6 +190,10 @@ def mock_pty(
- return skip_if_windows
- 
- def decorator(f):
-+def skipper(*args, **kwargs):
-+skip()
-+
-+return skipper
- import fcntl
- 
- ioctl_patch = patch("invoke.runners.fcntl.ioctl", wraps=fcntl.ioctl)



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/

2019-05-10 Thread Virgil Dupras
commit: cb382ae7ce7e0b98f4c050c30adbad2597a92f36
Author: Virgil Dupras  gentoo  org>
AuthorDate: Fri May 10 17:59:58 2019 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Fri May 10 18:05:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb382ae7

dev-python/invoke: RESTRICT test

Depends on pytest-relaxed which is about to be last-rited.

Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/invoke/invoke-1.1.1.ebuild | 21 -
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/dev-python/invoke/invoke-1.1.1.ebuild 
b/dev-python/invoke/invoke-1.1.1.ebuild
index 8317fccae18..3f4449f2ebc 100644
--- a/dev-python/invoke/invoke-1.1.1.ebuild
+++ b/dev-python/invoke/invoke-1.1.1.ebuild
@@ -12,23 +12,10 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
+IUSE=""
 
-BDEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/mock
-   >=dev-python/pytest-3.0
-   >=dev-python/pytest-relaxed-1.1.4
-   )"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND=""
 
-PATCHES=(
-   "${FILESDIR}/${PN}-1.1.0-skip-pty-tests.patch"
-)
-
-python_test() {
-   # -s flag is important: tests fail when pytest isn't in "no capture" 
mode
-   # -p pytest_relaxed: this plugin has to be loaded explicitly
-   pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
-}
+# Depends on broken pytest-relaxed plugin
+RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/

2019-04-08 Thread Aaron Bauman
commit: e377797e67c6ea9055431f4d93e531975d386f7a
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Apr  8 18:31:03 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Apr  8 18:31:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e377797e

dev-python/invoke: arm64 keyworded (bug #662504)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/invoke/invoke-1.1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/invoke/invoke-1.1.1.ebuild 
b/dev-python/invoke/invoke-1.1.1.ebuild
index ec7d500d93d..8317fccae18 100644
--- a/dev-python/invoke/invoke-1.1.1.ebuild
+++ b/dev-python/invoke/invoke-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="test"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/

2018-08-02 Thread Virgil Dupras
commit: 0c3bb5222eab8064f5cac05e2ebd34bb1ae0acb8
Author: Virgil Dupras  gentoo  org>
AuthorDate: Thu Aug  2 12:29:43 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Thu Aug  2 12:29:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c3bb522

dev-python/invoke: Bump to 1.1.1

Also, fix broken tests dependencies

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 dev-python/invoke/Manifest | 2 +-
 dev-python/invoke/{invoke-1.1.0.ebuild => invoke-1.1.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/invoke/Manifest b/dev-python/invoke/Manifest
index 3d33426132a..52ecb530a24 100644
--- a/dev-python/invoke/Manifest
+++ b/dev-python/invoke/Manifest
@@ -1 +1 @@
-DIST invoke-1.1.0.tar.gz 309811 BLAKE2B 
d1832d141a50d5ee9039614191cc02f266f440fd939463d572218a79ded9384ac8dc71798f716482021a0cc39611bc51b73973b67973d3cd5a3d208608091e17
 SHA512 
6b8ebee7d2dd68fe0134491b15a3b85fd6d1493c5b81f00ba577c6bcf3e4a264d74f68bdd0d40a4c5bdde18c021395ee335d10dde8e676bc9efb313e1ae9b55c
+DIST invoke-1.1.1.tar.gz 311831 BLAKE2B 
2918c1a03cccbd90be6aa495206a2714f45c9690d8ce1b063adc0cacfa4c7accd36dd94863a83e9cc0c05aaf889bd746c3f528fad5af0db9f64725438866f81a
 SHA512 
2dabf88428a53f244cab45cbc073b3a91fea5dd97a7590a58701a32bfaa14a4afe5d6a2e4ff4ed03ae38e1dfecc5a7c0f811bb18313e0af1f4e116f56c5e9ba7

diff --git a/dev-python/invoke/invoke-1.1.0.ebuild 
b/dev-python/invoke/invoke-1.1.1.ebuild
similarity index 95%
rename from dev-python/invoke/invoke-1.1.0.ebuild
rename to dev-python/invoke/invoke-1.1.1.ebuild
index 59e4a80b983..ec7d500d93d 100644
--- a/dev-python/invoke/invoke-1.1.0.ebuild
+++ b/dev-python/invoke/invoke-1.1.1.ebuild
@@ -19,7 +19,7 @@ BDEPEND="
test? (
dev-python/mock
>=dev-python/pytest-3.0
-   dev-python/pytest-relaxed
+   >=dev-python/pytest-relaxed-1.1.4
)"
 RDEPEND=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/

2018-08-01 Thread Virgil Dupras
commit: cfdccf48a2b1651a903f67bae2fc91dc132b9ed3
Author: Virgil Dupras  gentoo  org>
AuthorDate: Wed Aug  1 00:48:54 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Wed Aug  1 12:09:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfdccf48

dev-python/invoke: explicitly load pytest-relaxed plugin

Bug: https://bugs.gentoo.org/661218
Package-Manager: Portage-2.3.44, Repoman-2.3.10

 dev-python/invoke/invoke-1.1.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/invoke/invoke-1.1.0.ebuild 
b/dev-python/invoke/invoke-1.1.0.ebuild
index 80bbd00caf2..59e4a80b983 100644
--- a/dev-python/invoke/invoke-1.1.0.ebuild
+++ b/dev-python/invoke/invoke-1.1.0.ebuild
@@ -29,5 +29,6 @@ PATCHES=(
 
 python_test() {
# -s flag is important: tests fail when pytest isn't in "no capture" 
mode
-   ${EPYTHON} -m pytest -s -v
+   # -p pytest_relaxed: this plugin has to be loaded explicitly
+   pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/files/, dev-python/invoke/

2018-07-30 Thread Virgil Dupras
commit: d10462334dd6722000f6f0c181430ac7d846a711
Author: Virgil Dupras  gentoo  org>
AuthorDate: Mon Jul 30 20:20:27 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Mon Jul 30 20:20:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1046233

dev-python/invoke: bump to 1.1.0

* EAPI 7
* Python 3.7
* Enable tests

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 dev-python/invoke/Manifest |  2 +-
 .../invoke/files/invoke-1.1.0-skip-pty-tests.patch | 29 +++
 dev-python/invoke/invoke-0.22.1.ebuild | 15 --
 dev-python/invoke/invoke-1.1.0.ebuild  | 33 ++
 4 files changed, 63 insertions(+), 16 deletions(-)

diff --git a/dev-python/invoke/Manifest b/dev-python/invoke/Manifest
index 401ff3b9981..3d33426132a 100644
--- a/dev-python/invoke/Manifest
+++ b/dev-python/invoke/Manifest
@@ -1 +1 @@
-DIST invoke-0.22.1.tar.gz 292418 BLAKE2B 
ae392d3cd84ff58a0e2f24a8beed7b0d556a45d55a11fb5522bfe11351d2b47512e7910a18bad2db1e1475410d9c15b0af4cedbae06240133d5d8b320c362669
 SHA512 
e1c55435923bbfae8eb8f22a7dff81ce3e127cecbc0c33c002acb94d49c6cd41b7fbaf54beea654c77873bbbc8bcc85c7a61cf5789af80758d5b3abd7d2a61b0
+DIST invoke-1.1.0.tar.gz 309811 BLAKE2B 
d1832d141a50d5ee9039614191cc02f266f440fd939463d572218a79ded9384ac8dc71798f716482021a0cc39611bc51b73973b67973d3cd5a3d208608091e17
 SHA512 
6b8ebee7d2dd68fe0134491b15a3b85fd6d1493c5b81f00ba577c6bcf3e4a264d74f68bdd0d40a4c5bdde18c021395ee335d10dde8e676bc9efb313e1ae9b55c

diff --git a/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch 
b/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch
new file mode 100644
index 000..d09eac74f91
--- /dev/null
+++ b/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch
@@ -0,0 +1,29 @@
+This patch skips all tests related to PTYs: they all fail under portage
+because we don't have a valid TTY. Skip them. A bing chunk of them are
+skipped through "skipper()" under mock_pty. The rest of them are skipped
+by simulation windows (tests that don't run under windows don't run under
+portage either).
+diff --git a/tests/_util.py b/tests/_util.py
+index d954946b..27381cfd 100644
+--- a/tests/_util.py
 b/tests/_util.py
+@@ -24,7 +24,7 @@ support = os.path.join(os.path.dirname(__file__), "_support")
+ def skip_if_windows(fn):
+ @wraps(fn)
+ def wrapper(*args, **kwargs):
+-if WINDOWS:
++if True:
+ skip()
+ return fn(*args, **kwargs)
+ 
+@@ -190,6 +190,10 @@ def mock_pty(
+ return skip_if_windows
+ 
+ def decorator(f):
++def skipper(*args, **kwargs):
++skip()
++
++return skipper
+ import fcntl
+ 
+ ioctl_patch = patch("invoke.runners.fcntl.ioctl", wraps=fcntl.ioctl)

diff --git a/dev-python/invoke/invoke-0.22.1.ebuild 
b/dev-python/invoke/invoke-0.22.1.ebuild
deleted file mode 100644
index 1db8ec13df9..000
--- a/dev-python/invoke/invoke-0.22.1.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit distutils-r1
-
-DESCRIPTION="Pythonic task execution"
-HOMEPAGE="https://pypi.org/project/invoke/;
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"

diff --git a/dev-python/invoke/invoke-1.1.0.ebuild 
b/dev-python/invoke/invoke-1.1.0.ebuild
new file mode 100644
index 000..80bbd00caf2
--- /dev/null
+++ b/dev-python/invoke/invoke-1.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+inherit distutils-r1
+
+DESCRIPTION="Pythonic task execution"
+HOMEPAGE="https://pypi.org/project/invoke/;
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+BDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/mock
+   >=dev-python/pytest-3.0
+   dev-python/pytest-relaxed
+   )"
+RDEPEND=""
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.1.0-skip-pty-tests.patch"
+)
+
+python_test() {
+   # -s flag is important: tests fail when pytest isn't in "no capture" 
mode
+   ${EPYTHON} -m pytest -s -v
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/

2018-03-20 Thread Andrey Grozin
commit: 046914dab6330b0a06527fa16a3bb0726153dd92
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Mar 20 18:59:27 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Mar 20 18:59:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=046914da

dev-python/invoke: initial import

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/invoke/Manifest |  1 +
 dev-python/invoke/invoke-0.22.1.ebuild | 15 +++
 dev-python/invoke/metadata.xml | 12 
 3 files changed, 28 insertions(+)

diff --git a/dev-python/invoke/Manifest b/dev-python/invoke/Manifest
new file mode 100644
index 000..401ff3b9981
--- /dev/null
+++ b/dev-python/invoke/Manifest
@@ -0,0 +1 @@
+DIST invoke-0.22.1.tar.gz 292418 BLAKE2B 
ae392d3cd84ff58a0e2f24a8beed7b0d556a45d55a11fb5522bfe11351d2b47512e7910a18bad2db1e1475410d9c15b0af4cedbae06240133d5d8b320c362669
 SHA512 
e1c55435923bbfae8eb8f22a7dff81ce3e127cecbc0c33c002acb94d49c6cd41b7fbaf54beea654c77873bbbc8bcc85c7a61cf5789af80758d5b3abd7d2a61b0

diff --git a/dev-python/invoke/invoke-0.22.1.ebuild 
b/dev-python/invoke/invoke-0.22.1.ebuild
new file mode 100644
index 000..cec599ec9d1
--- /dev/null
+++ b/dev-python/invoke/invoke-0.22.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Pythonic task execution"
+HOMEPAGE="https://pypi.python.org/pypi/invoke/;
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"

diff --git a/dev-python/invoke/metadata.xml b/dev-python/invoke/metadata.xml
new file mode 100644
index 000..04808fe9fc0
--- /dev/null
+++ b/dev-python/invoke/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   Invoke is a Python (2.7 and 3.4+) task execution tool and 
library,
+   drawing inspiration from various sources to arrive at a 
powerful and clean feature set.
+   
+