Tiredful-API: drop python2

This commit is contained in:
blshkv 2020-01-14 08:54:34 +08:00
parent 7e51132df5
commit 8b71cca125
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
10 changed files with 49 additions and 67 deletions

View file

@ -1,3 +1,2 @@
DIST django-oauth-toolkit-1.0.0.tar.gz 78173 BLAKE2B 276f7c3ba1c52a1f25d19cef51a39b59cc24ba40bdad345e339349d8fdd51608c53a3a2bd78b43ea2aea332f943414c9ae944968f6d99b63b2c61c138fa3254e SHA512 9e59017c82cb301d635b3eaf939ec7077c5fc69511c0b4f4163829ebc8b1a961fd8ba6f708d748c29df053825e7d94e7a916a65f332161c8c7314a69b631b1b6
DIST django-oauth-toolkit-1.1.3.tar.gz 83783 BLAKE2B 0ab8d0c0168eec5e9a5a2b32c73775de5c806ac4d614622e268ce31b5d2e8e9d3c3f43d444da3ae9b6f0da907ea731859f19adeb0e39fa90305839182ec1fada SHA512 dae7e5f15f9820f513371684a33588c389f709c2a2a4581ba771a3c25b7125e27037869140e0071ca5695e4b630462267e28a5e99b644d64dd5059e182478e34
DIST django-oauth-toolkit-1.2.0.tar.gz 84919 BLAKE2B e3029998219c55fc0f447046e3b4e36de3c1379dc49042981a16e1a061e62bbbb643fc2609800b0c177845b9446284fe311282a014bb3aa19bbfd5ab271c6131 SHA512 844acdd76a9dac1db6d647f09a9402370f27ad21b1118f5d78c005b9037830c1718ea825621e994ac5f4219d3938a4b824c37ffeaa15468f07a1ec0768ad4358

View file

@ -1,29 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="OAuth2 goodies for the Djangonauts"
HOMEPAGE="https://github.com/evonove/django-oauth-toolkit"
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/evonove/django-oauth-toolkit/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE=""
LICENSE="BSD"
SLOT="0"
RDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]
>=dev-python/oauthlib-2.0.3[${PYTHON_USEDEP}]
>=dev-python/requests-2.13.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# test? ( ${RDEPEND}
# >=dev-python/mockldap-0.2[${PYTHON_USEDEP}] )
# doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"

View file

@ -1 +0,0 @@
DIST djangorestframework-3.9.4.tar.gz 779306 BLAKE2B 9ae955cf0145ad8b80b65d8b6d8f0b947e0e11ecb1b52939a1fd4d209d48d84a4d756d979596180c63f6caf25ff796503b0b3cc8237ec1bbf2d1787fae5a2863 SHA512 bfa269b1ca95c1d35d97f3fcdcf821778f2c2ba14ce79288b776ecff369922603ba9a2292a59ca8ad263eb3eef675420a2bb2e609e11e53e503a78bd365b2913

View file

@ -1,19 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Web APIs with django made easy"
HOMEPAGE="https://www.django-rest-framework.org"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
</pkgmetadata>

View file

@ -1 +1,2 @@
DIST python-oauth2-1.1.0.tar.gz 42017 BLAKE2B c0a3896f17975f55acb09b625c8ff1a4d69830156db1e7e505cc69621893554b06fad9bdf7e9e7d58558765b895b59524b9a3950c66fd642349a5679d9ee996b SHA512 51f1697d292c8fd5087886ca8cfde810a19ad54e39894e3687afedd3b69aa988da657c283a9496e03ffc2b40bb206e1e26bc7bab704ea1fe8a80e300f17e8700
DIST python-oauth2-1.1.1.tar.gz 45363 BLAKE2B 26d502ab0f577d1ec50462bec50ce43ae94f7fd54ccc9145c731b2c1c2795f84eb939bdaea6fea43b8866076f065700a04f329c84c52114e3455507da0058d10 SHA512 5dad5ebf38298379fb430426f57f705bcfe38137c418d7b5afa837ab2473e699e0bf63cbc2078c28ca87fcdb10303f5a94cc4028739217c352eecb280a8e7847

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1

View file

@ -0,0 +1,38 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
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=""
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]
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}]
"
# test? ( dev-python/mock[${PYTHON_USEDEP}]
# )"
#python_test() {
# # Skip tests which require network access
# py.test -k "not (test_access_token_post or test_access_token_get \
# or test_two_legged_post or test_two_legged_get)" || die \
# "tests failed with ${EPYTHON}"
#}

View file

@ -216,7 +216,7 @@ dev-python/pyDes
~dev-python/django-oauth-plus-2.2.8
=dev-python/python-oauth2-1.1*
=dev-python/mysql-connector-python-2.1*
~dev-python/django-oauth-toolkit-1.0.0
=dev-python/django-oauth-toolkit-1.2*
~dev-python/oauthlib-2.0.3
~dev-python/django-1.11.2
~dev-python/coreapi-2.3.3

View file

@ -1,26 +1,27 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_COMPAT=( python3_{6,7} )
inherit python-single-r1 git-r3
DESCRIPTION="An intentionally designed broken web application based on REST API"
HOMEPAGE="https://github.com/payatu/Tiredful-API"
EGIT_REPO_URI="https://github.com/payatu/Tiredful-API.git"
LICENSE="none"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
#https://github.com/payatu/Tiredful-API/issues/9
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-python/django[${PYTHON_USEDEP}]
dev-python/django-oauth-toolkit[${PYTHON_USEDEP}]
dev-python/djangorestframework[${PYTHON_USEDEP}]
dev-python/oauth[${PYTHON_USEDEP}]
dev-python/oauthlib[${PYTHON_USEDEP}]
dev-python/python-oauth2[${PYTHON_USEDEP}]"
# dev-python/oauth[${PYTHON_USEDEP}]
src_install() {
dodir /opt/Tiredful-API