diff --git a/dev-util/find-work-bugzilla/Manifest b/dev-util/find-work-bugzilla/Manifest new file mode 100644 index 0000000000..cce6fe1669 --- /dev/null +++ b/dev-util/find-work-bugzilla/Manifest @@ -0,0 +1 @@ +DIST find_work_bugzilla-0.1.0.tar.gz 5608 BLAKE2B 940bf4a48ae37e7a4a381f08473bd2b3a95ac0e09905af6eef595d10a18c7f8164e65563740e2169b334491ef1b15ce881b2825fd2ff6eb787de5964a237ec1b SHA512 f21ffdff551cc1d5e801245e9ef5ca5ea8704304a6c560f8e842a8fbf2a87b6de59d91d3db106a0d855dd9867334699d6f9fe2ca388336e5d7b7cd877b258783 diff --git a/dev-util/find-work-bugzilla/find-work-bugzilla-0.1.0.ebuild b/dev-util/find-work-bugzilla/find-work-bugzilla-0.1.0.ebuild new file mode 100644 index 0000000000..0eac295bff --- /dev/null +++ b/dev-util/find-work-bugzilla/find-work-bugzilla-0.1.0.ebuild @@ -0,0 +1,44 @@ +# 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: Bugzilla plugin" +HOMEPAGE=" + https://find-work.sysrq.in/ + https://pypi.org/project/find-work-bugzilla/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + =dev-python/pydantic-2[${PYTHON_USEDEP}] + =dev-python/pydantic-core-2[${PYTHON_USEDEP}] + =dev-util/find-work-0.90[${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}" +} diff --git a/dev-util/find-work-bugzilla/metadata.xml b/dev-util/find-work-bugzilla/metadata.xml new file mode 100644 index 0000000000..898d17574b --- /dev/null +++ b/dev-util/find-work-bugzilla/metadata.xml @@ -0,0 +1,16 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + + Anna + cyber@sysrq.in + + find-work-bugzilla + https://bugs.sysrq.in/enter_bug.cgi?product=Software&component=find-work + +