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

2024-03-02 Thread Michał Górny
commit: 4ed55812c042f65d0f3812d28bf446a5a9cf2dd8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  2 11:33:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  2 11:43:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ed55812

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-4.0.2.ebuild | 78 -
 2 files changed, 79 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 108c298357f1..86a36bb60287 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-4.0.2.gh.tar.gz 214528 BLAKE2B 
c088329a86139eb01d325ec623504c0dfee1231ca8bbbf9ed73d46d4ed9dd79aaac6aaad225cacd64942eb7a3ead19bcb5e224ad9735d9760bd8c9c8e5e69043
 SHA512 
94dec0b08ea8f4cc5900d743b750f02a668c738d402632a80faef24220f87b4b14824966d6d902e9ddaab741e4091d6a370a7660d02ca27fd6fd0d251a473ab5
 DIST twine-5.0.0.gh.tar.gz 218873 BLAKE2B 
0f4f92d3ee9ae0f154c68cbc165ce014cbd5c34d88f8067c5f9ab4b6cfd3fc9d435f9c1ada6911af2f711bef3c5607fdfd969ad454c06e3a9bbce4f23ebc2a07
 SHA512 
a1701844df03f0ca0e4b15eeae97e1a1a5788f13f04bbd5b084a9dc6637c2404aefc354705c974edd53b2f09517e088f5857cb211ed45ed7dbcedecb0f6392d5

diff --git a/dev-python/twine/twine-4.0.2.ebuild 
b/dev-python/twine/twine-4.0.2.ebuild
deleted file mode 100644
index 8511365db4df..
--- a/dev-python/twine/twine-4.0.2.ebuild
+++ /dev/null
@@ -1,78 +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} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="
-   https://twine.readthedocs.io/
-   https://github.com/pypa/twine/
-   https://pypi.org/project/twine/
-"
-SRC_URI="
-   https://github.com/pypa/twine/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
-   >=dev-python/readme-renderer-35.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
-   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/build[${PYTHON_USEDEP}]
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # Internet
-   tests/test_integration.py
-   )
-   local EPYTEST_DESELECT=(
-   # Regression due to deps?
-   tests/test_check.py::test_fails_rst_no_content
-   # Avoid needing heavy virtualx
-   tests/test_auth.py::test_warns_for_empty_password
-   )
-
-   local -x COLUMNS=80
-   epytest
-}



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

2024-03-02 Thread Arthur Zamarin
commit: b2cc6543ed79733ad655b72dd27144e6527a9972
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 10:01:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 10:01:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2cc6543

dev-python/twine: Stabilize 5.0.0 ALLARCHES, #925975

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-python/twine/twine-5.0.0.ebuild 
b/dev-python/twine/twine-5.0.0.ebuild
index 970c1576f1a5..70421c663a1c 100644
--- a/dev-python/twine/twine-5.0.0.ebuild
+++ b/dev-python/twine/twine-5.0.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2024-02-11 Thread Michał Górny
commit: a94239d22df2c608a0e9135cd4ced4ac56465698
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 12 03:38:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 12 03:38:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a94239d2

dev-python/twine: Bump to 5.0.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-5.0.0.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 29b838b50621..108c298357f1 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-4.0.2.gh.tar.gz 214528 BLAKE2B 
c088329a86139eb01d325ec623504c0dfee1231ca8bbbf9ed73d46d4ed9dd79aaac6aaad225cacd64942eb7a3ead19bcb5e224ad9735d9760bd8c9c8e5e69043
 SHA512 
94dec0b08ea8f4cc5900d743b750f02a668c738d402632a80faef24220f87b4b14824966d6d902e9ddaab741e4091d6a370a7660d02ca27fd6fd0d251a473ab5
+DIST twine-5.0.0.gh.tar.gz 218873 BLAKE2B 
0f4f92d3ee9ae0f154c68cbc165ce014cbd5c34d88f8067c5f9ab4b6cfd3fc9d435f9c1ada6911af2f711bef3c5607fdfd969ad454c06e3a9bbce4f23ebc2a07
 SHA512 
a1701844df03f0ca0e4b15eeae97e1a1a5788f13f04bbd5b084a9dc6637c2404aefc354705c974edd53b2f09517e088f5857cb211ed45ed7dbcedecb0f6392d5

diff --git a/dev-python/twine/twine-5.0.0.ebuild 
b/dev-python/twine/twine-5.0.0.ebuild
new file mode 100644
index ..970c1576f1a5
--- /dev/null
+++ b/dev-python/twine/twine-5.0.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="
+   https://twine.readthedocs.io/
+   https://github.com/pypa/twine/
+   https://pypi.org/project/twine/
+"
+SRC_URI="
+   https://github.com/pypa/twine/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme-renderer-35.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
+   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/build[${PYTHON_USEDEP}]
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # Internet
+   tests/test_integration.py
+   )
+   local EPYTEST_DESELECT=(
+   # Regression due to deps?
+   tests/test_check.py::test_fails_rst_no_content
+   # Avoid needing heavy virtualx
+   tests/test_auth.py::test_warns_for_empty_password
+   )
+
+   local -x COLUMNS=80
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest
+}



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

2023-09-14 Thread Andrew Ammerlaan
commit: 7471e62b91af312a34c3debc85f277b59cffe39b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Sep 14 09:54:23 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Sep 14 09:57:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7471e62b

dev-python/twine: enable py3.12

Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.2.ebuild 
b/dev-python/twine/twine-4.0.2.ebuild
index ba821c857540..8511365db4df 100644
--- a/dev-python/twine/twine-4.0.2.ebuild
+++ b/dev-python/twine/twine-4.0.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1
 



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

2023-09-09 Thread WANG Xuerui
commit: 65cf6a22f5af37ea5ba9b0b944162e0607b432da
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Sep 10 05:23:47 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Sep 10 05:26:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cf6a22

dev-python/twine: keyword 4.0.2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.2.ebuild 
b/dev-python/twine/twine-4.0.2.ebuild
index e1cd99941073..ba821c857540 100644
--- a/dev-python/twine/twine-4.0.2.ebuild
+++ b/dev-python/twine/twine-4.0.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-12-31 Thread Michał Górny
commit: 678b4bb33e29d2ea77ecc3416f06ee5af53b4e44
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 31 10:49:13 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 31 10:55:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678b4bb3

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-4.0.1.ebuild | 78 -
 2 files changed, 79 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 2b5f319699e0..29b838b50621 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-4.0.1.gh.tar.gz 214569 BLAKE2B 
82c1793718cfd7d81d9745d16dfe21f59fdfd8b157840ff29629f8b7b86c1e36281f1ed9ba613ec0048c8eef8a2c80d2b9b160893ed953b06c9bfb027f5299e0
 SHA512 
0b5d24c56731239400b6713e0e52d1cfdb399a84e886b02ea4b59e7af69cc1578e03bf442cca4b2ea5f400995955d27c8d9d3cc17a6ea59013bdaaf6ac63a567
 DIST twine-4.0.2.gh.tar.gz 214528 BLAKE2B 
c088329a86139eb01d325ec623504c0dfee1231ca8bbbf9ed73d46d4ed9dd79aaac6aaad225cacd64942eb7a3ead19bcb5e224ad9735d9760bd8c9c8e5e69043
 SHA512 
94dec0b08ea8f4cc5900d743b750f02a668c738d402632a80faef24220f87b4b14824966d6d902e9ddaab741e4091d6a370a7660d02ca27fd6fd0d251a473ab5

diff --git a/dev-python/twine/twine-4.0.1.ebuild 
b/dev-python/twine/twine-4.0.1.ebuild
deleted file mode 100644
index b56ab48ee848..
--- a/dev-python/twine/twine-4.0.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# 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} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="
-   https://twine.readthedocs.io/
-   https://github.com/pypa/twine/
-   https://pypi.org/project/twine/
-"
-SRC_URI="
-   https://github.com/pypa/twine/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-35.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
-   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/build[${PYTHON_USEDEP}]
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # Internet
-   tests/test_integration.py
-   )
-   local EPYTEST_DESELECT=(
-   # Regression due to deps?
-   tests/test_check.py::test_fails_rst_no_content
-   # Avoid needing heavy virtualx
-   tests/test_auth.py::test_warns_for_empty_password
-   )
-
-   local -x COLUMNS=80
-   epytest
-}



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

2022-12-31 Thread Arthur Zamarin
commit: e5dbc863936c31e6082643f0ab257151fec33109
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 31 10:43:56 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 31 10:43:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5dbc863

dev-python/twine: Stabilize 4.0.2 ALLARCHES, #889134

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.2.ebuild 
b/dev-python/twine/twine-4.0.2.ebuild
index 37584b486999..b56ab48ee848 100644
--- a/dev-python/twine/twine-4.0.2.ebuild
+++ b/dev-python/twine/twine-4.0.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-11-30 Thread Michał Górny
commit: a1793ed228361cf6a29d8913a36e4f36fd1a0d8f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec  1 06:01:36 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec  1 07:09:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1793ed2

dev-python/twine: Bump to 4.0.2

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-4.0.2.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 7c0989baf461..2b5f319699e0 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-4.0.1.gh.tar.gz 214569 BLAKE2B 
82c1793718cfd7d81d9745d16dfe21f59fdfd8b157840ff29629f8b7b86c1e36281f1ed9ba613ec0048c8eef8a2c80d2b9b160893ed953b06c9bfb027f5299e0
 SHA512 
0b5d24c56731239400b6713e0e52d1cfdb399a84e886b02ea4b59e7af69cc1578e03bf442cca4b2ea5f400995955d27c8d9d3cc17a6ea59013bdaaf6ac63a567
+DIST twine-4.0.2.gh.tar.gz 214528 BLAKE2B 
c088329a86139eb01d325ec623504c0dfee1231ca8bbbf9ed73d46d4ed9dd79aaac6aaad225cacd64942eb7a3ead19bcb5e224ad9735d9760bd8c9c8e5e69043
 SHA512 
94dec0b08ea8f4cc5900d743b750f02a668c738d402632a80faef24220f87b4b14824966d6d902e9ddaab741e4091d6a370a7660d02ca27fd6fd0d251a473ab5

diff --git a/dev-python/twine/twine-4.0.2.ebuild 
b/dev-python/twine/twine-4.0.2.ebuild
new file mode 100644
index ..37584b486999
--- /dev/null
+++ b/dev-python/twine/twine-4.0.2.ebuild
@@ -0,0 +1,78 @@
+# 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} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="
+   https://twine.readthedocs.io/
+   https://github.com/pypa/twine/
+   https://pypi.org/project/twine/
+"
+SRC_URI="
+   https://github.com/pypa/twine/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-35.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
+   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/build[${PYTHON_USEDEP}]
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # Internet
+   tests/test_integration.py
+   )
+   local EPYTEST_DESELECT=(
+   # Regression due to deps?
+   tests/test_check.py::test_fails_rst_no_content
+   # Avoid needing heavy virtualx
+   tests/test_auth.py::test_warns_for_empty_password
+   )
+
+   local -x COLUMNS=80
+   epytest
+}



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

2022-07-18 Thread Sam James
commit: 55544f1884ae7988169ecaf78fea0288267f6f4e
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 18 12:25:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 18 12:25:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55544f18

dev-python/twine: skip tests needing virtx

Let's avoid a relatively heavy dep for a very common test dependency (twine).

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

 dev-python/twine/twine-4.0.1.ebuild | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-python/twine/twine-4.0.1.ebuild 
b/dev-python/twine/twine-4.0.1.ebuild
index 09a0d117aa0c..b56ab48ee848 100644
--- a/dev-python/twine/twine-4.0.1.ebuild
+++ b/dev-python/twine/twine-4.0.1.ebuild
@@ -67,11 +67,9 @@ python_test() {
tests/test_integration.py
)
local EPYTEST_DESELECT=(
-   # regression due to deps?
+   # Regression due to deps?
tests/test_check.py::test_fails_rst_no_content
-   )
-   [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
-   # confused by extra log entries that don't seem relevant
+   # Avoid needing heavy virtualx
tests/test_auth.py::test_warns_for_empty_password
)
 



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

