dev-util/find-work-repology: add 0.2.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2024-08-22 05:53:22 +05:00
parent e33dad8775
commit 8de8dbec9c
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST find_work_repology-0.2.0.tar.gz 6793 BLAKE2B bf8ac42f850479684184ba022fbac866272405850c0de3db46576afa0e9907687d717a03d49a02192403efdc05de4b3ac178caa587a853c03ca50074809b0830 SHA512 337d2a4940bb361181a3ca4410831ee015b6944aa9cb2611bf69706cef7869609b813e4a7e357f2484903526ed437be11c9fd8d5a4e25ab6a8f9c3c7304d0cd0
DIST find_work_repology-0.2.1.tar.gz 7021 BLAKE2B 1f461c4723f28f19a945c62d1fe7030ecff15d0bc03b2f65afa6ef4d85167867ec036de2f8fd30c911732631142b2fe5587eb9a1a0f412d708e8a83b057eec8e SHA512 18d7536d8ec0031a546025f11e7d078d19d9e72029aef00d575b823d1b987da2d380b49f65a3e2e1abf13a80c61373ad39a5d7ac7fbfb2c2a8d69ca2cf17b4f5

View File

@@ -0,0 +1,43 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=flit
inherit distutils-r1 pypi
DESCRIPTION="Personal advice utility for Gentoo package maintainers: Repology plugin"
HOMEPAGE="
https://find-work.sysrq.in/
https://pypi.org/project/find-work-repology/
"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
<app-portage/gentoopm-2[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/click-aliases[${PYTHON_USEDEP}]
>=dev-python/pydantic-2[${PYTHON_USEDEP}]
<dev-python/pydantic-3[${PYTHON_USEDEP}]
>=dev-python/repology-client-0.0.2[${PYTHON_USEDEP}]
<dev-python/repology-client-2[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
>=dev-util/find-work-0.91[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-import-check[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
distutils_write_namespace find_work
epytest "${S}"
}