2022-09-15 00:28:26 +02:00
|
|
|
# Copyright 2021-2022 Gentoo Authors
|
2021-10-06 23:18:00 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2022-09-15 00:28:26 +02:00
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
2021-10-06 23:18:00 +02:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
MY_PN=ci-info
|
|
|
|
|
|
|
|
DESCRIPTION="Gather continuous integration information on the fly"
|
|
|
|
HOMEPAGE="https://github.com/mgxd/ci-info"
|
|
|
|
SRC_URI="https://github.com/mgxd/ci-info/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="test"
|
2021-10-06 23:24:35 +02:00
|
|
|
# Tests broken without specific CI environment:
|
|
|
|
# https://github.com/mgxd/ci-info/issues/7
|
|
|
|
RESTRICT="test"
|
2021-10-06 23:18:00 +02:00
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND=""
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|