summaryrefslogtreecommitdiff
path: root/dev-build/osc/osc-1.27.1.ebuild
blob: bb88d10894dce0a4613d49a1183e3d7cf02c55e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1

DESCRIPTION="Command Line Interface to work with an Open Build Service"

HOMEPAGE="
	https://openbuildservice.org/
	https://github.com/openSUSE/osc
"

SRC_URI="
	https://github.com/openSUSE/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
	$(python_gen_cond_dep '
		dev-python/cryptography[${PYTHON_USEDEP}]
		dev-python/ruamel-yaml[${PYTHON_USEDEP}]
		dev-python/urllib3[${PYTHON_USEDEP}]
	')
"
BDEPEND="
	test? (
		dev-vcs/git
		dev-util/diffstat
	)
"

EPYTEST_DESELECT=(
	# test broken inside venv
	tests/test_doc_plugins.py::TestPopProjectPackageFromArgs::test_plugin_locations
)
distutils_enable_tests pytest