mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/find-work: Remove py3.11
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST find_work-0.990.0.tar.gz 24665 BLAKE2B 3cf63d272a7fc863f731532afb86501cf9156ddd35e32d74d78b041592946e37b102a11de3dbeb42530a1cf427e4723f069d45babf3575dd4602cf018886e9fe SHA512 ffb25e8e0c22fd3e1e84043ec9e55a7f156a18694598e9ee29d4d4e26e1460715ce8883bed33c3b7b25d55d89f6d92995e108f2d7e25c34bf6e553dad50cbfe3
|
||||
DIST find_work-1.0.0.tar.gz 26754 BLAKE2B ea04ae60ba08a49351bd4ea7a8df94b1fdf4eff6174d27ec4fc0317c6548b009701b811ff58aea3e5f778b2b77e976da25a3c8f8d957cca365649ca20fc4cfe8 SHA512 196aed046e85cd83120aabceff988c53532a298a2b0e64e1ae70c300a61b4e921c68ee94d77f107b4c0ad64b0fa63bfc9258d0e686cceea6b15d1fc1e1148e0f
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
inherit click-app distutils-r1
|
||||
|
||||
DESCRIPTION="Personal advice utility for Gentoo package maintainers"
|
||||
HOMEPAGE="
|
||||
https://find-work.sysrq.in/
|
||||
https://pypi.org/project/find-work/
|
||||
"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sysrq.in/${PN}"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="
|
||||
<app-portage/gentoopm-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiohttp-3[${PYTHON_USEDEP}]
|
||||
<dev-python/aiohttp-4[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/click-aliases[${PYTHON_USEDEP}]
|
||||
dev-python/deepmerge[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-4[${PYTHON_USEDEP}]
|
||||
<dev-python/platformdirs-5[${PYTHON_USEDEP}]
|
||||
<dev-python/pluggy-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-2[${PYTHON_USEDEP}]
|
||||
<dev-python/pydantic-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3[${PYTHON_USEDEP}]
|
||||
!minimal? (
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-import-check[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# No ${PYTHON_USEDEP} because plugin deps can lag behind
|
||||
PDEPEND="
|
||||
!minimal? (
|
||||
dev-util/find-work-bugzilla
|
||||
dev-util/find-work-pkgcheck
|
||||
dev-util/find-work-repology
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# fails with plug-ins installed
|
||||
find_work/__main__.py::import-check
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/insipid-sphinx-theme \
|
||||
dev-python/sphinx-prompt
|
||||
|
||||
click-app_enable_completions find-work
|
||||
|
||||
python_test() {
|
||||
distutils_write_namespace find_work
|
||||
distutils-r1_python_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install-man
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
inherit click-app distutils-r1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user