dev-python/nvchecker - 2.20 (gentoo-zh)

Search

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.20 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..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/appdirs[$PYTHON_USEDEP]
	dev-python/structlog[$PYTHON_USEDEP]
	dev-python/tomli[$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}/${P}-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

ini

Dependencies

RDEPEND

	dev-python/appdirs[nvchecker-2.20YTHON_USEDEP]
	dev-python/structlog[nvchecker-2.20YTHON_USEDEP]
	dev-python/tomli[nvchecker-2.20YTHON_USEDEP]
	>=dev-python/tornado-6[${PYTHON_USEDEP}]
	ini? (
		dev-python/iniconfig[nvchecker-2.20YTHON_USEDEP]
	)
	notify? (
		dev-python/pygobject[nvchecker-2.20YTHON_USEDEP]
		virtual/notification-daemon
	)

Manifest for 2.20

Type File Size Source URLs
DIST nvchecker-2.20.gh.tar.gz 71423 bytes https://github.com/lilydjwg/nvchecker/archive/refs/tags/v2.20.tar.gz