2022-07-04 Thread Michał Górny
commit: 5ca1232ab4e7880de4d9992ffbf71cabd337b034
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 26 10:37:31 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul  4 06:57:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca1232a

dev-python/twine: Remove keywords for wd40 arches

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

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

diff --git a/dev-python/twine/twine-4.0.1.ebuild 
b/dev-python/twine/twine-4.0.1.ebuild
index 6bc7c02022a8..09a0d117aa0c 100644
--- a/dev-python/twine/twine-4.0.1.ebuild
+++ b/dev-python/twine/twine-4.0.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-07-02 Thread Michał Górny
commit: b61e62756c80c331c2b04b369deafd03d2f5dc41
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  2 15:59:54 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  2 16:07:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61e6275

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-4.0.0.ebuild | 77 -
 2 files changed, 78 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index af094fb015a9..7c0989baf461 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-4.0.0.tar.gz 214420 BLAKE2B 
0a1dc91ed9308252d5db3825c8b642e015720bfe7a95dd9a92ba347cbf1eedede85b18b9c310fe20322928db8e44f988bffb3845748ce9817ecbd5b521fb25c8
 SHA512 
c97a4315bd2a923979aa3a6cebf826ef022a9e510383f7f1debf941b6eedc47642c999702bdc3377a9740f381ed4dc442a542f02a44e521040cb67fb342e9b7e
 DIST twine-4.0.1.gh.tar.gz 214569 BLAKE2B 
82c1793718cfd7d81d9745d16dfe21f59fdfd8b157840ff29629f8b7b86c1e36281f1ed9ba613ec0048c8eef8a2c80d2b9b160893ed953b06c9bfb027f5299e0
 SHA512 
0b5d24c56731239400b6713e0e52d1cfdb399a84e886b02ea4b59e7af69cc1578e03bf442cca4b2ea5f400995955d27c8d9d3cc17a6ea59013bdaaf6ac63a567

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
deleted file mode 100644
index da2cc7fbd587..
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="
-   https://twine.readthedocs.io/
-   https://github.com/pypa/twine/
-   https://pypi.org/project/twine/
-"
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
-   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/build[${PYTHON_USEDEP}]
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # Internet
-   tests/test_integration.py
-   )
-   local EPYTEST_DESELECT=(
-   # regression due to deps?
-   tests/test_check.py::test_fails_rst_no_content
-   )
-   [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
-   # confused by extra log entries that don't seem relevant
-   tests/test_auth.py::test_warns_for_empty_password
-   )
-
-   local -x COLUMNS=80
-   epytest
-}



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

2022-07-02 Thread Jakov Smolić
commit: 3eecb71caf1d3e6edae13086b842e15ed7af4174
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jul  2 15:03:30 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jul  2 15:03:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eecb71c

dev-python/twine: Stabilize 4.0.1 ALLARCHES, #855749

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.1.ebuild 
b/dev-python/twine/twine-4.0.1.ebuild
index 7f4803fc0f57..6bc7c02022a8 100644
--- a/dev-python/twine/twine-4.0.1.ebuild
+++ b/dev-python/twine/twine-4.0.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-06-02 Thread Michał Górny
commit: c60544c82e7aa3050813320f11b0755a713c3211
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  2 06:24:31 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  2 06:42:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60544c8

dev-python/twine: Bump to 4.0.1

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-4.0.1.ebuild | 80 +
 2 files changed, 81 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 42e5f0db5926..af094fb015a9 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-4.0.0.tar.gz 214420 BLAKE2B 
0a1dc91ed9308252d5db3825c8b642e015720bfe7a95dd9a92ba347cbf1eedede85b18b9c310fe20322928db8e44f988bffb3845748ce9817ecbd5b521fb25c8
 SHA512 
c97a4315bd2a923979aa3a6cebf826ef022a9e510383f7f1debf941b6eedc47642c999702bdc3377a9740f381ed4dc442a542f02a44e521040cb67fb342e9b7e
+DIST twine-4.0.1.gh.tar.gz 214569 BLAKE2B 
82c1793718cfd7d81d9745d16dfe21f59fdfd8b157840ff29629f8b7b86c1e36281f1ed9ba613ec0048c8eef8a2c80d2b9b160893ed953b06c9bfb027f5299e0
 SHA512 
0b5d24c56731239400b6713e0e52d1cfdb399a84e886b02ea4b59e7af69cc1578e03bf442cca4b2ea5f400995955d27c8d9d3cc17a6ea59013bdaaf6ac63a567

diff --git a/dev-python/twine/twine-4.0.1.ebuild 
b/dev-python/twine/twine-4.0.1.ebuild
new file mode 100644
index ..7f4803fc0f57
--- /dev/null
+++ b/dev-python/twine/twine-4.0.1.ebuild
@@ -0,0 +1,80 @@
+# 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} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="
+   https://twine.readthedocs.io/
+   https://github.com/pypa/twine/
+   https://pypi.org/project/twine/
+"
+SRC_URI="
+   https://github.com/pypa/twine/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-35.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
+   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/build[${PYTHON_USEDEP}]
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # Internet
+   tests/test_integration.py
+   )
+   local EPYTEST_DESELECT=(
+   # regression due to deps?
+   tests/test_check.py::test_fails_rst_no_content
+   )
+   [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+   # confused by extra log entries that don't seem relevant
+   tests/test_auth.py::test_warns_for_empty_password
+   )
+
+   local -x COLUMNS=80
+   epytest
+}



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

2022-05-24 Thread Michał Górny
commit: 6a6a11741edc504933227dfbf0d9d84e09c1f58b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 05:29:44 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 06:15:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a6a1174

dev-python/twine: Enable py3.11

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

 dev-python/twine/twine-4.0.0.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index c8e882617c7b..da2cc7fbd587 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
 inherit distutils-r1
 
 DESCRIPTION="Collection of utilities for publishing packages on PyPI"
@@ -66,6 +67,10 @@ python_test() {
# regression due to deps?
tests/test_check.py::test_fails_rst_no_content
)
+   [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+   # confused by extra log entries that don't seem relevant
+   tests/test_auth.py::test_warns_for_empty_password
+   )
 
local -x COLUMNS=80
epytest



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

2022-05-24 Thread Michał Górny
commit: 89c6cfd0b4c4cfe236dc432f6bb3e8b45544a6fd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 06:02:25 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 06:15:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c6cfd0

dev-python/twine: Deselect failing test

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

 dev-python/twine/twine-4.0.0.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index 61e10a8a17e5..c8e882617c7b 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -48,8 +48,6 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
# pytest-socket dep relevant only to test_integration, and upstream
# disables it anyway
sed -i -e '/--disable-socket/d' pytest.ini || die
@@ -60,6 +58,15 @@ python_prepare_all() {
 }
 
 python_test() {
+   local EPYTEST_IGNORE=(
+   # Internet
+   tests/test_integration.py
+   )
+   local EPYTEST_DESELECT=(
+   # regression due to deps?
+   tests/test_check.py::test_fails_rst_no_content
+   )
+
local -x COLUMNS=80
epytest
 }



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

2022-05-06 Thread Michał Górny
commit: 8da82bb96454ba433c5ca71bd31837cc00404183
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May  6 13:34:50 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  6 13:34:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da82bb9

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-3.8.0.ebuild | 55 -
 2 files changed, 56 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 7fc8a4313b54..42e5f0db5926 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-3.8.0.tar.gz 213157 BLAKE2B 
c7c013a01b0f1f5ec24c76ebfea2c645da07eae0bb816978a37ed95bca4a2193cea627bdddefcd4beaadbe4bd7ee51315b309fbf06555cc75d509bc61578ac7d
 SHA512 
d6ede7241d4825665054811ad657916281426eda6ee88f0e83295b5498876830b6c69284056e409539c792c24ebeb5af2eedf45108261490a72812b9e86e08f2
 DIST twine-4.0.0.tar.gz 214420 BLAKE2B 
0a1dc91ed9308252d5db3825c8b642e015720bfe7a95dd9a92ba347cbf1eedede85b18b9c310fe20322928db8e44f988bffb3845748ce9817ecbd5b521fb25c8
 SHA512 
c97a4315bd2a923979aa3a6cebf826ef022a9e510383f7f1debf941b6eedc47642c999702bdc3377a9740f381ed4dc442a542f02a44e521040cb67fb342e9b7e

diff --git a/dev-python/twine/twine-3.8.0.ebuild 
b/dev-python/twine/twine-3.8.0.ebuild
deleted file mode 100644
index 184ff3b1d02c..
--- a/dev-python/twine/twine-3.8.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}



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

2022-05-06 Thread Jakov Smolić
commit: 6a4e5909b478f5b9a53e1a0aaf3097cd886a4124
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May  6 12:56:09 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May  6 12:56:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a4e5909

dev-python/twine: Stabilize 4.0.0 ALLARCHES, #842972

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index c6015827a5a3..61e10a8a17e5 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-05-02 Thread Arthur Zamarin
commit: 10ab2dddc307d8a269c6a3e7a6af9a63d9f33ce3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May  2 19:37:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May  2 19:37:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10ab2ddd

dev-python/twine: Keyword 4.0.0 ia64, #842138

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index 569aed0b42e3..c6015827a5a3 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-04-25 Thread Sam James
commit: d4c8fb4f2421e0e5953a459656de57c001c7f94c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 25 16:49:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 25 16:50:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c8fb4f

dev-python/twine: Keyword 4.0.0 s390, #840413

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

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

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index 04cf9838a2d1..89a6e7bd4e54 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-04-09 Thread Matt Turner
commit: 412a7eb3750ae6cfc5fb36b9823539f86d9ee827
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Apr 10 02:33:54 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Apr 10 02:34:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412a7eb3

dev-python/twine: Keyword 4.0.0 alpha, #836588

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index 3e9baf0f1b84..04cf9838a2d1 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2022-04-01 Thread Michał Górny
commit: e88b99eab4215d546fb60dd8baf5da58cfac2bc3
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr  1 19:45:43 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr  1 19:48:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88b99ea

dev-python/twine: Add test dep on dev-python/build

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

 dev-python/twine/twine-4.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
index 221c3a9e3dfc..3e9baf0f1b84 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -34,6 +34,7 @@ RDEPEND="
 BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
+   dev-python/build[${PYTHON_USEDEP}]
dev-python/jaraco-envs[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
dev-python/munch[${PYTHON_USEDEP}]



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

2022-04-01 Thread Michał Górny
commit: 70c965cffe6e5fb1ce968833808b5ac490d964dc
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr  1 11:52:00 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr  1 12:27:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c965cf

dev-python/twine: Bump to 4.0.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-4.0.0.ebuild | 64 +
 2 files changed, 65 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 9005a8b2c07d..7fc8a4313b54 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-3.8.0.tar.gz 213157 BLAKE2B 
c7c013a01b0f1f5ec24c76ebfea2c645da07eae0bb816978a37ed95bca4a2193cea627bdddefcd4beaadbe4bd7ee51315b309fbf06555cc75d509bc61578ac7d
 SHA512 
d6ede7241d4825665054811ad657916281426eda6ee88f0e83295b5498876830b6c69284056e409539c792c24ebeb5af2eedf45108261490a72812b9e86e08f2
+DIST twine-4.0.0.tar.gz 214420 BLAKE2B 
0a1dc91ed9308252d5db3825c8b642e015720bfe7a95dd9a92ba347cbf1eedede85b18b9c310fe20322928db8e44f988bffb3845748ce9817ecbd5b521fb25c8
 SHA512 
c97a4315bd2a923979aa3a6cebf826ef022a9e510383f7f1debf941b6eedc47642c999702bdc3377a9740f381ed4dc442a542f02a44e521040cb67fb342e9b7e

diff --git a/dev-python/twine/twine-4.0.0.ebuild 
b/dev-python/twine/twine-4.0.0.ebuild
new file mode 100644
index ..221c3a9e3dfc
--- /dev/null
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -0,0 +1,64 @@
+# 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..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="
+   https://twine.readthedocs.io/
+   https://github.com/pypa/twine/
+   https://pypi.org/project/twine/
+"
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
+   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}
+
+python_test() {
+   local -x COLUMNS=80
+   epytest
+}



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

