Skip to content

Commit

Permalink
dev-util/find-work: add 0.90.0, update live
Browse files Browse the repository at this point in the history
Signed-off-by: Anna (cybertailor) Vyalkova <[email protected]>
  • Loading branch information
CyberTailor committed Aug 8, 2024
1 parent 9c46cc9 commit a82807b
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/find-work/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST find_work-0.6.1.tar.gz 23326 BLAKE2B 99fb97bb1640433381667db2bab89f44453545a461712fca3c9bf754a158c2d3c9e8e29bc429aea3b7f4a1cf0d555890061e08d4f7846c72ea6bb804359d7956 SHA512 20346cc2048df268a99a8ddae7a046ccc8b5785d9922c0eed1bef5d23d480aacb7a44ed4e931b293f4e17aac0e6c10c3e25bc9ca3369f1f0cb626775dbbf0241
DIST find_work-0.7.0.tar.gz 23154 BLAKE2B cc68a0f47aef5deaa28c4915b9c8a440b2f5bdd92c38a305f17ea76ac27a27d5a52cd06dd4170d7faeab3e9ddffed6f2a8eaf0ac7f2678ff1e4261beb96cbbea SHA512 724c93eaa1a2d5e3765f9f049b45d05472c8e2e9732d8d26d889d29f50bcccf86ea7059b9ffdd1b530fcd3f3d0b8338cbaf81732ff0ae0c938ae8db0772a4eda
DIST find_work-0.90.0.tar.gz 19378 BLAKE2B 5f5eabd1e0c253a25de49459890fb9b0201514ea73863263f1821937e9e10c33865765dbc4a6b4257124157b157f45e7fc08beb51b5c0277da525a9b0a6797f6 SHA512 20f24896daa68c15f22f38688f3b007a11b40afc193c14eb6848c983a59497af776f8cefaab850c9fb46f10f34f8f79b059a1028041a216e82939d428970ef24
67 changes: 67 additions & 0 deletions dev-util/find-work/find-work-0.90.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 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=hatchling
inherit 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}]
"
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
15 changes: 15 additions & 0 deletions dev-util/find-work/find-work-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fi

LICENSE="WTFPL-2"
SLOT="0"
IUSE="minimal"

RDEPEND="
<app-portage/gentoopm-2[${PYTHON_USEDEP}]
Expand All @@ -45,6 +46,20 @@ BDEPEND="
)
"

# 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 \
Expand Down

0 comments on commit a82807b

Please sign in to comment.