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

2023-12-09 Thread Michał Górny
commit: 2339e6268c23dd948a8186de3b77c3801a7397b6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 18:14:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 18:14:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2339e626

dev-python/imapclient: Remove old

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

 dev-python/imapclient/Manifest|  2 --
 dev-python/imapclient/imapclient-2.3.1.ebuild | 34 ---
 dev-python/imapclient/imapclient-3.0.0.ebuild | 32 -
 3 files changed, 68 deletions(-)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index e7f0fb02e9e7..58df94c4468f 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,3 +1 @@
-DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B 
c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48
 SHA512 
06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6
-DIST imapclient-3.0.0.gh.tar.gz 93743 BLAKE2B 
f1477cc01076876f65afc4e1ca8dcdc5964a2ec129f8decc7c963361a94e262d1312f70959d82772e077062d15d758289fe6942c8395ccea124fbf83ebcc0505
 SHA512 
01f2b0eaa148e84bf3aae42da55dec80c3738d31989644da9f7f476fc22877348e9db737d420bbdcc3986e0e74825666ba6970a43d5e2ab6b53b3fee6c1e
 DIST imapclient-3.0.1.gh.tar.gz 93611 BLAKE2B 
aff08b392cb15d00d66833c7fba1147202ef37ff5f0ad9fb2c6e79daf67126cea00caaacfa6945b53f2e31b7d1525f4043aaacc94b34e695e26cf35b90f25259
 SHA512 
36c8740a93d137c5648a20cbe6f1260b3c0e9288ac9d776d318212dad9aebcbfd81e2ff78bc172d29abd97f797c3b494375c6614c2b11a239048c9e747b7a509

diff --git a/dev-python/imapclient/imapclient-2.3.1.ebuild 
b/dev-python/imapclient/imapclient-2.3.1.ebuild
deleted file mode 100644
index da997065b844..
--- a/dev-python/imapclient/imapclient-2.3.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="
-   https://github.com/mjs/imapclient/
-   https://pypi.org/project/IMAPClient/
-"
-SRC_URI="
-   https://github.com/mjs/imapclient/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-
-distutils_enable_sphinx doc/src
-distutils_enable_tests unittest
-
-python_install_all() {
-   distutils-r1_python_install_all
-   use examples && dodoc -r examples
-}

diff --git a/dev-python/imapclient/imapclient-3.0.0.ebuild 
b/dev-python/imapclient/imapclient-3.0.0.ebuild
deleted file mode 100644
index d61d26f53c6b..
--- a/dev-python/imapclient/imapclient-3.0.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="
-   https://github.com/mjs/imapclient/
-   https://pypi.org/project/IMAPClient/
-"
-SRC_URI="
-   https://github.com/mjs/imapclient/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="doc examples"
-
-distutils_enable_sphinx doc/src
-distutils_enable_tests unittest
-
-python_install_all() {
-   distutils-r1_python_install_all
-   use examples && dodoc -r examples
-}



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

2023-12-09 Thread Sam James
commit: cb0d3d4cda9be0c85215adfe7b3af35048c7de02
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  9 18:12:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  9 18:12:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0d3d4c

dev-python/imapclient: Stabilize 3.0.1 amd64, #919527

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/imapclient/imapclient-3.0.1.ebuild 
b/dev-python/imapclient/imapclient-3.0.1.ebuild
index aa321fe099ba..813c6d61a9ef 100644
--- a/dev-python/imapclient/imapclient-3.0.1.ebuild
+++ b/dev-python/imapclient/imapclient-3.0.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 arm64 x86"
+KEYWORDS="amd64 arm64 x86"
 IUSE="doc examples"
 
 distutils_enable_sphinx doc/src



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

2023-12-09 Thread Michał Górny
commit: dc1e85d3fe9b6e452aeb1b103b7d9665d89cabca
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:58:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:58:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1e85d3

dev-python/imapclient: Stabilize 3.0.1 x86, #919527

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

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

diff --git a/dev-python/imapclient/imapclient-3.0.1.ebuild 
b/dev-python/imapclient/imapclient-3.0.1.ebuild
index ea13dee54cb4..aa321fe099ba 100644
--- a/dev-python/imapclient/imapclient-3.0.1.ebuild
+++ b/dev-python/imapclient/imapclient-3.0.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~x86"
+KEYWORDS="~amd64 arm64 x86"
 IUSE="doc examples"
 
 distutils_enable_sphinx doc/src



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

2023-12-09 Thread Michał Górny
commit: 25a1ca66a2d565c9057499c481bc0e04c247
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:22:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:22:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a1

dev-python/imapclient: Stabilize 3.0.1 arm64, #919527

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

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

