dev-python/nvchecker - 2.21-r1 (gentoo-zh)

Search

Install

Install this version:

emerge -a =dev-python/nvchecker-2.21-r1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/nvchecker-2.21-r1

Or alternatively:

emerge --autounmask-write -a =dev-python/nvchecker-2.21-r1

Package Information

Description:
nvchecker is for checking if a new version of some software has been released
Homepage:
https://pypi.org/project/nvchecker/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.21-r1 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1

DESCRIPTION="nvchecker is for checking if a new version of some software has been released"
HOMEPAGE="https://pypi.org/project/nvchecker/"
SRC_URI="https://github.com/lilydjwg/nvchecker/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ini notify"
RESTRICT="test"

RDEPEND="
	dev-python/platformdirs[$PYTHON_USEDEP]
	dev-python/structlog[$PYTHON_USEDEP]
	>=dev-python/tornado-6[${PYTHON_USEDEP}]
	ini? (
		dev-python/iniconfig[$PYTHON_USEDEP]
	)
	notify? (
		dev-python/pygobject[$PYTHON_USEDEP]
		virtual/notification-daemon
	)
"

PATCHES=("${FILESDIR}/${PN}-2.20-license-classifier-warns.patch")

python_install_all() {
	distutils-r1_python_install_all

	if ! use ini; then
		rm "${ED}"/usr/bin/nvchecker-ini2toml || die
	fi

	if ! use notify; then
		rm "${ED}"/usr/bin/nvchecker-notify || die
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/nvchecker | euse -E <flag> -p dev-python/nvchecker | euse -D <flag> -p dev-python/nvchecker

Global/Standard Flags

ini

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/platformdirs[]
	dev-python/structlog[]
	>=dev-python/tornado-6[]
	ini? (
		dev-python/iniconfig[]
	)
	notify? (
		dev-python/pygobject[]
		virtual/notification-daemon
	)