Files
guru/dev-python/steam/steam-2.0.0-r1.ebuild
T
David Roman 59f98117e4 */*: disable py3.12 && remove dead impls
Disable py3.12 except for packages which only had py3.12 in PYTHON_COMPAT

Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/161
2026-11-03 14:42:49 +01:00

63 lines
1.5 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_13 )
inherit distutils-r1
DESCRIPTION="Python package for interacting with Steam"
HOMEPAGE="
https://github.com/solsticegamestudios/steam/
https://pypi.org/project/steam/
"
SRC_URI="
https://github.com/solsticegamestudios/steam/archive/refs/tags/v${PV}-alpha1.tar.gz
-> ${P}.gh.tar.gz
"
S="${WORKDIR}/${P}-alpha1"
PATCHES=(
"${FILESDIR}/${P}-path-pycryptodome-and-gevent.patch"
)
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/cachetools-3.0.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.7.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
>=dev-python/vdf-4.0[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/protobuf[${PYTHON_USEDEP}]
dev-python/wsproto[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/vcrpy[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
pkg_postinst() {
if [[ ! ${REPLACING_VERSIONS} ]]; then
ewarn "If you intend to use this library for anything else than"
ewarn "ProtonUp-Qt you most likely need additional ebuilds for"
ewarn "gevent and gevent-eventemitter. These are currently not"
ewarn "part of the GURU repository."
ewarn
ewarn "Project references:"
ewarn " - http://www.gevent.org/"
ewarn " - https://github.com/rossengeorgiev/gevent-eventemitter"
fi
}