python-oauth2: pkgcheck fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-04-03 13:16:07 -04:00
parent 129eed9e78
commit bcac1b32cf
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 17 additions and 22 deletions

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>blshkv@pentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">frida/frida</remote-id>
</upstream>
<maintainer type="person">
<email>blshkv@pentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">frida/frida</remote-id>
<remote-id type="pypi">python-oauth2</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,32 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="OAuth 2.0 provider for python"
HOMEPAGE="https://pypi.python.org/pypi/python-oauth2"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]
dev-python/pymongo[${PYTHON_USEDEP}]
RDEPEND="dev-python/pymongo[${PYTHON_USEDEP}]
dev-python/python-memcached[${PYTHON_USEDEP}]
dev-python/redis-py[${PYTHON_USEDEP}]
!dev-python/tornado
www-servers/tornado[${PYTHON_USEDEP}]
dev-python/mysql-connector-python[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
!!dev-python/oauth2
dev-python/setuptools[${PYTHON_USEDEP}]
"
dev-python/redis[${PYTHON_USEDEP}]
dev-python/tornado[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
# test? ( dev-python/mock[${PYTHON_USEDEP}]
# )"