2022-02-27 Thread Michał Górny
commit: b41cbafbd8520e82adc73661d4fc8903ef8248f3
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 27 18:47:39 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 27 18:47:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41cbafb

dev-python/twine: Remove old

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

 dev-python/twine/Manifest  |  1 -
 dev-python/twine/twine-3.7.0-r1.ebuild | 54 --
 dev-python/twine/twine-3.7.0.ebuild| 54 --
 3 files changed, 109 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index c9396c74d67c..9005a8b2c07d 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-3.7.0.tar.gz 212591 BLAKE2B 
116d96a058cb53e0626747aaeae40c63fd6ece4ed8ef537c3890f99226f34827b65e5e894f5f04a24999d5ca2bcf182505e08075c4ff8b979d7be71e05f645ef
 SHA512 
d7ddfdfcbaa7a5e3eba3657a06da090eeecbf373646e64d659f420fae4ba10c16c2c02e85bdf9c1f050b86177f19c85aa20183ad9d546cb053a11d60db0851f3
 DIST twine-3.8.0.tar.gz 213157 BLAKE2B 
c7c013a01b0f1f5ec24c76ebfea2c645da07eae0bb816978a37ed95bca4a2193cea627bdddefcd4beaadbe4bd7ee51315b309fbf06555cc75d509bc61578ac7d
 SHA512 
d6ede7241d4825665054811ad657916281426eda6ee88f0e83295b5498876830b6c69284056e409539c792c24ebeb5af2eedf45108261490a72812b9e86e08f2

diff --git a/dev-python/twine/twine-3.7.0-r1.ebuild 
b/dev-python/twine/twine-3.7.0-r1.ebuild
deleted file mode 100644
index 8566ac09bad8..
--- a/dev-python/twine/twine-3.7.0-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}

diff --git a/dev-python/twine/twine-3.7.0.ebuild 
b/dev-python/twine/twine-3.7.0.ebuild
deleted file mode 100644
index 75214fef9457..
--- a/dev-python/twine/twine-3.7.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-"
-BDEPEND="

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

2022-02-02 Thread Michał Górny
commit: bbb273f8827cdf1198548c7bdd1951b08e6b71bf
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  2 22:52:26 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  2 23:21:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb273f8

dev-python/twine: Bump to 3.8.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.8.0.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 33dfb19f6a54..c9396c74d67c 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-3.7.0.tar.gz 212591 BLAKE2B 
116d96a058cb53e0626747aaeae40c63fd6ece4ed8ef537c3890f99226f34827b65e5e894f5f04a24999d5ca2bcf182505e08075c4ff8b979d7be71e05f645ef
 SHA512 
d7ddfdfcbaa7a5e3eba3657a06da090eeecbf373646e64d659f420fae4ba10c16c2c02e85bdf9c1f050b86177f19c85aa20183ad9d546cb053a11d60db0851f3
+DIST twine-3.8.0.tar.gz 213157 BLAKE2B 
c7c013a01b0f1f5ec24c76ebfea2c645da07eae0bb816978a37ed95bca4a2193cea627bdddefcd4beaadbe4bd7ee51315b309fbf06555cc75d509bc61578ac7d
 SHA512 
d6ede7241d4825665054811ad657916281426eda6ee88f0e83295b5498876830b6c69284056e409539c792c24ebeb5af2eedf45108261490a72812b9e86e08f2

diff --git a/dev-python/twine/twine-3.8.0.ebuild 
b/dev-python/twine/twine-3.8.0.ebuild
new file mode 100644
index ..77e8f4fd95be
--- /dev/null
+++ b/dev-python/twine/twine-3.8.0.ebuild
@@ -0,0 +1,55 @@
+# 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..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2022-01-27 Thread Michał Górny
commit: 272b78d82a05ddd10ebdf9e9145f3d87499f4d00
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 27 09:51:09 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 27 10:02:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272b78d8

dev-python/twine: Switch to PEP 517 build

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

 dev-python/twine/twine-3.7.0-r1.ebuild | 54 ++
 1 file changed, 54 insertions(+)

diff --git a/dev-python/twine/twine-3.7.0-r1.ebuild 
b/dev-python/twine/twine-3.7.0-r1.ebuild
new file mode 100644
index ..8566ac09bad8
--- /dev/null
+++ b/dev-python/twine/twine-3.7.0-r1.ebuild
@@ -0,0 +1,54 @@
+# 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..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2022-01-02 Thread Michał Górny
commit: 501cdd7d4a18a5fde4eea856faf953f1a468439f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan  2 08:18:59 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan  2 10:59:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501cdd7d

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-3.6.0.ebuild | 54 -
 2 files changed, 55 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 5a6fee3e87f8..33dfb19f6a54 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-3.6.0.tar.gz 211971 BLAKE2B 
763f021e374c86749bca77ca67a5fe534acf333464d6cc2f978de4625abc09b7574aa31de927300983eb6feb801e77a169f11deb4edc5036df73943778f5844d
 SHA512 
41da4d89ac69c692a98545aefffd9afd4c7b0287179807906504b4121bf9257095b227ec2966d98983939fa76fb8509f6ffa2577c0e7b4c7f43f614f44745460
 DIST twine-3.7.0.tar.gz 212591 BLAKE2B 
116d96a058cb53e0626747aaeae40c63fd6ece4ed8ef537c3890f99226f34827b65e5e894f5f04a24999d5ca2bcf182505e08075c4ff8b979d7be71e05f645ef
 SHA512 
d7ddfdfcbaa7a5e3eba3657a06da090eeecbf373646e64d659f420fae4ba10c16c2c02e85bdf9c1f050b86177f19c85aa20183ad9d546cb053a11d60db0851f3

diff --git a/dev-python/twine/twine-3.6.0.ebuild 
b/dev-python/twine/twine-3.6.0.ebuild
deleted file mode 100644
index 6ec1e40a7ffa..
--- a/dev-python/twine/twine-3.6.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}



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

2022-01-01 Thread Sam James
commit: 591e21c2f518b04ba0cb160db39e33ffc6e989c1
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  2 06:31:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  2 06:31:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591e21c2

dev-python/twine: Stabilize 3.7.0 ALLARCHES, #830410

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

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

diff --git a/dev-python/twine/twine-3.7.0.ebuild 
b/dev-python/twine/twine-3.7.0.ebuild
index 9e3c290e3791..75214fef9457 100644
--- a/dev-python/twine/twine-3.7.0.ebuild
+++ b/dev-python/twine/twine-3.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2021-12-28 Thread Michał Górny
commit: 2d241cb9fe461e7d97e013f2e8393701e21b42b2
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 28 20:52:05 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 28 20:53:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d241cb9

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-3.4.2.ebuild | 54 -
 2 files changed, 55 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index b09b75184438..5a6fee3e87f8 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,3 +1,2 @@
-DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50
 DIST twine-3.6.0.tar.gz 211971 BLAKE2B 
763f021e374c86749bca77ca67a5fe534acf333464d6cc2f978de4625abc09b7574aa31de927300983eb6feb801e77a169f11deb4edc5036df73943778f5844d
 SHA512 
41da4d89ac69c692a98545aefffd9afd4c7b0287179807906504b4121bf9257095b227ec2966d98983939fa76fb8509f6ffa2577c0e7b4c7f43f614f44745460
 DIST twine-3.7.0.tar.gz 212591 BLAKE2B 
116d96a058cb53e0626747aaeae40c63fd6ece4ed8ef537c3890f99226f34827b65e5e894f5f04a24999d5ca2bcf182505e08075c4ff8b979d7be71e05f645ef
 SHA512 
d7ddfdfcbaa7a5e3eba3657a06da090eeecbf373646e64d659f420fae4ba10c16c2c02e85bdf9c1f050b86177f19c85aa20183ad9d546cb053a11d60db0851f3

diff --git a/dev-python/twine/twine-3.4.2.ebuild 
b/dev-python/twine/twine-3.4.2.ebuild
deleted file mode 100644
index 6ec1e40a7ffa..
--- a/dev-python/twine/twine-3.4.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}



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

2021-12-28 Thread Arthur Zamarin
commit: b526fae26f7f13b6280075e2727c4208720fcc92
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Dec 28 20:23:37 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Dec 28 20:23:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b526fae2

dev-python/twine: Stabilize 3.6.0 ALLARCHES, #830184

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.6.0.ebuild 
b/dev-python/twine/twine-3.6.0.ebuild
index 9b2c0e01151e..6ec1e40a7ffa 100644
--- a/dev-python/twine/twine-3.6.0.ebuild
+++ b/dev-python/twine/twine-3.6.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2021-12-01 Thread Michał Górny
commit: a75166b7d87e2ea74c244b73c187951430751efa
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec  1 18:59:23 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec  1 19:14:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a75166b7

dev-python/twine: Bump to 3.7.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.7.0.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 6f7d9ec6e5a8..b09b75184438 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1,3 @@
 DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50
 DIST twine-3.6.0.tar.gz 211971 BLAKE2B 
763f021e374c86749bca77ca67a5fe534acf333464d6cc2f978de4625abc09b7574aa31de927300983eb6feb801e77a169f11deb4edc5036df73943778f5844d
 SHA512 
41da4d89ac69c692a98545aefffd9afd4c7b0287179807906504b4121bf9257095b227ec2966d98983939fa76fb8509f6ffa2577c0e7b4c7f43f614f44745460
+DIST twine-3.7.0.tar.gz 212591 BLAKE2B 
116d96a058cb53e0626747aaeae40c63fd6ece4ed8ef537c3890f99226f34827b65e5e894f5f04a24999d5ca2bcf182505e08075c4ff8b979d7be71e05f645ef
 SHA512 
d7ddfdfcbaa7a5e3eba3657a06da090eeecbf373646e64d659f420fae4ba10c16c2c02e85bdf9c1f050b86177f19c85aa20183ad9d546cb053a11d60db0851f3

diff --git a/dev-python/twine/twine-3.7.0.ebuild 
b/dev-python/twine/twine-3.7.0.ebuild
new file mode 100644
index ..9e3c290e3791
--- /dev/null
+++ b/dev-python/twine/twine-3.7.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2021-11-28 Thread Michał Górny
commit: 5169b42153515255f35b8284a181edd64ae438f5
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 26 10:53:07 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 28 14:38:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5169b421

dev-python/twine: Remove ~ia64 (due to Rust)

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

 dev-python/twine/twine-3.4.2.ebuild | 2 +-
 dev-python/twine/twine-3.6.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/twine/twine-3.4.2.ebuild 
b/dev-python/twine/twine-3.4.2.ebuild
index 15a5458a4761..6ec1e40a7ffa 100644
--- a/dev-python/twine/twine-3.4.2.ebuild
+++ b/dev-python/twine/twine-3.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]

diff --git a/dev-python/twine/twine-3.6.0.ebuild 
b/dev-python/twine/twine-3.6.0.ebuild
index 97a82eff44d7..9b2c0e01151e 100644
--- a/dev-python/twine/twine-3.6.0.ebuild
+++ b/dev-python/twine/twine-3.6.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2021-11-24 Thread Sam James
commit: 21a71f0a6ff3db1b3a5478c6a96732447139bdb2
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 25 05:46:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 05:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a71f0a

dev-python/twine: add 3.6.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.6.0.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 2aa0cbe7a0cf..e3b6ac1d0370 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1,3 @@
 DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50
 DIST twine-3.5.0.tar.gz 211946 BLAKE2B 
