commit:     97f608cffbd9f673864b784333e17dc7b0419ba8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 10:05:28 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 11:09:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97f608cf

dev-python/cfn-python-lint: Port to py3.9

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

 dev-python/cfn-python-lint/cfn-python-lint-0.30.1.ebuild | 6 ++++--
 dev-python/cfn-python-lint/metadata.xml                  | 4 ++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.30.1.ebuild 
b/dev-python/cfn-python-lint/cfn-python-lint-0.30.1.ebuild
index 1106dad78aa..a707f4ad926 100644
--- a/dev-python/cfn-python-lint/cfn-python-lint-0.30.1.ebuild
+++ b/dev-python/cfn-python-lint/cfn-python-lint-0.30.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 inherit distutils-r1
 
@@ -16,7 +16,9 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 RDEPEND="
        >=dev-python/aws-sam-translator-1.21.0[${PYTHON_USEDEP}]
-       dev-python/importlib_resources[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/importlib_resources[${PYTHON_USEDEP}]
+       ' python3_6)
        dev-python/jsonpatch[${PYTHON_USEDEP}]
        >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
        dev-python/networkx[${PYTHON_USEDEP}]

diff --git a/dev-python/cfn-python-lint/metadata.xml 
b/dev-python/cfn-python-lint/metadata.xml
index 8b111978657..6d80f9eedb6 100644
--- a/dev-python/cfn-python-lint/metadata.xml
+++ b/dev-python/cfn-python-lint/metadata.xml
@@ -5,6 +5,10 @@
                <email>[email protected]</email>
                <name>Zac Medico</name>
        </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Python</name>
+       </maintainer>
        <upstream>
                <remote-id 
type="github">aws-cloudformation/cfn-python-lint</remote-id>
                <remote-id type="pypi">cfn-lint</remote-id>

Reply via email to