2021-10-06 17:18:00 -04:00
|
|
|
# Copyright 2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
|
|
|
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 17:24:35 -04:00
|
|
|
# Tests broken without specific CI environment:
|
|
|
|
# https://github.com/mgxd/ci-info/issues/7
|
|
|
|
RESTRICT="test"
|
2021-10-06 17:18:00 -04:00
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND=""
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|