f497e701c4
Signed-off-by: Horea Christian <chr@chymera.eu>
30 lines
643 B
Bash
30 lines
643 B
Bash
# Copyright 2021-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
|
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"
|
|
# Tests broken without specific CI environment:
|
|
# https://github.com/mgxd/ci-info/issues/7
|
|
RESTRICT="test"
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
BDEPEND=""
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
distutils_enable_tests pytest
|