aboutsummaryrefslogtreecommitdiff
blob: 602912ffef8f37ddc8574a8d1289378012216f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{3..12} )

inherit distutils-r1

DESCRIPTION="A fully tested, abstract interface to creating OAuth clients and servers."
HOMEPAGE="https://github.com/joestump/python-oauth2"
SRC_URI="https://github.com/joestump/python-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/python-${P}

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]"

src_prepare() {
	rm -rf "${S}/tests"
	distutils-r1_src_prepare
}