7ec2eb88a4496f7e750927c83b2e6d6ed39a08bb1775cda8df555ee6ce5244d721e8aaf2d983f983219b9445f56e2a830979a5e5e6165ab7e6ec12b2a0602842
 SHA512 
37219c1078bb7209123aee79c2d2bd73390c8ce4ab2bf6b5493a54e4ccb9c714a6422ee4a782b3c19d3a5344c1431285c666230729f44615b7761c7a5aff07d6
+DIST twine-3.6.0.tar.gz 211971 BLAKE2B 
763f021e374c86749bca77ca67a5fe534acf333464d6cc2f978de4625abc09b7574aa31de927300983eb6feb801e77a169f11deb4edc5036df73943778f5844d
 SHA512 
41da4d89ac69c692a98545aefffd9afd4c7b0287179807906504b4121bf9257095b227ec2966d98983939fa76fb8509f6ffa2577c0e7b4c7f43f614f44745460

diff --git a/dev-python/twine/twine-3.6.0.ebuild 
b/dev-python/twine/twine-3.6.0.ebuild
new file mode 100644
index ..97a82eff44d7
--- /dev/null
+++ b/dev-python/twine/twine-3.6.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2021-11-24 Thread Sam James
commit: fb38a0a3095354be9834a4332390722ceaf9103a
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 25 05:46:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 05:46:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb38a0a3

dev-python/twine: drop 3.5.0

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-3.5.0.ebuild | 54 -
 2 files changed, 55 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index e3b6ac1d0370..6f7d9ec6e5a8 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,3 +1,2 @@
 DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50
-DIST twine-3.5.0.tar.gz 211946 BLAKE2B 
7ec2eb88a4496f7e750927c83b2e6d6ed39a08bb1775cda8df555ee6ce5244d721e8aaf2d983f983219b9445f56e2a830979a5e5e6165ab7e6ec12b2a0602842
 SHA512 
37219c1078bb7209123aee79c2d2bd73390c8ce4ab2bf6b5493a54e4ccb9c714a6422ee4a782b3c19d3a5344c1431285c666230729f44615b7761c7a5aff07d6
 DIST twine-3.6.0.tar.gz 211971 BLAKE2B 
763f021e374c86749bca77ca67a5fe534acf333464d6cc2f978de4625abc09b7574aa31de927300983eb6feb801e77a169f11deb4edc5036df73943778f5844d
 SHA512 
41da4d89ac69c692a98545aefffd9afd4c7b0287179807906504b4121bf9257095b227ec2966d98983939fa76fb8509f6ffa2577c0e7b4c7f43f614f44745460

diff --git a/dev-python/twine/twine-3.5.0.ebuild 
b/dev-python/twine/twine-3.5.0.ebuild
deleted file mode 100644
index 97a82eff44d7..
--- a/dev-python/twine/twine-3.5.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}



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

2021-11-03 Thread Michał Górny
commit: 1999d620e1da1a4bb54cda77217c09713ed3a87b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov  3 20:33:42 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov  3 20:52:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1999d620

dev-python/twine: Bump to 3.5.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.5.0.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 63d09da5cd7..2aa0cbe7a0c 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50
+DIST twine-3.5.0.tar.gz 211946 BLAKE2B 
7ec2eb88a4496f7e750927c83b2e6d6ed39a08bb1775cda8df555ee6ce5244d721e8aaf2d983f983219b9445f56e2a830979a5e5e6165ab7e6ec12b2a0602842
 SHA512 
37219c1078bb7209123aee79c2d2bd73390c8ce4ab2bf6b5493a54e4ccb9c714a6422ee4a782b3c19d3a5344c1431285c666230729f44615b7761c7a5aff07d6

diff --git a/dev-python/twine/twine-3.5.0.ebuild 
b/dev-python/twine/twine-3.5.0.ebuild
new file mode 100644
index 000..97a82eff44d
--- /dev/null
+++ b/dev-python/twine/twine-3.5.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2021-08-29 Thread Michał Górny
commit: d58647ffba9cb866764569710150ac4ae4326447
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 30 05:55:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 30 05:57:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58647ff

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-3.4.1.ebuild | 53 -
 2 files changed, 54 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 64270f1aa12..63d09da5cd7 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-3.4.1.tar.gz 211775 BLAKE2B 
0fdc6a8f5a37ee9695c8db2080987b631dfe6f8ed718e3912c94d77b46d35682d27bef07715c1fe7c0d8b6ab1449a771e18d8ffa5c6044dde1536b56b3e7885e
 SHA512 
eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79
 DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50

diff --git a/dev-python/twine/twine-3.4.1.ebuild 
b/dev-python/twine/twine-3.4.1.ebuild
deleted file mode 100644
index 17f9c3dc5ee..000
--- a/dev-python/twine/twine-3.4.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}



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

2021-08-29 Thread Sam James
commit: b9df38bbec9462e3c2c9ecd0e623ceac09bca508
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 30 01:20:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 30 01:23:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9df38bb

dev-python/twine: Stabilize 3.4.2 ALLARCHES, #811033

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

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

diff --git a/dev-python/twine/twine-3.4.2.ebuild 
b/dev-python/twine/twine-3.4.2.ebuild
index 97a82eff44d..15a5458a476 100644
--- a/dev-python/twine/twine-3.4.2.ebuild
+++ b/dev-python/twine/twine-3.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2021-07-28 Thread Marek Szuba
commit: d9cde017742d2a6e3b29f8ec94a70f3dae1ac6fd
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 28 22:29:41 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 28 23:37:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9cde017

dev-python/twine: keyword 3.4.2 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.4.2.ebuild 
b/dev-python/twine/twine-3.4.2.ebuild
index 72a1dedc539..97a82eff44d 100644
--- a/dev-python/twine/twine-3.4.2.ebuild
+++ b/dev-python/twine/twine-3.4.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2021-07-21 Thread Michał Górny
commit: bb5a6275f0ce884f482a42579455ac3dd0c5a623
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 21 06:46:02 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 21 07:24:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5a6275

dev-python/twine: Bump to 3.4.2

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.4.2.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 0b3406a8182..64270f1aa12 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-3.4.1.tar.gz 211775 BLAKE2B 
0fdc6a8f5a37ee9695c8db2080987b631dfe6f8ed718e3912c94d77b46d35682d27bef07715c1fe7c0d8b6ab1449a771e18d8ffa5c6044dde1536b56b3e7885e
 SHA512 
eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79
+DIST twine-3.4.2.tar.gz 212266 BLAKE2B 
602bb72f4be1c0d28341fb3378a5d55737c14555495640ae3414a1c8e7ca0c06b2c2ce3c358130251c02f0a51b61eb362a1e999c3945d4d1d7afd7bcd4d17807
 SHA512 
3f6d8992294a35e2a26be64f56c88d31af63b05f3f477d545bc82d928ca1b9939d23fa489eca5232502a49def77d489eaf6a29663d150f78b5cdb99749ff9b50

diff --git a/dev-python/twine/twine-3.4.2.ebuild 
b/dev-python/twine/twine-3.4.2.ebuild
new file mode 100644
index 000..72a1dedc539
--- /dev/null
+++ b/dev-python/twine/twine-3.4.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2021-06-13 Thread Michał Górny
commit: 8f6f6225fca61d5296f38faf71af800bf7e531ed
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 13 11:26:22 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 13 11:27:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6f6225

dev-python/twine: Enable py3.10

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

 dev-python/twine/twine-3.4.1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/twine/twine-3.4.1.ebuild 
b/dev-python/twine/twine-3.4.1.ebuild
index a1c46e5c809..17f9c3dc5ee 100644
--- a/dev-python/twine/twine-3.4.1.ebuild
+++ b/dev-python/twine/twine-3.4.1.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Collection of utilities for publishing packages on PyPI"



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

2021-04-18 Thread Michał Górny
commit: 82da3b215eb3cf5c6844580a7cbd1a60da11e853
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 18 06:51:34 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 18 07:05:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82da3b21

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  2 --
 dev-python/twine/twine-3.3.0.ebuild | 66 -
 dev-python/twine/twine-3.4.0.ebuild | 56 ---
 3 files changed, 124 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 01d4ea27fc4..0b3406a8182 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,3 +1 @@
-DIST twine-3.3.0.tar.gz 148996 BLAKE2B 
60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97
 SHA512 
94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291
-DIST twine-3.4.0.tar.gz 211582 BLAKE2B 
6b309880e96142a666f0113343f6a7a604ec6058f58429befa4709366d8dd8b6ddd0d2cd69d74653d12a74a615e6e3ad6b7d96892aa5beab00c934be2fc4b8d6
 SHA512 
6ce4757048fe7b5ada8a384fa185e80cee8412ef7f0561f55a5cbec39c0069522b57e403f148b9b55c55330a577873a5e9597ca0a6b0fb0cce6b377c8df07e4e
 DIST twine-3.4.1.tar.gz 211775 BLAKE2B 
0fdc6a8f5a37ee9695c8db2080987b631dfe6f8ed718e3912c94d77b46d35682d27bef07715c1fe7c0d8b6ab1449a771e18d8ffa5c6044dde1536b56b3e7885e
 SHA512 
eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79

diff --git a/dev-python/twine/twine-3.3.0.ebuild 
b/dev-python/twine/twine-3.3.0.ebuild
deleted file mode 100644
index 705a6185055..000
--- a/dev-python/twine/twine-3.3.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' 
python3_{6,7} pypy{,3})
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-"
-
-python_prepare_all() {
-   # avoid a setuptools_scm dependency
-   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
-   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
-   setup.cfg || die
-
-   # requires internet
-   sed -e 's:test_check_status_code_for_wrong_repo_url:_&:' \
-   -i tests/test_upload.py || die
-   rm -f tests/test_integration.py || die
-   # pytest-socket dep relevant only to test_integration, and upstream
-   # disables it anyway
-   sed -i -e '/--disable-socket/d' pytest.ini || die
-
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/twine/twine-3.4.0.ebuild 
b/dev-python/twine/twine-3.4.0.ebuild
deleted file mode 100644
index e71049c037c..000
--- a/dev-python/twine/twine-3.4.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 

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

2021-04-17 Thread Sam James
commit: 92cf30ee97492ab8cecc909de7acccac45799098
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 01:40:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 01:40:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92cf30ee

dev-python/twine: Stabilize 3.4.1 ALLARCHES, #783354

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

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

diff --git a/dev-python/twine/twine-3.4.1.ebuild 
b/dev-python/twine/twine-3.4.1.ebuild
index 58a2549a393..a1c46e5c809 100644
--- a/dev-python/twine/twine-3.4.1.ebuild
+++ b/dev-python/twine/twine-3.4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]



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

2021-03-17 Thread Michał Górny
commit: 9bb386cd69eb7f777eb15586596946679412bbea
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 17 07:19:21 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 17 07:47:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb386cd

dev-python/twine: Bump to 3.4.1

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.4.1.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index a91b4e931df..01d4ea27fc4 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1,3 @@
 DIST twine-3.3.0.tar.gz 148996 BLAKE2B 
60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97
 SHA512 
94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291
 DIST twine-3.4.0.tar.gz 211582 BLAKE2B 
6b309880e96142a666f0113343f6a7a604ec6058f58429befa4709366d8dd8b6ddd0d2cd69d74653d12a74a615e6e3ad6b7d96892aa5beab00c934be2fc4b8d6
 SHA512 
6ce4757048fe7b5ada8a384fa185e80cee8412ef7f0561f55a5cbec39c0069522b57e403f148b9b55c55330a577873a5e9597ca0a6b0fb0cce6b377c8df07e4e
+DIST twine-3.4.1.tar.gz 211775 BLAKE2B 
0fdc6a8f5a37ee9695c8db2080987b631dfe6f8ed718e3912c94d77b46d35682d27bef07715c1fe7c0d8b6ab1449a771e18d8ffa5c6044dde1536b56b3e7885e
 SHA512 
