Install this version:
emerge -a =app-misc/baldwin-0.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/baldwin-0.1.0
Or alternatively:
emerge --autounmask-write -a =app-misc/baldwin-0.1.0
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_1{2,3,4,5} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1
DESCRIPTION="Simple home directory versioning."
HOMEPAGE="https://github.com/Tatsh/baldwin"
SRC_URI="https://github.com/Tatsh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/anyio[${PYTHON_USEDEP}]
dev-python/bascom[${PYTHON_USEDEP}]
dev-python/binaryornot[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/gitpython[${PYTHON_USEDEP}]
dev-python/platformdirs[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]"
BDEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
)"
src_install() {
distutils-r1_src_install
doman "man/${PN}.1"
}
pkg_postinst() {
einfo
einfo 'Install app-misc/jq and dev-util/prettier for formatting and readable diff support.'
einfo
}
EPYTEST_PLUGINS=( pytest-cov pytest-mock )
distutils_enable_tests pytest
dev-python/anyio[] dev-python/bascom[] dev-python/binaryornot[] dev-python/click[] dev-python/gitpython[] dev-python/platformdirs[] dev-python/tomlkit[] dev-python/typing-extensions[]
test? ( dev-python/mock[] dev-python/pytest-cov[] dev-python/pytest-mock[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | baldwin-0.1.0.tar.gz | 1277696 bytes | https://github.com/Tatsh/baldwin/archive/v0.1.0.tar.gz |