diff --git a/dev-python/imapclient/imapclient-3.0.1.ebuild 
b/dev-python/imapclient/imapclient-3.0.1.ebuild
index d61d26f53c6b..ea13dee54cb4 100644
--- a/dev-python/imapclient/imapclient-3.0.1.ebuild
+++ b/dev-python/imapclient/imapclient-3.0.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 arm64 ~x86"
 IUSE="doc examples"
 
 distutils_enable_sphinx doc/src



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

2023-12-02 Thread Michał Górny
commit: 8a234b53c4590e1a9dbceba894b3f0f052d4e99c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  2 12:56:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  2 13:10:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a234b53

dev-python/imapclient: Bump to 3.0.1

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

 dev-python/imapclient/Manifest|  1 +
 dev-python/imapclient/imapclient-3.0.1.ebuild | 32 +++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 3cc822e5d5da..e7f0fb02e9e7 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,2 +1,3 @@
 DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B 
c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48
 SHA512 
06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6
 DIST imapclient-3.0.0.gh.tar.gz 93743 BLAKE2B 
f1477cc01076876f65afc4e1ca8dcdc5964a2ec129f8decc7c963361a94e262d1312f70959d82772e077062d15d758289fe6942c8395ccea124fbf83ebcc0505
 SHA512 
01f2b0eaa148e84bf3aae42da55dec80c3738d31989644da9f7f476fc22877348e9db737d420bbdcc3986e0e74825666ba6970a43d5e2ab6b53b3fee6c1e
+DIST imapclient-3.0.1.gh.tar.gz 93611 BLAKE2B 
aff08b392cb15d00d66833c7fba1147202ef37ff5f0ad9fb2c6e79daf67126cea00caaacfa6945b53f2e31b7d1525f4043aaacc94b34e695e26cf35b90f25259
 SHA512 
36c8740a93d137c5648a20cbe6f1260b3c0e9288ac9d776d318212dad9aebcbfd81e2ff78bc172d29abd97f797c3b494375c6614c2b11a239048c9e747b7a509

diff --git a/dev-python/imapclient/imapclient-3.0.1.ebuild 
b/dev-python/imapclient/imapclient-3.0.1.ebuild
new file mode 100644
index ..d61d26f53c6b
--- /dev/null
+++ b/dev-python/imapclient/imapclient-3.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
+HOMEPAGE="
+   https://github.com/mjs/imapclient/
+   https://pypi.org/project/IMAPClient/
+"
+SRC_URI="
+   https://github.com/mjs/imapclient/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc examples"
+
+distutils_enable_sphinx doc/src
+distutils_enable_tests unittest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   use examples && dodoc -r examples
+}



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

2023-10-27 Thread Michał Górny
commit: 8e9c5ac893c6151da79210df9d512d84199ff674
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 27 12:01:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 27 12:56:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e9c5ac8

dev-python/imapclient: Bump to 3.0.0

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

 dev-python/imapclient/Manifest|  1 +
 dev-python/imapclient/imapclient-3.0.0.ebuild | 32 +++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 1fb691c27a24..3cc822e5d5da 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1 +1,2 @@
 DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B 
c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48
 SHA512 
06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6
+DIST imapclient-3.0.0.gh.tar.gz 93743 BLAKE2B 
f1477cc01076876f65afc4e1ca8dcdc5964a2ec129f8decc7c963361a94e262d1312f70959d82772e077062d15d758289fe6942c8395ccea124fbf83ebcc0505
 SHA512 
01f2b0eaa148e84bf3aae42da55dec80c3738d31989644da9f7f476fc22877348e9db737d420bbdcc3986e0e74825666ba6970a43d5e2ab6b53b3fee6c1e

diff --git a/dev-python/imapclient/imapclient-3.0.0.ebuild 
b/dev-python/imapclient/imapclient-3.0.0.ebuild
new file mode 100644
index ..babb66090be8
--- /dev/null
+++ b/dev-python/imapclient/imapclient-3.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
+HOMEPAGE="
+   https://github.com/mjs/imapclient/
+   https://pypi.org/project/IMAPClient/
+"
+SRC_URI="
+   https://github.com/mjs/imapclient/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+distutils_enable_sphinx doc/src
+distutils_enable_tests unittest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   use examples && dodoc -r examples
+}



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

2023-06-06 Thread Michał Górny
commit: 6eb195391a11a2a1fe61c192d329e2aa9cceeffa
Author: Petr Vaněk  atlas  cz>
AuthorDate: Tue Jun  6 12:36:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun  6 16:10:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eb19539

dev-python/imapclient: enable py3.12

- add pypi HOMEPAGE
- wrap SRC_URI

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/imapclient/imapclient-2.3.1.ebuild | 12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-python/imapclient/imapclient-2.3.1.ebuild 
b/dev-python/imapclient/imapclient-2.3.1.ebuild
index ae5dee39f694..da997065b844 100644
--- a/dev-python/imapclient/imapclient-2.3.1.ebuild
+++ b/dev-python/imapclient/imapclient-2.3.1.ebuild
@@ -4,13 +4,19 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
 DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="https://github.com/mjs/imapclient;
-SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+HOMEPAGE="
+   https://github.com/mjs/imapclient/
+   https://pypi.org/project/IMAPClient/
+"
+SRC_URI="
+   https://github.com/mjs/imapclient/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
 
 LICENSE="BSD"
 SLOT="0"



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

2022-07-24 Thread Michał Górny
commit: 4e616cc929bc63ec96bf622d312d8d407476a29d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 24 18:40:13 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 24 18:40:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e616cc9

dev-python/imapclient: Remove old

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

 dev-python/imapclient/Manifest |  2 --
 .../files/imapclient-2.2.0-ssl-context.patch   | 13 -
 dev-python/imapclient/imapclient-2.2.0-r1.ebuild   | 31 --
 dev-python/imapclient/imapclient-2.2.0.ebuild  | 27 ---
 4 files changed, 73 deletions(-)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 67bd5e0feda5..1fb691c27a24 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,3 +1 @@
-DIST imapclient-2.2.0.gh.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2
-DIST imapclient-2.2.0.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2
 DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B 
c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48
 SHA512 
06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6

diff --git a/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch 
b/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch
deleted file mode 100644
index b3a12823f6a5..
--- a/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/mjs/imapclient/issues/466
-https://bugs.gentoo.org/835498
 a/imapclient/tls.py
-+++ b/imapclient/tls.py
-@@ -27,7 +27,7 @@ def wrap_socket(sock, ssl_context, host):
- return ssl.wrap_socket(sock)
- 
- if ssl_context is None:
--ssl_context = ssl.create_default_context()
-+ssl_context = 
ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)
- 
- return ssl_context.wrap_socket(sock, server_hostname=host)
- 

diff --git a/dev-python/imapclient/imapclient-2.2.0-r1.ebuild 
b/dev-python/imapclient/imapclient-2.2.0-r1.ebuild
deleted file mode 100644
index 520ba497b462..
--- a/dev-python/imapclient/imapclient-2.2.0-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="https://github.com/mjs/imapclient;
-SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.2.0-ssl-context.patch
-)
-
-distutils_enable_sphinx doc/src
-distutils_enable_tests unittest
-
-python_install_all() {
-   distutils-r1_python_install_all
-   use examples && dodoc -r examples
-}

diff --git a/dev-python/imapclient/imapclient-2.2.0.ebuild 
b/dev-python/imapclient/imapclient-2.2.0.ebuild
deleted file mode 100644
index 0c541676f444..
--- a/dev-python/imapclient/imapclient-2.2.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="https://github.com/mjs/imapclient;
-SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-
-distutils_enable_sphinx doc/src
-distutils_enable_tests unittest
-
-python_install_all() {
-   distutils-r1_python_install_all
-   use examples && dodoc -r examples
-}



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

2022-07-24 Thread Sam James
commit: c3e8fcb885ed88afe96c2c7d6237525425769be0
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 24 16:27:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 24 16:27:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e8fcb8

dev-python/imapclient: Stabilize 2.3.1 ALLARCHES, #860615

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/imapclient/imapclient-2.3.1.ebuild 
b/dev-python/imapclient/imapclient-2.3.1.ebuild
index c0b4db879005..f835e479fec7 100644
--- a/dev-python/imapclient/imapclient-2.3.1.ebuild
+++ b/dev-python/imapclient/imapclient-2.3.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.gh.tar.g
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc examples"
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"



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

2022-07-08 Thread Sam James
commit: 3b1b19426f8951b841fd391e443439a9b3597941
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul  9 04:55:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul  9 04:55:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1b1942

dev-python/imapclient: add 2.3.1

Signed-off-by: Sam James  gentoo.org>

 dev-python/imapclient/Manifest |  1 +
 .../files/imapclient-2.2.0-ssl-context.patch   |  0
 dev-python/imapclient/imapclient-2.3.1.ebuild  | 28 ++
 3 files changed, 29 insertions(+)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 2dc9dc7037ff..67bd5e0feda5 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,2 +1,3 @@
 DIST imapclient-2.2.0.gh.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2
 DIST imapclient-2.2.0.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2
+DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B 
c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48
 SHA512 
06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6

diff --git a/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch 
b/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch
old mode 100755
new mode 100644

diff --git a/dev-python/imapclient/imapclient-2.3.1.ebuild 
b/dev-python/imapclient/imapclient-2.3.1.ebuild
new file mode 100644
index ..c0b4db879005
--- /dev/null
+++ b/dev-python/imapclient/imapclient-2.3.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
+HOMEPAGE="https://github.com/mjs/imapclient;
+SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx doc/src
+distutils_enable_tests unittest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   use examples && dodoc -r examples
+}



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

2022-06-20 Thread Sam James
commit: 6d03a3b62fd6d8a615a20ef4424a6e031be2b5fe
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 05:47:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 05:47:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d03a3b6

