app-admin/diamond: switch to mysqlclient and support py3.{7,8}
authorFabian Groffen <grobian@gentoo.org>
Sat, 25 Apr 2020 17:52:24 +0000 (19:52 +0200)
committerFabian Groffen <grobian@gentoo.org>
Sat, 25 Apr 2020 17:52:34 +0000 (19:52 +0200)
- switch from dev-python/mysql-python to dev-python/mysqlclient (#710026)
- support python 3.7 and 3.8 (#718176)
- drop ~arm because of unkeyworded dev-python/mysqlclient

Closes: https://bugs.gentoo.org/718176
Closes: https://bugs.gentoo.org/710026
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
app-admin/diamond/diamond-4.0.515.20170311.ebuild

index 6cb19661490f99d4a55da0eab3c8d60bbfa38e0e..80dbc4734eccff12231ecac16021533fc4bbe3ea 100644 (file)
@@ -10,11 +10,11 @@ if [[ ${PV} = 9999* ]]; then
 else
        GHASH=73207d04e0739a4ce92bc201b36681c42d9fa7e7  # python3 branch
        SRC_URI="https://github.com/python-diamond/Diamond/archive/${GHASH}.tar.gz -> python-diamond-${PV}.tar.gz"
-       KEYWORDS="amd64 ~arm x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+       KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
        S=${WORKDIR}/Diamond-${GHASH}
 fi
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1 prefix
 
@@ -29,7 +29,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="dev-python/configobj
        dev-python/setproctitle
        mongo? ( dev-python/pymongo )
-       mysql? ( dev-python/mysql-python )
+       mysql? ( dev-python/mysqlclient )
        snmp? ( dev-python/pysnmp )
        redis? ( dev-python/redis-py )
        !kernel_linux? ( >=dev-python/psutil-3 )"