mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-12 03:15:06 +01:00
32 lines
923 B
Bash
32 lines
923 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{7..9} )
|
|
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"
|
|
EGIT_REPO_URI="https://github.com/siddharthbezalwar/Tiredful-API-py3-beta.git"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
RDEPEND="$(python_gen_cond_dep '
|
|
dev-python/django[${PYTHON_USEDEP}]
|
|
dev-python/django-oauth-toolkit[${PYTHON_USEDEP}]
|
|
dev-python/djangorestframework[${PYTHON_USEDEP}]
|
|
dev-python/oauthlib[${PYTHON_USEDEP}]
|
|
dev-python/python-oauth2[${PYTHON_USEDEP}]
|
|
dev-python/pyjwt[${PYTHON_USEDEP}]
|
|
')"
|
|
# dev-python/oauth[${PYTHON_MULTI_USEDEP}]
|
|
|
|
src_install() {
|
|
dodir /opt/Tiredful-API
|
|
cp -R "${S}"/Tiredful-API "${D}"/opt/
|
|
}
|