dev-python/imapclient: fix Python 3.10+

Closes: https://bugs.gentoo.org/835498
Signed-off-by: Sam James  gentoo.org>

 dev-python/imapclient/Manifest |  1 +
 .../files/imapclient-2.2.0-ssl-context.patch   | 13 +
 dev-python/imapclient/imapclient-2.2.0-r1.ebuild   | 31 ++
 3 files changed, 45 insertions(+)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 59232385963d..2dc9dc7037ff 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1 +1,2 @@
+DIST imapclient-2.2.0.gh.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2
 DIST imapclient-2.2.0.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2

diff --git a/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch 
b/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch
new file mode 100755
index ..b3a12823f6a5
--- /dev/null
+++ b/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch
@@ -0,0 +1,13 @@
+https://github.com/mjs/imapclient/issues/466
+https://bugs.gentoo.org/835498
+--- a/imapclient/tls.py
 b/imapclient/tls.py
+@@ -27,7 +27,7 @@ def wrap_socket(sock, ssl_context, host):
+ return ssl.wrap_socket(sock)
+ 
+ if ssl_context is None:
+-ssl_context = ssl.create_default_context()
++ssl_context = 
ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)
+ 
+ return ssl_context.wrap_socket(sock, server_hostname=host)
+ 

diff --git a/dev-python/imapclient/imapclient-2.2.0-r1.ebuild 
b/dev-python/imapclient/imapclient-2.2.0-r1.ebuild
new file mode 100644
index ..520ba497b462
--- /dev/null
+++ b/dev-python/imapclient/imapclient-2.2.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
+HOMEPAGE="https://github.com/mjs/imapclient;
+SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.0-ssl-context.patch
+)
+
+distutils_enable_sphinx doc/src
+distutils_enable_tests unittest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   use examples && dodoc -r examples
+}



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

2021-06-03 Thread Michał Górny
commit: 57323223448f251d96194c71e5332b264a731af2
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  3 19:22:06 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  3 19:22:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57323223

dev-python/imapclient: Enable py3.10

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

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

diff --git a/dev-python/imapclient/imapclient-2.2.0.ebuild 
b/dev-python/imapclient/imapclient-2.2.0.ebuild
index 584b7a19fed..0c541676f44 100644
--- a/dev-python/imapclient/imapclient-2.2.0.ebuild
+++ b/dev-python/imapclient/imapclient-2.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1
 



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

2021-02-19 Thread Michał Górny
commit: ed85bea97190da07a911bd9ddff4c4c3e3459b18
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 19 08:29:18 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 19 08:29:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed85bea9

dev-python/imapclient: Remove old

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

 dev-python/imapclient/Manifest |  1 -
 .../files/imapclient-2.1.0-py36-tests.patch| 28 ---
 dev-python/imapclient/imapclient-2.1.0.ebuild  | 42 --
 3 files changed, 71 deletions(-)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 50295fae8cf..59232385963 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,2 +1 @@
-DIST imapclient-2.1.0.tar.gz 85925 BLAKE2B 
9725be7988c4bec105fda73389241e39e6c006bccd8130125b280041d13becd6a71a1832763171daf25dfb4e7b4a7fc86c0a3afa93216c3dc4370b19348c0a5e
 SHA512 
57e5824504f2667cf41ac4983130e16a5ea73ea37f29cdb16295eb725b56eda55db26a12e380acb579ef6b8540d38ae6badac5dd5b644d4419cbe9151f634e70
 DIST imapclient-2.2.0.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2

diff --git a/dev-python/imapclient/files/imapclient-2.1.0-py36-tests.patch 
b/dev-python/imapclient/files/imapclient-2.1.0-py36-tests.patch
deleted file mode 100644
index d9a429a2767..000
--- a/dev-python/imapclient/files/imapclient-2.1.0-py36-tests.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 26fb9c9794ad0b2541320d71d5704fce5642a53c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Sat, 10 Aug 2019 09:15:37 +0200
-Subject: [PATCH] test_imapclient: Fix LoggerAdapter version check
-
-The LoggerAdapter behavior change has been backported into Python 3.6.4.
-Update the check to expect logger.log() call in 3.6.4+ rather than 3.7+.
-
-Fixes #383.

- tests/test_imapclient.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/test_imapclient.py b/tests/test_imapclient.py
-index 91ccfa9..0f12823 100644
 a/tests/test_imapclient.py
