diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-20 22:57:02 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-20 22:57:09 +0500 |
commit | c23e18edca8dfacb2aeae70e82f20beea2959a66 (patch) | |
tree | 016893b09676c54dbbb5a79d25e18e0b7597aeb8 /dev-util | |
parent | games-engines/nxengine-evo: drop 2.6.4 (diff) | |
download | guru-c23e18edca8dfacb2aeae70e82f20beea2959a66.tar.gz guru-c23e18edca8dfacb2aeae70e82f20beea2959a66.tar.bz2 guru-c23e18edca8dfacb2aeae70e82f20beea2959a66.zip |
dev-util/find-work: add 0.91.1, drop 0.6.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/find-work/Manifest | 2 | ||||
-rw-r--r-- | dev-util/find-work/find-work-0.91.1.ebuild (renamed from dev-util/find-work/find-work-0.6.1.ebuild) | 67 |
2 files changed, 31 insertions, 38 deletions
diff --git a/dev-util/find-work/Manifest b/dev-util/find-work/Manifest index c7fb7878b..9193e7c18 100644 --- a/dev-util/find-work/Manifest +++ b/dev-util/find-work/Manifest @@ -1,3 +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.91.0.tar.gz 19471 BLAKE2B 8bd70975f60ab6fb85d914647558fb9e12c44808a469888a5fc753b4009717b03369971f90dd86a5167f920ad8cdd73938719e626c068945f2135d1a8d0f0910 SHA512 bf92e41c9809e319b180f2194d23ad31cbb4588fc548d76dbbcdd0f4fe75e9851a8b8cf776cc825677cd9d872bf0812cce942ae5a6111983287467b3fb3ae89a +DIST find_work-0.91.1.tar.gz 20087 BLAKE2B 35e4104a164ab0d5869ee075e978de77b797fba2e93b9d0d50bea796dea12021a42af9f11a043732c41ff40baaa5e3a243d0858a320d3a753d4ce903dd338b3e SHA512 5a08a3643b0e04ba75b58e86665b23b0eda64fe52206043a2a0e9d71f70c252b50926348350860e0798b3a88274e34b0ae0712e5bd8b76947018b427ee486e49 diff --git a/dev-util/find-work/find-work-0.6.1.ebuild b/dev-util/find-work/find-work-0.91.1.ebuild index 4fe309086..9d5eefbba 100644 --- a/dev-util/find-work/find-work-0.6.1.ebuild +++ b/dev-util/find-work/find-work-0.91.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_USE_PEP517=hatchling -inherit distutils-r1 pypi shell-completion +inherit distutils-r1 DESCRIPTION="Personal advice utility for Gentoo package maintainers" HOMEPAGE=" @@ -13,9 +13,17 @@ HOMEPAGE=" 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" -KEYWORDS="~amd64" +IUSE="minimal" RDEPEND=" <app-portage/gentoopm-2[${PYTHON_USEDEP}] @@ -26,49 +34,34 @@ RDEPEND=" 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/python-bugzilla[${PYTHON_USEDEP}] - >=dev-python/repology-client-0.0.2[${PYTHON_USEDEP}] - <dev-python/repology-client-2[${PYTHON_USEDEP}] >=dev-python/requests-2[${PYTHON_USEDEP}] <dev-python/requests-3[${PYTHON_USEDEP}] - dev-python/sortedcontainers[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] - dev-util/pkgcheck[${PYTHON_USEDEP}] " -BDEPEND="test? ( dev-python/pytest-recording[${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 - -src_prepare() { - distutils-r1_src_prepare - mkdir completions || die -} - -python_compile() { - distutils-r1_python_compile - - local -x PATH="${BUILD_DIR}/install${EPREFIX}/usr/bin:${PATH}" - local -x PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}" - emake completions/find-work.{bash,zsh,fish} -} - -src_install() { - distutils-r1_src_install - - local mymakeargs=( - DESTDIR="${D}" - PREFIX="${EPREFIX}"/usr - - BASHCOMPDIR="$(get_bashcompdir)" - ZSHCOMPDIR="$(get_zshcompdir)" - FISHCOMPDIR="$(get_fishcompdir)" - ) - - emake "${mymakeargs[@]}" install-data -} |