mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
35 lines
818 B
Bash
35 lines
818 B
Bash
# Copyright 2021-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
|
inherit distutils-r1
|
|
|
|
MY_PN=${PN/-/.}
|
|
DESCRIPTION="Alternate keyring backend implementations for use with the keyring package"
|
|
HOMEPAGE="
|
|
https://github.com/jaraco/keyrings.alt
|
|
https://pypi.org/project/keyrings.alt/
|
|
"
|
|
SRC_URI="https://github.com/jaraco/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
dev-python/jaraco-classes[${PYTHON_USEDEP}]
|
|
dev-python/keyring[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_tests pytest
|
|
# dev-python/jaraco-packaging removed, cannot build docs
|
|
|
|
pkg_setup() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
|
}
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|