-+++ b/tests/test_imapclient.py
-@@ -604,8 +604,8 @@ def test_redacted_password(self):
- adapter = IMAPlibLoggerAdapter(logger_mock, dict())
- if six.PY3:
- adapter.info("""> b'ICHH1 LOGIN f...@bar.org "secret"'""")
--if sys.version_info >= (3, 7):
--# LoggerAdapter in Python 3.7+ calls logger.log()
-+if sys.version_info >= (3, 6, 4):
-+# LoggerAdapter in Python 3.6.4+ calls logger.log()
- logger_mock.log.assert_called_once_with(
- logging.INFO,
- "> b'ICHH1 LOGIN **REDACTED**",

diff --git a/dev-python/imapclient/imapclient-2.1.0.ebuild 
b/dev-python/imapclient/imapclient-2.1.0.ebuild
deleted file mode 100644
index bca796278b1..000
--- a/dev-python/imapclient/imapclient-2.1.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="https://github.com/mjs/imapclient;
-SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-PATCHES=(
-   # fix incorrect assumption about py3.6 behavior
-   # https://github.com/mjs/imapclient/pull/384
-   "${FILESDIR}"/imapclient-2.1.0-py36-tests.patch
-)
-
-python_compile_all() {
-   use doc && esetup.py build_sphinx
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS.rst NEWS.rst README.rst )
-   use doc && local HTML_DOCS=( doc/html/. )
-   distutils-r1_python_install_all
-   use examples && dodoc -r examples
-}



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

2021-02-18 Thread Sam James
commit: 146cf409641f710285410ce4ea3aa65907f7d054
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 02:40:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 02:40:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=146cf409

dev-python/imapclient: Stabilize 2.2.0 ALLARCHES, #771405

Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/imapclient/imapclient-2.2.0.ebuild 
b/dev-python/imapclient/imapclient-2.2.0.ebuild
index 14f71e42f9a..584b7a19fed 100644
--- a/dev-python/imapclient/imapclient-2.2.0.ebuild
+++ b/dev-python/imapclient/imapclient-2.2.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc examples"
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"



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

2021-02-18 Thread Michał Górny
commit: aa103c323a4845e57eacd0dbe82f9254e1d08c43
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 19 00:39:16 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 19 00:50:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa103c32

dev-python/imapclient: Mark ALLARCHES

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

 dev-python/imapclient/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/imapclient/metadata.xml 
b/dev-python/imapclient/metadata.xml
index 810750331cb..6569c46b35f 100644
--- a/dev-python/imapclient/metadata.xml
+++ b/dev-python/imapclient/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

IMAPClient
mjs/imapclient



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

2021-01-17 Thread Michał Górny
commit: e45d7c9a4765850510d846bfede4bfdc75602d60
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 17 08:53:42 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 17 08:55:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45d7c9a

dev-python/imapclient: Bump to 2.2.0

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

 dev-python/imapclient/Manifest|  1 +
 dev-python/imapclient/imapclient-2.2.0.ebuild | 27 +++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index f0c7713f866..50295fae8cf 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1 +1,2 @@
 DIST imapclient-2.1.0.tar.gz 85925 BLAKE2B 
9725be7988c4bec105fda73389241e39e6c006bccd8130125b280041d13becd6a71a1832763171daf25dfb4e7b4a7fc86c0a3afa93216c3dc4370b19348c0a5e
 SHA512 
57e5824504f2667cf41ac4983130e16a5ea73ea37f29cdb16295eb725b56eda55db26a12e380acb579ef6b8540d38ae6badac5dd5b644d4419cbe9151f634e70
+DIST imapclient-2.2.0.tar.gz 89505 BLAKE2B 
448e8c736cd80f261c50dd7d6fe88498bf988e475f8135bf7079021d0154904741ab8af28c0ede817ec1bd8c7bd329b1c891c24e37c3466d68287afa02d636c7
 SHA512 
ace8f55e0f7f4dbb9127b2bbf26cce4c12dce40357cf8127aa6e377321d5156f91f913bd4d4ca57bd5b7f0c86ae5d0b7fdf352b74a6edb7d607f46aa45a144a2

diff --git a/dev-python/imapclient/imapclient-2.2.0.ebuild 
b/dev-python/imapclient/imapclient-2.2.0.ebuild
new file mode 100644
index 000..14f71e42f9a
--- /dev/null
+++ b/dev-python/imapclient/imapclient-2.2.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
+HOMEPAGE="https://github.com/mjs/imapclient;
+SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx doc/src
+distutils_enable_tests unittest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   use examples && dodoc -r examples
+}



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

2020-11-17 Thread Michał Górny
commit: cf97fcb4f0f69274d9cc2239e72b27fef40748d4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 17 16:47:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 17 17:43:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf97fcb4

dev-python/imapclient: Port up to py3.9

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

 dev-python/imapclient/imapclient-2.1.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/imapclient/imapclient-2.1.0.ebuild 