eca2a7b6b1386868f67dec1182599a8331981585e1cc0b7eef762aa0e99b87b0c6725a2c776330a8b392254501880a68e01ed8569a169857e8079abb8da43b79

diff --git a/dev-python/twine/twine-3.4.1.ebuild 
b/dev-python/twine/twine-3.4.1.ebuild
new file mode 100644
index 000..58a2549a393
--- /dev/null
+++ b/dev-python/twine/twine-3.4.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2021-03-15 Thread Michał Górny
commit: 3c1f620817261f7fe1fe961efff0c82c3c2d7e77
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 15 21:41:20 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 15 21:44:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1f6208

dev-python/twine: Bump to 3.4.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.4.0.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 565838b1acc..a91b4e931df 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-3.3.0.tar.gz 148996 BLAKE2B 
60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97
 SHA512 
94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291
+DIST twine-3.4.0.tar.gz 211582 BLAKE2B 
6b309880e96142a666f0113343f6a7a604ec6058f58429befa4709366d8dd8b6ddd0d2cd69d74653d12a74a615e6e3ad6b7d96892aa5beab00c934be2fc4b8d6
 SHA512 
6ce4757048fe7b5ada8a384fa185e80cee8412ef7f0561f55a5cbec39c0069522b57e403f148b9b55c55330a577873a5e9597ca0a6b0fb0cce6b377c8df07e4e

diff --git a/dev-python/twine/twine-3.4.0.ebuild 
b/dev-python/twine/twine-3.4.0.ebuild
new file mode 100644
index 000..e71049c037c
--- /dev/null
+++ b/dev-python/twine/twine-3.4.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+
+RDEPEND="
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+   export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}



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

2021-01-25 Thread Michał Górny
commit: e540e39ba446bbbc7f06857f1202bbf04c8f84b6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 25 14:23:23 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 25 14:29:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e540e39b

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/twine-3.2.0.ebuild | 63 -
 2 files changed, 64 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 03a73d81249..565838b1acc 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-3.2.0.tar.gz 145280 BLAKE2B 
b25fa984486a375e09705703a47994b529f6e5b48c6733c0a07b57bec6c0dfcdf4096d6ac6b0f9b7a7bfebfb32ea1cfb49c5de79f29495eb2a8fc59a5f8de4e5
 SHA512 
9959430913ea570d22f2d8b94e929af36b409b71691b3f66de8ddb77cfbfbe36590e21a6062db2a4a4f56ce2eb96984b0a474a93ea96b7734f53ada7a6411c28
 DIST twine-3.3.0.tar.gz 148996 BLAKE2B 
60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97
 SHA512 
94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
deleted file mode 100644
index a4ec13e3cc3..000
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' 
python3_{6,7} pypy{,3})
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
-"
-
-python_prepare_all() {
-   # avoid a setuptools_scm dependency
-   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
-   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
-   setup.cfg || die
-
-   # requires internet
-   sed -e 's:test_check_status_code_for_wrong_repo_url:_&:' \
-   -i tests/test_upload.py || die
-   rm -f tests/test_integration.py || die
-
-   sed -i -e '/--cov/d' pytest.ini || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}



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

2021-01-25 Thread Sam James
commit: adc74741b648a398719afdda64d0a147d1237648
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 25 14:05:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 25 14:05:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc74741

dev-python/twine: Stabilize 3.3.0 ALLARCHES, #767127

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

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

diff --git a/dev-python/twine/twine-3.3.0.ebuild 
b/dev-python/twine/twine-3.3.0.ebuild
index 6dc766493a0..fced01735bb 100644
--- a/dev-python/twine/twine-3.3.0.ebuild
+++ b/dev-python/twine/twine-3.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-12-25 Thread Michał Górny
commit: dcdd744209d2588b71d022741fe96b27f9be2e4a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 25 08:36:08 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 25 09:13:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdd7442

dev-python/twine: Bump to 3.3.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.3.0.ebuild | 66 +
 2 files changed, 67 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 5879478ddd5..03a73d81249 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-3.2.0.tar.gz 145280 BLAKE2B 
b25fa984486a375e09705703a47994b529f6e5b48c6733c0a07b57bec6c0dfcdf4096d6ac6b0f9b7a7bfebfb32ea1cfb49c5de79f29495eb2a8fc59a5f8de4e5
 SHA512 
9959430913ea570d22f2d8b94e929af36b409b71691b3f66de8ddb77cfbfbe36590e21a6062db2a4a4f56ce2eb96984b0a474a93ea96b7734f53ada7a6411c28
+DIST twine-3.3.0.tar.gz 148996 BLAKE2B 
60668acd0481534631ca0ecf3c755df7e9e46c6d183d0f1c73ed7467cfecc144878d6ccf7ef2ee62efa17eb5629f5ed74c77c8ae4d57ef16530fad31afe40d97
 SHA512 
94fc7a9b3f2b5fc7c06baf55debf4fd55f6a2b4c4321c9bff46b844166769ce8bdcab10355c4967998149b62e13b26e11a30ff66042bfdd5af24d448321fd291

diff --git a/dev-python/twine/twine-3.3.0.ebuild 
b/dev-python/twine/twine-3.3.0.ebuild
new file mode 100644
index 000..6dc766493a0
--- /dev/null
+++ b/dev-python/twine/twine-3.3.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' 
python3_{6,7} pypy{,3})
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+   # avoid a setuptools_scm dependency
+   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
+   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
+   setup.cfg || die
+
+   # requires internet
+   sed -e 's:test_check_status_code_for_wrong_repo_url:_&:' \
+   -i tests/test_upload.py || die
+   rm -f tests/test_integration.py || die
+   # pytest-socket dep relevant only to test_integration, and upstream
+   # disables it anyway
+   sed -i -e '/--disable-socket/d' pytest.ini || die
+
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv || die "Tests fail with ${EPYTHON}"
+}



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

2020-11-28 Thread Sam James
commit: a9c727e382acdf5f0b615240f6d25ac444e7cb39
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 28 15:41:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 28 15:42:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c727e3

dev-python/twine: ~x64-macos keyworded

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index 0d274b54a4f..a4ec13e3cc3 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-10-21 Thread Michał Górny
commit: 75fbc08b8a0850582cb9f74a5ae648bf9a6a8761
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 21 22:48:24 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 21 22:51:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fbc08b

dev-python/twine: Remove old

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

 dev-python/twine/Manifest   |  1 -
 dev-python/twine/files/twine-1.15.0-tests.patch | 21 ---
 dev-python/twine/twine-1.15.0.ebuild| 49 -
 3 files changed, 71 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index cfa3a8d3d0f..5879478ddd5 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1 @@
-DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
 DIST twine-3.2.0.tar.gz 145280 BLAKE2B 
b25fa984486a375e09705703a47994b529f6e5b48c6733c0a07b57bec6c0dfcdf4096d6ac6b0f9b7a7bfebfb32ea1cfb49c5de79f29495eb2a8fc59a5f8de4e5
 SHA512 
9959430913ea570d22f2d8b94e929af36b409b71691b3f66de8ddb77cfbfbe36590e21a6062db2a4a4f56ce2eb96984b0a474a93ea96b7734f53ada7a6411c28

diff --git a/dev-python/twine/files/twine-1.15.0-tests.patch 
b/dev-python/twine/files/twine-1.15.0-tests.patch
deleted file mode 100644
index ce75469c091..000
--- a/dev-python/twine/files/twine-1.15.0-tests.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/tests/test_package.py b/tests/test_package.py
-index 8e4fbbb..35c9c52 100644
 a/tests/test_package.py
-+++ b/tests/test_package.py
-@@ -214,11 +214,11 @@ TWINE_1_5_0_WHEEL_HEXDIGEST = package.Hexdigest(
- 'b657a4148d05bd0098c1d6d8cc4e14e766dbe93c3a5ab6723b969da27a87bac0',
- )
- 
--if platform.python_implementation().lower() == 'pypy':
--# pyblake2 refuses to install on PyPy
--TWINE_1_5_0_WHEEL_HEXDIGEST = TWINE_1_5_0_WHEEL_HEXDIGEST._replace(
--blake2=None,
--)
-+#if platform.python_implementation().lower() == 'pypy':
-+## pyblake2 refuses to install on PyPy
-+#TWINE_1_5_0_WHEEL_HEXDIGEST = TWINE_1_5_0_WHEEL_HEXDIGEST._replace(
-+#blake2=None,
-+#)
- 
- 
- def test_hash_manager():

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
deleted file mode 100644
index e281b95ed91..000
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-   "${FILESDIR}/twine-1.15.0-tests.patch"
-)
-
-python_prepare_all() {
-   # requires internet
-   rm -f tests/test_integration.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}



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

2020-10-15 Thread Sergei Trofimovich
commit: e3fa32fc809a2bdde1d36c9dcf39cec2f0a524e5
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Oct 15 14:23:51 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Oct 15 18:40:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3fa32fc

dev-python/twine: stable 3.2.0 for hppa, bug #733850

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index d3d319a5e3c..0d274b54a4f 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-09-12 Thread David Seifert
commit: f11f5d446e4718c4dfe40bcb6cb8ec7bd854673e
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Aug 28 17:02:10 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 12 09:54:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11f5d44

dev-python/twine: remove unused patch

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 dev-python/twine/files/twine-3.0.0-tests.patch | 20 
 1 file changed, 20 deletions(-)

diff --git a/dev-python/twine/files/twine-3.0.0-tests.patch 
b/dev-python/twine/files/twine-3.0.0-tests.patch
deleted file mode 100644
index e79fa03646d..000
--- a/dev-python/twine/files/twine-3.0.0-tests.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/tests/test_upload.py b/tests/test_upload.py
-index c87e16e..1487a0d 100644
 a/tests/test_upload.py
-+++ b/tests/test_upload.py
-@@ -13,6 +13,7 @@
- # limitations under the License.
- import pretend
- import pytest
-+import unittest
- from requests.exceptions import HTTPError
- 
- from twine.commands import upload
-@@ -298,6 +299,7 @@ def test_values_from_env(monkeypatch):
- "https://test.pypi.org/;,
- "https://pypi.org/;
- ])
-+@unittest.skip("needs internet access")
- def test_check_status_code_for_wrong_repo_url(repo_url, make_settings):
- upload_settings = make_settings()
- 



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

2020-09-06 Thread Sam James
commit: d051186d8a4c3d0113b280c45d789af43281b941
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  6 17:27:20 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  6 17:34:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d051186d

dev-python/twine: ppc64 stable (bug #733850)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index 49f51f7098f..d3d319a5e3c 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-08-22 Thread Michał Górny
commit: 2912e7758e2d466f970eb1969d91f684ad658a5a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 22 07:08:56 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 22 07:08:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2912e775

dev-python/twine: Remove redundant versions

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

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

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index fa0e211d1af..cfa3a8d3d0f 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,3 +1,2 @@
 DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
-DIST twine-3.1.1.tar.gz 138692 BLAKE2B 
d96e207b5ef1314f547f5e8fbf36565d5cf29f0dd19438d41fcbb154a98b854c669740b533a28cd79501933f0cef57767e63a83f135fcdbc196df8865cfc4d8a
 SHA512 
446b36a1816db6131e279bda26e62c58f9659d86178d498ebb9f7c5287b61cf969e625debe4b4cb1e32832e0eecbcedcf4913319ae0bf7eb287f56e550d33ed9
 DIST twine-3.2.0.tar.gz 145280 BLAKE2B 
b25fa984486a375e09705703a47994b529f6e5b48c6733c0a07b57bec6c0dfcdf4096d6ac6b0f9b7a7bfebfb32ea1cfb49c5de79f29495eb2a8fc59a5f8de4e5
 SHA512 
9959430913ea570d22f2d8b94e929af36b409b71691b3f66de8ddb77cfbfbe36590e21a6062db2a4a4f56ce2eb96984b0a474a93ea96b7734f53ada7a6411c28

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
deleted file mode 100644
index adef323d40d..000
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' 
python3_{6,7} pypy{,3})
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-   "${FILESDIR}/twine-3.0.0-tests.patch"
-)
-
-python_prepare_all() {
-   # avoid a setuptools_scm dependency
-   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
-   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
-   setup.cfg || die
-
-   # requires internet
-   rm -f tests/test_integration.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}



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

