EdeVauPub/dev-python/giteapy/giteapy-1.0.8.ebuild
Andreas Billmeier 5f24adc3a9
dev-python/giteapy: enable py3.13
Signed-off-by: Andreas Billmeier <b@edevau.net>
2025-05-12 22:02:52 +02:00

34 lines
872 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python SDK for Gitea - A painless, self-hosted Git service"
HOMEPAGE="https://github.com/dblueai/giteapy https://pypi.org/project/giteapy/"
LICENSE="all-rights-reserved"
RESTRICT="mirror"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
>=dev-python/six-1.10[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.23[${PYTHON_USEDEP}]"
src_prepare() {
sed "s/packages=find_packages()/packages=find_packages(exclude=['test'])/g" -i setup.py || die
eapply_user
}
python_test() {
py.test -v -v || die
}