b/dev-python/imapclient/imapclient-2.1.0.ebuild
index 49a5838c984..45573cf3fde 100644
--- a/dev-python/imapclient/imapclient-2.1.0.ebuild
+++ b/dev-python/imapclient/imapclient-2.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 
@@ -18,7 +18,6 @@ IUSE="doc examples"
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
 
 PATCHES=(



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

2020-05-14 Thread Aaron Bauman
commit: f4c2bf3a0bc6f539c4842d2c9f030cea40e4a3b9
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Mar 30 16:17:38 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu May 14 22:19:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c2bf3a

dev-python/imapclient: remove unused patch

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/imapclient/files/0.12-tests.patch | 36 
 1 file changed, 36 deletions(-)

diff --git a/dev-python/imapclient/files/0.12-tests.patch 
b/dev-python/imapclient/files/0.12-tests.patch
deleted file mode 100644
index 0bd0d001e6e..000
--- a/dev-python/imapclient/files/0.12-tests.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -ur IMAPClient-0.12.orig/imapclient/test/test_imapclient.py 
IMAPClient-0.12/imapclient/test/test_imapclient.py
 imapclient/test/test_imapclient.py 2015-01-12 19:36:18.0 +0800
-+++ imapclient/test/test_imapclient.py 2015-01-17 08:42:46.669121934 +0800
-@@ -10,7 +10,7 @@
- from datetime import datetime
- from mock import patch, sentinel, Mock
- 
--from imapclient import six
-+import six
- from imapclient.fixed_offset import FixedOffset
- from .testable_imapclient import TestableIMAPClient as IMAPClient
- from .imapclient_test import IMAPClientTest
-diff -ur IMAPClient-0.12.orig/imapclient/test/test_imap_utf7.py 
IMAPClient-0.12/imapclient/test/test_imap_utf7.py
 imapclient/test/test_imap_utf7.py  2015-01-12 19:36:18.0 +0800
-+++ imapclient/test/test_imap_utf7.py  2015-01-17 08:43:23.893392410 +0800
-@@ -4,7 +4,7 @@
- 
- from __future__ import unicode_literals
- 
--from imapclient.six import text_type, binary_type, int2byte, unichr
-+from six import text_type, binary_type, int2byte, unichr
- from imapclient.imap_utf7 import decode, encode
- from imapclient.test.util import unittest
- 
-diff -ur IMAPClient-0.12.orig/imapclient/test/test_response_lexer.py 
IMAPClient-0.12/imapclient/test/test_response_lexer.py
 imapclient/test/test_response_lexer.py 2015-01-12 19:36:18.0 
+0800
-+++ imapclient/test/test_response_lexer.py 2015-01-17 08:42:14.749747748 
+0800
-@@ -5,7 +5,7 @@
- from __future__ import unicode_literals
- 
- from imapclient.response_lexer import TokenSource
--from imapclient.six import next
-+from six import next
- from imapclient.test.util import unittest
- 
- 



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

2020-03-27 Thread Michał Górny
commit: 9a4fc4948fc296a312049dcf7d1e0e5d6ed335af
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 27 15:28:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 27 15:28:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4fc494

dev-python/imapclient: Remove redundant versions

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

 dev-python/imapclient/Manifest   |  1 -
 dev-python/imapclient/imapclient-0.13.ebuild | 61 
 2 files changed, 62 deletions(-)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index a41559c4199..f0c7713f866 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,2 +1 @@
-DIST IMAPClient-0.13.tar.gz 102427 BLAKE2B 
f087b6e89c45810f359bed889345e6748ebf9ae90f6e3c4e013097a4e57d3f5ab0ec21906cfdccc03a344d92ccc442d58e38e687cd0761d86956047e89fedb03
 SHA512 
daebaf7f4180b6c9c6f4a486b313abfdd06f3ed8ece18a19bf46a50e56c2094e85de8a8e4efb8850566378eba016c10816611d03852caf637ee1d43f3c8a418f
 DIST imapclient-2.1.0.tar.gz 85925 BLAKE2B 
9725be7988c4bec105fda73389241e39e6c006bccd8130125b280041d13becd6a71a1832763171daf25dfb4e7b4a7fc86c0a3afa93216c3dc4370b19348c0a5e
 SHA512 
57e5824504f2667cf41ac4983130e16a5ea73ea37f29cdb16295eb725b56eda55db26a12e380acb579ef6b8540d38ae6badac5dd5b644d4419cbe9151f634e70

diff --git a/dev-python/imapclient/imapclient-0.13.ebuild 
b/dev-python/imapclient/imapclient-0.13.ebuild
deleted file mode 100644
index 2ca1822e0e1..000
--- a/dev-python/imapclient/imapclient-0.13.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-MY_PN="IMAPClient"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="http://imapclient.freshfoo.com/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S=${WORKDIR}/${MY_P}
-
-python_prepare_all() {
-   # use system setuptools
-   sed -i '/use_setuptools/d' setup.py || die
-
-   # drop explicit mock version test dep
-   sed -i "/tests_require/s:'mock==.\+':'mock':" setup.py || die
-
-   # use system six library. patch proven less preferable to use of sed (< 
maintenance)
-   # but a copy of the working hunks from prior version works fine for now.
-   rm imapclient/six.py || die
-   epatch "${FILESDIR}"/0.12-tests.patch
-   sed -e 's:from .six:from six:g' \
-   -e 's:from . import six:import six:g' \
-   -i ${PN}/*.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   "${PYTHON}" -m unittest discover || die "tests failed under ${EPYTHON}"
-}
-
-python_install() {
-   distutils-r1_python_install
-   # don't install examples and tests in module dir
-   rm -r "${D}"$(python_get_sitedir)/imapclient/{examples,test} || die
-}
-
-python_install_all() {
-#  local DOCS=( AUTHORS HACKING.rst NEWS.rst README.rst THANKS )
-   use doc && local HTML_DOCS=( doc/html/. )
-   distutils-r1_python_install_all
-   use examples && dodoc -r ${PN}/examples
-}



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

2019-08-10 Thread Michał Górny
commit: 6c05177a0f18ae1f2468ac9e993a9c6bfb950cf6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 10 07:22:07 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 10 07:26:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c05177a

dev-python/imapclient: Bump to 2.1.0

Closes: https://bugs.gentoo.org/571310
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/imapclient/Manifest |  1 +
 .../files/imapclient-2.1.0-py36-tests.patch| 28 ++
 dev-python/imapclient/imapclient-2.1.0.ebuild  | 44 ++
 3 files changed, 73 insertions(+)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index 38d18b9e8f3..a41559c4199 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1 +1,2 @@
 DIST IMAPClient-0.13.tar.gz 102427 BLAKE2B 
f087b6e89c45810f359bed889345e6748ebf9ae90f6e3c4e013097a4e57d3f5ab0ec21906cfdccc03a344d92ccc442d58e38e687cd0761d86956047e89fedb03
 SHA512 
daebaf7f4180b6c9c6f4a486b313abfdd06f3ed8ece18a19bf46a50e56c2094e85de8a8e4efb8850566378eba016c10816611d03852caf637ee1d43f3c8a418f
+DIST imapclient-2.1.0.tar.gz 85925 BLAKE2B 
9725be7988c4bec105fda73389241e39e6c006bccd8130125b280041d13becd6a71a1832763171daf25dfb4e7b4a7fc86c0a3afa93216c3dc4370b19348c0a5e
 SHA512 
57e5824504f2667cf41ac4983130e16a5ea73ea37f29cdb16295eb725b56eda55db26a12e380acb579ef6b8540d38ae6badac5dd5b644d4419cbe9151f634e70

diff --git a/dev-python/imapclient/files/imapclient-2.1.0-py36-tests.patch 
b/dev-python/imapclient/files/imapclient-2.1.0-py36-tests.patch
new file mode 100644
index 000..d9a429a2767
--- /dev/null
+++ b/dev-python/imapclient/files/imapclient-2.1.0-py36-tests.patch
@@ -0,0 +1,28 @@
+From 26fb9c9794ad0b2541320d71d5704fce5642a53c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Sat, 10 Aug 2019 09:15:37 +0200
+Subject: [PATCH] test_imapclient: Fix LoggerAdapter version check
+
+The LoggerAdapter behavior change has been backported into Python 3.6.4.
+Update the check to expect logger.log() call in 3.6.4+ rather than 3.7+.
+
+Fixes #383.
+---
+ tests/test_imapclient.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/test_imapclient.py b/tests/test_imapclient.py
+index 91ccfa9..0f12823 100644
+--- a/tests/test_imapclient.py
 b/tests/test_imapclient.py
+@@ -604,8 +604,8 @@ def test_redacted_password(self):
+ adapter = IMAPlibLoggerAdapter(logger_mock, dict())
+ if six.PY3:
+ adapter.info("""> b'ICHH1 LOGIN f...@bar.org "secret"'""")
+-if sys.version_info >= (3, 7):
+-# LoggerAdapter in Python 3.7+ calls logger.log()
++if sys.version_info >= (3, 6, 4):
++# LoggerAdapter in Python 3.6.4+ calls logger.log()
+ logger_mock.log.assert_called_once_with(
+ logging.INFO,
+ "> b'ICHH1 LOGIN **REDACTED**",

diff --git a/dev-python/imapclient/imapclient-2.1.0.ebuild 
b/dev-python/imapclient/imapclient-2.1.0.ebuild
new file mode 100644
index 000..2b5dec6af40
--- /dev/null
+++ b/dev-python/imapclient/imapclient-2.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
+HOMEPAGE="https://github.com/mjs/imapclient;
+SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )"
+
+PATCHES=(
+   # fix incorrect assumption about py3.6 behavior
+   # https://github.com/mjs/imapclient/pull/384
+   "${FILESDIR}"/imapclient-2.1.0-py36-tests.patch
+)
+
+python_compile_all () {
+   use doc && esetup.py build_sphinx
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS.rst NEWS.rst README.rst )
+   use doc && local HTML_DOCS=( doc/html/. )
+   distutils-r1_python_install_all
+   use examples && dodoc -r examples
+}



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

2018-01-04 Thread Michał Górny
commit: 876c69b8de39357064dfa4d4533e6fa8bed2c4a5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  4 20:37:49 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 21:50:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876c69b8

dev-python/imapclient: Clean old up

 dev-python/imapclient/Manifest   |  1 -
 dev-python/imapclient/imapclient-0.12.ebuild | 62 
 2 files changed, 63 deletions(-)

diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest
index d34758a74b3..38d18b9e8f3 100644
--- a/dev-python/imapclient/Manifest
+++ b/dev-python/imapclient/Manifest
@@ -1,2 +1 @@
-DIST IMAPClient-0.12.tar.gz 100698 BLAKE2B 
d5a9ce4285d468ac827c4f33b140317cbff45e28b503e601e2755463957d3eca0144e54f6f59b9564bd1d530d77f791714bd4a72fc44da7e4aace34970bac5a0
 SHA512 
bd7d3e3911ff5ef1cc4a66f20e261955851562e76228f941d35f16a4680678be6a3741d520cc3133925a2dba9e8b6b5b988d7a740ff8abb63c14db1cf962acda
 DIST IMAPClient-0.13.tar.gz 102427 BLAKE2B 
f087b6e89c45810f359bed889345e6748ebf9ae90f6e3c4e013097a4e57d3f5ab0ec21906cfdccc03a344d92ccc442d58e38e687cd0761d86956047e89fedb03
 SHA512 
daebaf7f4180b6c9c6f4a486b313abfdd06f3ed8ece18a19bf46a50e56c2094e85de8a8e4efb8850566378eba016c10816611d03852caf637ee1d43f3c8a418f

diff --git a/dev-python/imapclient/imapclient-0.12.ebuild 
b/dev-python/imapclient/imapclient-0.12.ebuild
deleted file mode 100644
index 8c024c439d8..000
--- a/dev-python/imapclient/imapclient-0.12.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4} pypy )
-
-inherit distutils-r1
-
-MY_PN="IMAPClient"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library"
-HOMEPAGE="http://imapclient.freshfoo.com/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples test"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
python2_7 pypy) )"
-
-S=${WORKDIR}/${MY_P}
-
-python_prepare_all() {
-   # use system setuptools
-   sed -i '/use_setuptools/d' setup.py || die
-
-   # drop explicit mock version test dep
-   sed -i "/tests_require/s:'mock==.\+':'mock':" setup.py || die
-
-   # use system six library. patch proven less preferable to use of sed (< 
maintenance)
-   # but a copy of the working hunks from prior version works fine for now.
-   rm imapclient/six.py || die
-   epatch "${FILESDIR}"/0.12-tests.patch
-   sed -e 's:from .six:from six:g' \
-   -e 's:from . import six:import six:g' \
-   -i ${PN}/*.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   "${PYTHON}" -m unittest discover || die "tests failed under ${EPYTHON}"
-}
-
-python_install() {
-   distutils-r1_python_install
-   # don't install examples and tests in module dir
-   rm -r "${D}"$(python_get_sitedir)/imapclient/{examples,test} || die
-}
-
-python_install_all() {
-#  local DOCS=( AUTHORS HACKING.rst NEWS.rst README.rst THANKS )
-   use doc && local HTML_DOCS=( doc/html/. )
-   distutils-r1_python_install_all
-   use examples && dodoc -r ${PN}/examples
-}



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

2017-08-05 Thread Michael Palimaka
commit: 571b97740b7f73dfcae400b003691a8be31c7cfe
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Aug  5 09:15:08 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Aug  5 09:15:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=571b9774

dev-python/imapclient: x86 stable

Gentoo-bug: 625010
Package-Manager: Portage-2.3.6, Repoman-2.3.3

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

diff --git a/dev-python/imapclient/imapclient-0.13.ebuild 
b/dev-python/imapclient/imapclient-0.13.ebuild
index 810a13eaf7b..1bb557f5960 100644
--- a/dev-python/imapclient/imapclient-0.13.ebuild
+++ b/dev-python/imapclient/imapclient-0.13.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc examples test"
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"



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

2017-07-31 Thread Tobias Klausmann
commit: 0f6b936b1fe8881463f6a7c19ee9cfc381aa6157
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Jul 31 10:32:46 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Jul 31 10:37:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6b936b

dev-python/imapclient-0.13-r0: amd64 stable

Gentoo-Bug: 625010

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

diff --git a/dev-python/imapclient/imapclient-0.13.ebuild 
b/dev-python/imapclient/imapclient-0.13.ebuild
index d0fe2942999..810a13eaf7b 100644
--- a/dev-python/imapclient/imapclient-0.13.ebuild
+++ b/dev-python/imapclient/imapclient-0.13.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc examples test"
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"