2023-01-16 06:26:19 -05:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2021-11-14 13:53:50 -05:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-01-16 06:26:19 -05:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-07-24 22:01:21 -04:00
|
|
|
PYTHON_COMPAT=( python3_{8..12} )
|
2021-11-14 13:53:50 -05:00
|
|
|
|
|
|
|
inherit distutils-r1
|
2023-01-16 06:26:19 -05:00
|
|
|
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
2021-11-14 13:53:50 -05:00
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/qwertyquerty/pypresence.git"
|
2023-01-16 06:26:19 -05:00
|
|
|
else
|
2023-07-24 22:01:21 -04:00
|
|
|
SRC_URI="https://github.com/qwertyquerty/pypresence/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
2023-01-16 06:26:19 -05:00
|
|
|
KEYWORDS="~amd64"
|
2021-11-14 13:53:50 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Discord IPC and Rich Presence wrapper for Python"
|
|
|
|
HOMEPAGE="https://qwertyquerty.github.io/pypresence/html/index.html"
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|