2020-08-01 Thread Sergei Trofimovich
commit: 576ef5e523fab3d117864959321eab89fe2932ad
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:50:29 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:50:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576ef5e5

dev-python/twine: stable 3.2.0 for ppc

stable wrt bug #733850

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index 8a25eb209d9..49f51f7098f 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-30 Thread Sam James
commit: a0ece749507ad93ba7a8f74fd62c6c8336d8dbff
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 31 01:10:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 31 01:10:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ece749

dev-python/twine: x86 stable (bug #733850)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index 3072193f8f1..8a25eb209d9 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-28 Thread Sam James
commit: fa84a63dfad1a5647a146d16a0d928711e59e4cb
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 29 05:00:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 29 05:00:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa84a63d

dev-python/twine: sparc stable (bug #733850)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index eb118b29650..3072193f8f1 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-25 Thread Sam James
commit: 2be593baf0d76206edd6ecb9528f4185ce038997
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 20:46:30 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 21:01:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be593ba

dev-python/twine: arm64 stable (bug #733850)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index 64acadd451f..eb118b29650 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-25 Thread Sam James
commit: 73fd3e8e5b5232b429f640cec7a5d42308ff520c
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 13:53:19 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 14:08:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fd3e8e

dev-python/twine: arm stable (bug #733850)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index a9491b4f165..64acadd451f 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-25 Thread Sam James
commit: fc62027e6a6fd20bee595d8f0b6833ce0abb4e66
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 11:03:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 11:16:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc62027e

dev-python/twine: amd64 stable (bug #733850)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
index c41930434c2..a9491b4f165 100644
--- a/dev-python/twine/twine-3.2.0.ebuild
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-25 Thread Michał Górny
commit: c32225db662f76eb4f16f5a8902f0624d5412a5d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 25 08:28:01 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 25 08:31:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32225db

dev-python/twine: Mark ALLARCHES

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

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

diff --git a/dev-python/twine/metadata.xml b/dev-python/twine/metadata.xml
index 3b7872fa6a9..ba7a8823ede 100644
--- a/dev-python/twine/metadata.xml
+++ b/dev-python/twine/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

twine
pypa/twine



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

2020-07-25 Thread Michał Górny
commit: 1b3ca83452b524fcee210cdf2af343dc476da8bc
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 25 08:07:12 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 25 08:31:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3ca834

dev-python/twine: Remove py2

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

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 2a970631cad..e281b95ed91 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 
@@ -30,7 +30,6 @@ RDEPEND="
>=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' 
python{2_7,3_5})
 "
 
 PATCHES=(



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

2020-07-14 Thread Sam James
commit: bcbfba4e8bd92d047db28abd82e9079f08bca1cb
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 14 15:53:47 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 14 15:57:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbfba4e

dev-python/twine: ppc64 stable (bug #730126)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 16fdd439ad9..2a970631cad 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-14 Thread Sam James
commit: 1c4727dfc3b914d4053b9118579e4c08fc8ca2d8
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 14 13:15:24 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 14 13:15:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4727df

dev-python/twine: ppc stable (bug #730126)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 211bba3be4e..16fdd439ad9 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-06 Thread Sergei Trofimovich
commit: c4e4eac7e8a44f42c4393014e43ad835c4cb01d3
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jul  6 15:18:43 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 16:43:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e4eac7

dev-python/twine: stable 1.15.0 for hppa, bug #730126

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 8bc1fbf5680..211bba3be4e 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-05 Thread Sergei Trofimovich
commit: 4f460239dc33b92a8ad9d8d91d0d12545c5c9c18
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Jul  5 09:23:19 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jul  5 09:27:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f460239

dev-python/twine: stable 1.15.0 for sparc, bug #730126

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 91935c54963..8bc1fbf5680 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-07-01 Thread Michał Górny
commit: cc060308e486e34da61606fe3bf122aa7bffc817
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Wed Jul  1 03:21:09 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  1 12:21:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc060308

dev-python/twine: arm stable (bug #730126)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index aae10c3dab6..48fb322e6a9 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-06-25 Thread Michał Górny
commit: a9d6ee0f93c5072fd0cde11732e1e1e76b1a081c
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 25 18:47:03 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 25 18:51:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d6ee0f

dev-python/twine: Bump to 3.2.0

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

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.2.0.ebuild | 63 +
 2 files changed, 64 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 0be7f610e9e..fa0e211d1af 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1,3 @@
 DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
 DIST twine-3.1.1.tar.gz 138692 BLAKE2B 
d96e207b5ef1314f547f5e8fbf36565d5cf29f0dd19438d41fcbb154a98b854c669740b533a28cd79501933f0cef57767e63a83f135fcdbc196df8865cfc4d8a
 SHA512 
446b36a1816db6131e279bda26e62c58f9659d86178d498ebb9f7c5287b61cf969e625debe4b4cb1e32832e0eecbcedcf4913319ae0bf7eb287f56e550d33ed9
+DIST twine-3.2.0.tar.gz 145280 BLAKE2B 
b25fa984486a375e09705703a47994b529f6e5b48c6733c0a07b57bec6c0dfcdf4096d6ac6b0f9b7a7bfebfb32ea1cfb49c5de79f29495eb2a8fc59a5f8de4e5
 SHA512 
9959430913ea570d22f2d8b94e929af36b409b71691b3f66de8ddb77cfbfbe36590e21a6062db2a4a4f56ce2eb96984b0a474a93ea96b7734f53ada7a6411c28

diff --git a/dev-python/twine/twine-3.2.0.ebuild 
b/dev-python/twine/twine-3.2.0.ebuild
new file mode 100644
index 000..c41930434c2
--- /dev/null
+++ b/dev-python/twine/twine-3.2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' 
python3_{6,7} pypy{,3})
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+   >=dev-python/rfc3986-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+   # avoid a setuptools_scm dependency
+   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
+   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
+   setup.cfg || die
+
+   # requires internet
+   sed -e 's:test_check_status_code_for_wrong_repo_url:_&:' \
+   -i tests/test_upload.py || die
+   rm -f tests/test_integration.py || die
+
+   sed -i -e '/--cov/d' pytest.ini || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv || die "Tests fail with ${EPYTHON}"
+}



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

2020-06-01 Thread Michał Górny
commit: 40ad6a7de0148acc7747f02cf6fbc4a50177972a
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon Jun  1 12:58:11 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun  1 20:30:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ad6a7d

dev-python/twine: keyword arm (bug #718774)

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/twine/twine-1.15.0.ebuild | 2 +-
 dev-python/twine/twine-3.1.1.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index c7bfac3b60a..aae10c3dab6 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index 582c6caa1b3..adef323d40d 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-06-01 Thread Sergei Trofimovich
commit: 7fee96b3e836122b6354af81478440f96282b359
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun  1 13:15:43 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  1 17:02:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fee96b3

dev-python/twine: keyworded 3.1.1 for hppa, bug #721428

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index b6da9633595..582c6caa1b3 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-31 Thread Sergei Trofimovich
commit: 4808885693c8f99e0b0fddf0c90ec3a118b5c20a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 31 10:03:44 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 31 10:04:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48088856

dev-python/twine: keyworded 3.1.1 for ia64, bug #726188

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/twine/twine-1.15.0.ebuild | 2 +-
 dev-python/twine/twine-3.1.1.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 343f785b640..c7bfac3b60a 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index 988cd29b5bf..b6da9633595 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-30 Thread Michał Górny
commit: f69712a8f1d7e61750dd844b705cec5076caea25
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 30 12:57:18 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 30 14:37:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69712a8

dev-python/twine: Keyword 3.1.1 ppc, #726188

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

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index ea4092454f0..988cd29b5bf 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-30 Thread Michał Górny
commit: b617af613b5dc248ae18243998e6ce3ffb98e92a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 30 12:57:17 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 30 14:37:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b617af61

dev-python/twine: Keyword 1.15.0 ppc, #726188

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

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index c0cbf6e4ad4..343f785b640 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-30 Thread Michał Górny
commit: 7529b53eb2928ed7593769fc95f5bc9a82fc3a30
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 30 09:40:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 30 11:51:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7529b53e

dev-python/twine: Keyword 1.15.0 ppc64, #726188

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

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 685e99a4a62..c0cbf6e4ad4 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-30 Thread Michał Górny
commit: 35a58068653a37c846553405534f1b14826e2b2a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 30 09:40:40 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 30 11:51:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a58068

dev-python/twine: Keyword 3.1.1 ppc64, #726188

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

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index e624686e3c0..ea4092454f0 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~ppc64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-29 Thread Michał Górny
commit: 57342169a283679fc94b96195f816ae4bebcec02
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 29 15:42:56 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 29 15:43:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57342169

dev-python/twine: Keyword 3.1.1 sparc, #721428

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

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index 7217eb64527..e624686e3c0 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 x86"
+KEYWORDS="~alpha amd64 ~arm64 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



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

2020-05-28 Thread Michał Górny
commit: 8b1e7fd32b497092bbe578e3bedd0e5fe0bcca8d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 26 15:31:55 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 28 07:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1e7fd3

dev-python/twine: Port to py39

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

 dev-python/twine/twine-1.15.0.ebuild | 11 +--
 dev-python/twine/twine-3.1.1.ebuild  | 11 +--
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index c306897ff28..685e99a4a62 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
 
 inherit distutils-r1
 
@@ -15,15 +16,15 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${CDEPEND}
+DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
)
 "
-RDEPEND="${CDEPEND}
+RDEPEND="
>=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
>=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
>=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
@@ -32,8 +33,6 @@ RDEPEND="${CDEPEND}
$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' 
python{2_7,3_5})
 "
 
-RESTRICT="!test? ( test )"
-
 PATCHES=(
"${FILESDIR}/twine-1.15.0-tests.patch"
 )

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index 6b1e17bcd56..7217eb64527 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 
@@ -15,9 +16,9 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm64 x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-BDEPEND="${CDEPEND}
+BDEPEND="
test? (
dev-python/jaraco-envs[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
@@ -28,7 +29,7 @@ BDEPEND="${CDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
)
 "
-RDEPEND="${CDEPEND}
+RDEPEND="
>=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
>=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
>=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
@@ -38,8 +39,6 @@ RDEPEND="${CDEPEND}
>=dev-python/keyring-15.1[${PYTHON_USEDEP}]
 "
 
-RESTRICT="!test? ( test )"
-
 PATCHES=(
"${FILESDIR}/twine-3.0.0-tests.patch"
 )



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

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

dev-python/twine: 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/twine/files/twine-1.11.0-tests.patch | 18 --
 1 file changed, 18 deletions(-)

diff --git a/dev-python/twine/files/twine-1.11.0-tests.patch 
b/dev-python/twine/files/twine-1.11.0-tests.patch
deleted file mode 100644
index 386a4ebcf3a..000
--- a/dev-python/twine/files/twine-1.11.0-tests.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Check for python2 support first, then python3. This should help avoid importing
-the wrong module for python2 where the builtins module can be provided by the
-futures package.
-
 twine-1.11.0/tests/test_utils.py
-+++ twine-1.11.0/tests/test_utils.py
-@@ -19,9 +19,9 @@
- import textwrap
- 
- try:
--import builtins
--except ImportError:
- import __builtin__ as builtins
-+except ImportError:
-+import builtins
- 
- import pytest
- 



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

2020-05-04 Thread Michał Górny
commit: f13978258056f9c874bccdb61b082e8f38794af1
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  4 12:22:51 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  4 12:22:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1397825

dev-python/twine: Remove old

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

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

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index baa7b5282d5..0be7f610e9e 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,3 +1,2 @@
 DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
-DIST twine-3.0.0.tar.gz 138502 BLAKE2B 
80cc475704979030435505103e45cfd051d2e3979e6fd9d4ad33fdbb2644bdebf789c504491f22a161f34629587114ab68034560360f08a1beadefb20ac0
 SHA512 
1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12
 DIST twine-3.1.1.tar.gz 138692 BLAKE2B 
d96e207b5ef1314f547f5e8fbf36565d5cf29f0dd19438d41fcbb154a98b854c669740b533a28cd79501933f0cef57767e63a83f135fcdbc196df8865cfc4d8a
 SHA512 
446b36a1816db6131e279bda26e62c58f9659d86178d498ebb9f7c5287b61cf969e625debe4b4cb1e32832e0eecbcedcf4913319ae0bf7eb287f56e550d33ed9

diff --git a/dev-python/twine/twine-3.0.0.ebuild 
b/dev-python/twine/twine-3.0.0.ebuild
deleted file mode 100644
index 6b9d9ad34d3..000
--- a/dev-python/twine/twine-3.0.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-BDEPEND="${CDEPEND}
-   test? (
-   dev-python/jaraco-envs[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   dev-python/portend[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   dev-python/pypiserver[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="${CDEPEND}
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   dev-python/importlib_metadata[${PYTHON_USEDEP}]
-   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   "${FILESDIR}/twine-3.0.0-tests.patch"
-)
-
-python_prepare_all() {
-   # avoid a setuptools_scm dependency
-   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
-   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
-   setup.cfg || die
-
-   # requires internet
-   rm -f tests/test_integration.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}



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

2020-05-03 Thread Agostino Sarubbo
commit: 91e1115472f4a927761f837d10ce0fd2f9961db5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 10:29:02 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 10:29:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e11154

dev-python/twine: x86 stable wrt bug #720652

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index e395d7f54d2..6b1e17bcd56 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~x86"
+KEYWORDS="~alpha amd64 ~arm64 x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-05-03 Thread Agostino Sarubbo
commit: 703da3036dcc64b2158485c4cb82de82eb16e739
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 09:59:19 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 09:59:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703da303

dev-python/twine: amd64 stable wrt bug #720652

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index 768a2bd4eff..e395d7f54d2 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm64 ~x86"
+KEYWORDS="~alpha amd64 ~arm64 ~x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-03-29 Thread Michał Górny
commit: 9b742d4b6bd422cfcd80e4024dcf38d8c36857e2
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 29 10:03:30 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 29 10:13:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b742d4b

dev-python/twine: Remove redundant versions

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

 dev-python/twine/Manifest|  1 -
 dev-python/twine/twine-1.11.0.ebuild | 41 
 2 files changed, 42 deletions(-)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 5572fee5f29..baa7b5282d5 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,4 +1,3 @@
-DIST twine-1.11.0.tar.gz 55301 BLAKE2B 
88e88bc88a6dc8320064b3e296d85f1614d1ecf1628c8442737566ac58c3296b2292f147c0b39047a1d13a3ac98297fd7a77a0ba6fdb6ff04e59d16bc8ed463a
 SHA512 
28e588f26b59bc9f4a8481caf2353934ad6927734762ffebb4416c147ec9e6dffb37092def20a76eb888c94b27f97e013dacc42c63e5dcda30f4290bb6c90a22
 DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
 DIST twine-3.0.0.tar.gz 138502 BLAKE2B 
80cc475704979030435505103e45cfd051d2e3979e6fd9d4ad33fdbb2644bdebf789c504491f22a161f34629587114ab68034560360f08a1beadefb20ac0
 SHA512 
1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12
 DIST twine-3.1.1.tar.gz 138692 BLAKE2B 
d96e207b5ef1314f547f5e8fbf36565d5cf29f0dd19438d41fcbb154a98b854c669740b533a28cd79501933f0cef57767e63a83f135fcdbc196df8865cfc4d8a
 SHA512 
446b36a1816db6131e279bda26e62c58f9659d86178d498ebb9f7c5287b61cf969e625debe4b4cb1e32832e0eecbcedcf4913319ae0bf7eb287f56e550d33ed9

diff --git a/dev-python/twine/twine-1.11.0.ebuild 
b/dev-python/twine/twine-1.11.0.ebuild
deleted file mode 100644
index 2544b1ade11..000
--- a/dev-python/twine/twine-1.11.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_6} )
-
-inherit distutils-r1
-
-DESCRIPTION="Collection of utilities for publishing packages on PyPI"
-HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
-SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
-# pypi tarballs don't contain test data
-#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${CDEPEND}
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/pretend[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="${CDEPEND}
-   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
-   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
-   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' 
python{2_7,3_5})
-"
-
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
-
-python_test() {
-   py.test -v tests || die "tests fail with ${EPYTHON}"
-}



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

2020-03-16 Thread Matt Turner
commit: 5234f62655e80295749a567dc621388d8f95ddd4
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 17 02:00:52 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 17 02:09:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5234f626

dev-python/twine-3.1.1: add ~alpha, bug 700918

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index a45c9444318..768a2bd4eff 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-03-16 Thread Matt Turner
commit: 9e02932490e6e98a51e22aaee18219606788f149
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 17 01:53:29 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 17 02:09:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e029324

dev-python/twine-1.15.0: add ~alpha, bug 700918

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 31df1906391..c306897ff28 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~hppa ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~sparc x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-03-03 Thread Michał Górny
commit: 2024a8f6d6eeafddf702d1c8eebd96ad048c5531
Author: Roy Bamford  gentoo  org>
AuthorDate: Tue Mar  3 20:42:57 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  4 04:47:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2024a8f6

dev-python/twine: added ~arm64 keyword

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Roy Bamford  gentoo.org>
Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index d6fabace0f6..31df1906391 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~sparc x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~sparc x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-03-03 Thread Michał Górny
commit: d23c461a2c51bfb29cde1114d10dba415f2a7afa
Author: Roy Bamford  gentoo  org>
AuthorDate: Tue Mar  3 16:14:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  4 04:47:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23c461a

dev-python/twine: added ~arm64 keyword

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Roy Bamford  gentoo.org>
Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
index 7c6580ab609..a45c9444318 100644
--- a/dev-python/twine/twine-3.1.1.ebuild
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-02-03 Thread Agostino Sarubbo
commit: 08a56a28c7f180263c6bf21df2c8648a6869c8b1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  3 11:30:40 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  3 11:30:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a56a28

dev-python/twine: x86 stable wrt bug #706508

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index dd7bd66b157..d6fabace0f6 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~sparc ~x86"
+KEYWORDS="amd64 ~hppa ~sparc x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-01-31 Thread Agostino Sarubbo
commit: 4a556f1679675dab0eef5d99cd4219b89e0ae193
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan 31 13:45:31 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan 31 13:45:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a556f16

dev-python/twine: amd64 stable wrt bug #706508

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index 5a95c421b74..dd7bd66b157 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+KEYWORDS="amd64 ~hppa ~sparc ~x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2019-12-10 Thread Sergei Trofimovich
commit: 0d9b42e0ce779e4cfbe19795e12c748a592d071b
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Dec 10 19:03:11 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Dec 10 19:25:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9b42e0

dev-python/twine: keyworded 1.15.0 for hppa/sparc, bug #700918

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index d30f9c47a92..cbfaa18a351 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
 IUSE="test"
 
 CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2019-12-04 Thread Patrick McLean
commit: dc9289a782f74c49bf8f248425e17cc2bc672d7a
Author: Patrick McLean  sony  com>
AuthorDate: Thu Dec  5 00:19:19 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Dec  5 00:20:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9289a7

dev-python/twine-3.1.1: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/twine-3.1.1.ebuild | 62 +
 2 files changed, 63 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 56ff54b86cd..5572fee5f29 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,3 +1,4 @@
 DIST twine-1.11.0.tar.gz 55301 BLAKE2B 
88e88bc88a6dc8320064b3e296d85f1614d1ecf1628c8442737566ac58c3296b2292f147c0b39047a1d13a3ac98297fd7a77a0ba6fdb6ff04e59d16bc8ed463a
 SHA512 
28e588f26b59bc9f4a8481caf2353934ad6927734762ffebb4416c147ec9e6dffb37092def20a76eb888c94b27f97e013dacc42c63e5dcda30f4290bb6c90a22
 DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
 DIST twine-3.0.0.tar.gz 138502 BLAKE2B 
80cc475704979030435505103e45cfd051d2e3979e6fd9d4ad33fdbb2644bdebf789c504491f22a161f34629587114ab68034560360f08a1beadefb20ac0
 SHA512 
1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12
+DIST twine-3.1.1.tar.gz 138692 BLAKE2B 
d96e207b5ef1314f547f5e8fbf36565d5cf29f0dd19438d41fcbb154a98b854c669740b533a28cd79501933f0cef57767e63a83f135fcdbc196df8865cfc4d8a
 SHA512 
446b36a1816db6131e279bda26e62c58f9659d86178d498ebb9f7c5287b61cf969e625debe4b4cb1e32832e0eecbcedcf4913319ae0bf7eb287f56e550d33ed9

diff --git a/dev-python/twine/twine-3.1.1.ebuild 
b/dev-python/twine/twine-3.1.1.ebuild
new file mode 100644
index 000..7c6580ab609
--- /dev/null
+++ b/dev-python/twine/twine-3.1.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+BDEPEND="${CDEPEND}
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="${CDEPEND}
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' 
python3_{6,7} pypy{,3})
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/twine-3.0.0-tests.patch"
+)
+
+python_prepare_all() {
+   # avoid a setuptools_scm dependency
+   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
+   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
+   setup.cfg || die
+
+   # requires internet
+   rm -f tests/test_integration.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv || die "Tests fail with ${EPYTHON}"
+}



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

2019-12-04 Thread Patrick McLean
commit: 90815fe7c04ddc59557aed1ddb11e738a4c5f576
Author: Patrick McLean  sony  com>
AuthorDate: Wed Dec  4 23:19:00 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Dec  5 00:20:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90815fe7

dev-python/twine-3.0.0: add py38

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.0.0.ebuild 
b/dev-python/twine/twine-3.0.0.ebuild
index f1ad5e3d945..75c85fccf49 100644
--- a/dev-python/twine/twine-3.0.0.ebuild
+++ b/dev-python/twine/twine-3.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 



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

2019-12-04 Thread Patrick McLean
commit: b66d3d450dacf60d4b899dad23c08c40786e3725
Author: Patrick McLean  sony  com>
AuthorDate: Wed Dec  4 23:04:47 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Dec  5 00:20:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b66d3d45

dev-python/twine-1.15.0: Add py38

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean  gentoo.org>

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

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
index c4de1ffe7f1..d30f9c47a92 100644
--- a/dev-python/twine/twine-1.15.0.ebuild
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
 
 inherit distutils-r1
 



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

2019-11-25 Thread Patrick McLean
commit: f810aedb6d5a3a0ec8b35419ff1ab52490aa5dbb
Author: Tom Gillespie  gmail  com>
AuthorDate: Mon Nov 25 22:33:09 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Nov 26 01:45:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f810aedb

dev-python/twine-3.0.0: missing keyring version

Signed-off-by: Tom Gillespie  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13762
Signed-off-by: Patrick McLean  gentoo.org>

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

diff --git a/dev-python/twine/twine-3.0.0.ebuild 
b/dev-python/twine/twine-3.0.0.ebuild
index 21f7e4a497d..f1ad5e3d945 100644
--- a/dev-python/twine/twine-3.0.0.ebuild
+++ b/dev-python/twine/twine-3.0.0.ebuild
@@ -35,7 +35,7 @@ RDEPEND="${CDEPEND}
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
dev-python/importlib_metadata[${PYTHON_USEDEP}]
-   dev-python/keyring[${PYTHON_USEDEP}]
+   >=dev-python/keyring-15.1[${PYTHON_USEDEP}]
 "
 
 RESTRICT="!test? ( test )"



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

2019-11-25 Thread Patrick McLean
commit: 39f6b42943044147c89a4c89ba8b757c5dbb1fde
Author: Patrick McLean  sony  com>
AuthorDate: Mon Nov 25 08:31:33 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon Nov 25 08:31:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f6b429

dev-python/twine-3.0.0: fix setuptools_scm removal

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/twine/twine-3.0.0.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/twine/twine-3.0.0.ebuild 
b/dev-python/twine/twine-3.0.0.ebuild
index 8909b650265..21f7e4a497d 100644
--- a/dev-python/twine/twine-3.0.0.ebuild
+++ b/dev-python/twine/twine-3.0.0.ebuild
@@ -45,8 +45,10 @@ PATCHES=(
 )
 
 python_prepare_all() {
-   # avoid a dep on setuptools_scm
-   sed -i "s:use_scm_version=True:version=\"${PV}\":" setup.py || die
+   # avoid a setuptools_scm dependency
+   sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" 
setup.py || die
+   sed -r -i 
"s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::"
 \
+   setup.cfg || die
 
# requires internet
rm -f tests/test_integration.py || die



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

2019-11-22 Thread Patrick McLean
commit: 6522f8504718aeedb0f8a2ea60717bd0d80a3d3e
Author: Patrick McLean  sony  com>
AuthorDate: Fri Nov 22 21:23:21 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Nov 22 21:23:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6522f850

dev-python/twine: Version bump to 1.15.0

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/files/twine-1.15.0-tests.patch | 21 ++
 dev-python/twine/twine-1.15.0.ebuild| 51 +
 3 files changed, 73 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index 4a2188bc17f..56ff54b86cd 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1,2 +1,3 @@
 DIST twine-1.11.0.tar.gz 55301 BLAKE2B 
88e88bc88a6dc8320064b3e296d85f1614d1ecf1628c8442737566ac58c3296b2292f147c0b39047a1d13a3ac98297fd7a77a0ba6fdb6ff04e59d16bc8ed463a
 SHA512 
28e588f26b59bc9f4a8481caf2353934ad6927734762ffebb4416c147ec9e6dffb37092def20a76eb888c94b27f97e013dacc42c63e5dcda30f4290bb6c90a22
+DIST twine-1.15.0.tar.gz 135851 BLAKE2B 
5e85c30e23615e9fa7e40ed767412560b29c42ec777afbb17850781a384bc2d3787534a8114a65ac2374ab80441eb2d3b6d75dcff400e7b47a42453a9210130d
 SHA512 
e0eae05c108e1e766a0a8ec684e3423b0537c8aa671675f30403171fd4f48ec65666d407df53f6dd9eefa0b98e5fd2fdf7dbf1f0f9150686c499de131f6f2435
 DIST twine-3.0.0.tar.gz 138502 BLAKE2B 
80cc475704979030435505103e45cfd051d2e3979e6fd9d4ad33fdbb2644bdebf789c504491f22a161f34629587114ab68034560360f08a1beadefb20ac0
 SHA512 
1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12

diff --git a/dev-python/twine/files/twine-1.15.0-tests.patch 
b/dev-python/twine/files/twine-1.15.0-tests.patch
new file mode 100644
index 000..ce75469c091
--- /dev/null
+++ b/dev-python/twine/files/twine-1.15.0-tests.patch
@@ -0,0 +1,21 @@
+diff --git a/tests/test_package.py b/tests/test_package.py
+index 8e4fbbb..35c9c52 100644
+--- a/tests/test_package.py
 b/tests/test_package.py
+@@ -214,11 +214,11 @@ TWINE_1_5_0_WHEEL_HEXDIGEST = package.Hexdigest(
+ 'b657a4148d05bd0098c1d6d8cc4e14e766dbe93c3a5ab6723b969da27a87bac0',
+ )
+ 
+-if platform.python_implementation().lower() == 'pypy':
+-# pyblake2 refuses to install on PyPy
+-TWINE_1_5_0_WHEEL_HEXDIGEST = TWINE_1_5_0_WHEEL_HEXDIGEST._replace(
+-blake2=None,
+-)
++#if platform.python_implementation().lower() == 'pypy':
++## pyblake2 refuses to install on PyPy
++#TWINE_1_5_0_WHEEL_HEXDIGEST = TWINE_1_5_0_WHEEL_HEXDIGEST._replace(
++#blake2=None,
++#)
+ 
+ 
+ def test_hash_manager():

diff --git a/dev-python/twine/twine-1.15.0.ebuild 
b/dev-python/twine/twine-1.15.0.ebuild
new file mode 100644
index 000..c4de1ffe7f1
--- /dev/null
+++ b/dev-python/twine/twine-1.15.0.ebuild
@@ -0,0 +1,51 @@
+# 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,6,7}} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="${CDEPEND}
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' 
python{2_7,3_5})
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/twine-1.15.0-tests.patch"
+)
+
+python_prepare_all() {
+   # requires internet
+   rm -f tests/test_integration.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv || die "Tests fail with ${EPYTHON}"
+}



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

2019-11-21 Thread Patrick McLean
commit: f5b5595547fd1588b716d8816ce3c0af0877086e
Author: Patrick McLean  sony  com>
AuthorDate: Fri Nov 22 02:31:53 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Nov 22 03:15:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b55955

dev-python/twine: Version bump to 3.0.0

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/twine/Manifest  |  1 +
 dev-python/twine/files/twine-3.0.0-tests.patch | 20 +
 dev-python/twine/twine-3.0.0.ebuild| 60 ++
 3 files changed, 81 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
index d86f366ef82..4a2188bc17f 100644
--- a/dev-python/twine/Manifest
+++ b/dev-python/twine/Manifest
@@ -1 +1,2 @@
 DIST twine-1.11.0.tar.gz 55301 BLAKE2B 
88e88bc88a6dc8320064b3e296d85f1614d1ecf1628c8442737566ac58c3296b2292f147c0b39047a1d13a3ac98297fd7a77a0ba6fdb6ff04e59d16bc8ed463a
 SHA512 
28e588f26b59bc9f4a8481caf2353934ad6927734762ffebb4416c147ec9e6dffb37092def20a76eb888c94b27f97e013dacc42c63e5dcda30f4290bb6c90a22
+DIST twine-3.0.0.tar.gz 138502 BLAKE2B 
80cc475704979030435505103e45cfd051d2e3979e6fd9d4ad33fdbb2644bdebf789c504491f22a161f34629587114ab68034560360f08a1beadefb20ac0
 SHA512 
1f5577c74c47618ae07672b53633110a5ecb486d25046cb87f36cbf5974b679714f962803b9dc6e970c57d8f2542b323e11437e76effe7172511557b56df5f12

diff --git a/dev-python/twine/files/twine-3.0.0-tests.patch 
b/dev-python/twine/files/twine-3.0.0-tests.patch
new file mode 100644
index 000..e79fa03646d
--- /dev/null
+++ b/dev-python/twine/files/twine-3.0.0-tests.patch
@@ -0,0 +1,20 @@
+diff --git a/tests/test_upload.py b/tests/test_upload.py
+index c87e16e..1487a0d 100644
+--- a/tests/test_upload.py
 b/tests/test_upload.py
+@@ -13,6 +13,7 @@
+ # limitations under the License.
+ import pretend
+ import pytest
++import unittest
+ from requests.exceptions import HTTPError
+ 
+ from twine.commands import upload
+@@ -298,6 +299,7 @@ def test_values_from_env(monkeypatch):
+ "https://test.pypi.org/;,
+ "https://pypi.org/;
+ ])
++@unittest.skip("needs internet access")
+ def test_check_status_code_for_wrong_repo_url(repo_url, make_settings):
+ upload_settings = make_settings()
+ 

diff --git a/dev-python/twine/twine-3.0.0.ebuild 
b/dev-python/twine/twine-3.0.0.ebuild
new file mode 100644
index 000..8909b650265
--- /dev/null
+++ b/dev-python/twine/twine-3.0.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.org/project/twine/;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+BDEPEND="${CDEPEND}
+   test? (
+   dev-python/jaraco-envs[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   dev-python/portend[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="${CDEPEND}
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/readme_renderer-21.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   dev-python/importlib_metadata[${PYTHON_USEDEP}]
+   dev-python/keyring[${PYTHON_USEDEP}]
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/twine-3.0.0-tests.patch"
+)
+
+python_prepare_all() {
+   # avoid a dep on setuptools_scm
+   sed -i "s:use_scm_version=True:version=\"${PV}\":" setup.py || die
+
+   # requires internet
+   rm -f tests/test_integration.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv || die "Tests fail with ${EPYTHON}"
+}



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

2018-03-24 Thread Tim Harder
commit: 466d1ab1a0f249640f16151c535fc307eb6019c1
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Mar 24 08:43:56 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Mar 24 08:46:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466d1ab1

dev-python/twine: initial import

Closes: https://bugs.gentoo.org/567064

 dev-python/twine/Manifest   |  1 +
 dev-python/twine/files/twine-1.11.0-tests.patch | 18 +++
 dev-python/twine/metadata.xml   | 12 
 dev-python/twine/twine-1.11.0.ebuild| 40 +
 4 files changed, 71 insertions(+)

diff --git a/dev-python/twine/Manifest b/dev-python/twine/Manifest
new file mode 100644
index 000..d86f366ef82
--- /dev/null
+++ b/dev-python/twine/Manifest
@@ -0,0 +1 @@
+DIST twine-1.11.0.tar.gz 55301 BLAKE2B 
88e88bc88a6dc8320064b3e296d85f1614d1ecf1628c8442737566ac58c3296b2292f147c0b39047a1d13a3ac98297fd7a77a0ba6fdb6ff04e59d16bc8ed463a
 SHA512 
28e588f26b59bc9f4a8481caf2353934ad6927734762ffebb4416c147ec9e6dffb37092def20a76eb888c94b27f97e013dacc42c63e5dcda30f4290bb6c90a22

diff --git a/dev-python/twine/files/twine-1.11.0-tests.patch 
b/dev-python/twine/files/twine-1.11.0-tests.patch
new file mode 100644
index 000..386a4ebcf3a
--- /dev/null
+++ b/dev-python/twine/files/twine-1.11.0-tests.patch
@@ -0,0 +1,18 @@
+Check for python2 support first, then python3. This should help avoid importing
+the wrong module for python2 where the builtins module can be provided by the
+futures package.
+
+--- twine-1.11.0/tests/test_utils.py
 twine-1.11.0/tests/test_utils.py
+@@ -19,9 +19,9 @@
+ import textwrap
+ 
+ try:
+-import builtins
+-except ImportError:
+ import __builtin__ as builtins
++except ImportError:
++import builtins
+ 
+ import pytest
+ 

diff --git a/dev-python/twine/metadata.xml b/dev-python/twine/metadata.xml
new file mode 100644
index 000..3b7872fa6a9
--- /dev/null
+++ b/dev-python/twine/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   twine
+   pypa/twine
+   
+

diff --git a/dev-python/twine/twine-1.11.0.ebuild 
b/dev-python/twine/twine-1.11.0.ebuild
new file mode 100644
index 000..053b8a76763
--- /dev/null
+++ b/dev-python/twine/twine-1.11.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for publishing packages on PyPI"
+HOMEPAGE="https://twine.readthedocs.io/ https://github.com/pypa/twine 
https://pypi.python.org/pypi/twine;
+SRC_URI="https://github.com/pypa/twine/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# pypi tarballs don't contain test data
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="${CDEPEND}
+   >=dev-python/tqdm-4.14[${PYTHON_USEDEP}]
+   >=dev-python/pkginfo-1.4.2[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-toolbelt-0.8.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' 
python{2_7,3_4,3_5})
+"
+
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+
+python_test() {
+   py.test -v tests || die "tests fail with ${EPYTHON}"
+}