mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-util/nvchecker: Drop old
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
2 files changed
-103
No files matched your search
@@ -1,3 +1,2 @@
|
||||
DIST nvchecker-2.20.tar.gz 71423 BLAKE2B b9011813ab82ff9e44cd53fe952bd7690f9b3826ca97cc0649ad8ec1a1805b1e1eb3d92a1a05a2e1f33b45198377a42923196dec33552aa7c6d3c5f17422e521 SHA512 8093299f0128d385c5c617120b53e9a930b3ed4161519739282b82e76c5f54091bda5660f47ae64b7317ed8042b7d7664e464761896fbc54c3d1b92ca278d3c0
|
||||
DIST nvchecker-2.21.tar.gz 73769 BLAKE2B 3609b57913de688c8c5444b96447001ec6f05ca097bd85870ad8030a7585f4949a4c3cd3b0422837909e55e44c3b82e613ee72ee95dcb1380579dea4aed606f5 SHA512 deb8f65783558c9c77216a698d0ba1ed2ce2e182cb5747282eae2e4ed5832749c63f2f0f6141dcb00a8b39528179e9a7fec2371ba439fe8c848bb29286680489
|
||||
DIST nvchecker-2.22.tar.gz 79272 BLAKE2B 1e8886bef111a6e597acfbb4fd53426ee9728fd481b98c29e74d4a8e1162e72be55224ecf61f86ecf684c8fe5a8505bb3b527612cd6f403c7030cff0a08fb6c3 SHA512 a0913f78da6f468986dc863ceae8b24ac2071a98703802776031bfcaef59c205e27b552513f679f851b2bb3269878ae2180c8598a69b50ab0c12f9abb75337a7
|
||||
@@ -1,102 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="New version checker for software releases"
|
||||
HOMEPAGE="https://github.com/lilydjwg/nvchecker/"
|
||||
|
||||
SRC_URI="https://github.com/lilydjwg/nvchecker/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/structlog[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
(
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/tornado[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jq[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-httpbin[${PYTHON_USEDEP}]
|
||||
dev-python/zstandard[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)
|
||||
"
|
||||
|
||||
# NOTE: The network-reliant tests are really flaky, as the various websites
|
||||
# don't always respond consistently, or may have changed their response.
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Need missing python libraries
|
||||
tests/test_sortversion.py::test_awesomeversion # awesomeversion
|
||||
tests/test_sortversion.py::test_vercmp # pyalpm
|
||||
|
||||
# "requires makepkg command"
|
||||
tests/test_alpm.py::test_alpm
|
||||
tests/test_alpm.py::test_alpm_missing_pkg
|
||||
tests/test_alpm.py::test_alpm_missing_provides
|
||||
tests/test_alpm.py::test_alpm_missing_repo
|
||||
tests/test_alpm.py::test_alpm_provided
|
||||
tests/test_alpm.py::test_alpm_provided_strip
|
||||
tests/test_alpm.py::test_alpm_strip
|
||||
|
||||
# "requires pacman command"
|
||||
tests/test_alpmfiles.py::test_alpmfiles
|
||||
tests/test_alpmfiles.py::test_alpmfiles_strip
|
||||
tests/test_pacman.py::test_pacman
|
||||
tests/test_pacman.py::test_pacman_strip_release
|
||||
|
||||
# "KEYFILE not set"
|
||||
tests/test_github.py::test_github
|
||||
tests/test_github.py::test_github_default_not_master
|
||||
tests/test_github.py::test_github_latest_release
|
||||
tests/test_github.py::test_github_latest_release_include_prereleases
|
||||
tests/test_github.py::test_github_latest_tag
|
||||
tests/test_github.py::test_github_max_release
|
||||
tests/test_github.py::test_github_max_release_with_ignored
|
||||
tests/test_github.py::test_github_max_release_with_include
|
||||
tests/test_github.py::test_github_max_tag
|
||||
tests/test_github.py::test_github_max_tag_with_ignored
|
||||
tests/test_github.py::test_github_max_tag_with_include
|
||||
tests/test_github.py::test_github_with_path
|
||||
tests/test_github.py::test_github_with_path_and_branch
|
||||
|
||||
# "unconditional skip"
|
||||
tests/test_apt.py::test_apt_deepin
|
||||
tests/test_mercurial.py::test_mercurial
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version "dev-python/pycurl[${PYTHON_USEDEP}]" || \
|
||||
! has_version "dev-python/tornado[${PYTHON_USEDEP}]"; then
|
||||
ewarn "This program is using dev-python/aiohttp as networking backend"
|
||||
ewarn "However, for the best results, upstream recommends installing the following:"
|
||||
ewarn " dev-python/tornado"
|
||||
ewarn " dev-python/pycurl"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
optfeature "jq source" "dev-python/jq[${PYTHON_USEDEP}]"
|
||||
optfeature "httpheader source" "dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
optfeature "pypi source" "dev-python/packaging[${PYTHON_USEDEP}]"
|
||||
optfeature "rpmrepo source" "dev-python/zstandard[${PYTHON_USEDEP}]"
|
||||
optfeature "git source" dev-vcs/git
|
||||
}
|
||||
Reference in new issue
Block a user