Skip to content

Commit

Permalink
dev-util/find-work-bugzilla: new package, add 0.1.0
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 f4dfa87 commit 5d5429c
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/find-work-bugzilla/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST find_work_bugzilla-0.1.0.tar.gz 5608 BLAKE2B 940bf4a48ae37e7a4a381f08473bd2b3a95ac0e09905af6eef595d10a18c7f8164e65563740e2169b334491ef1b15ce881b2825fd2ff6eb787de5964a237ec1b SHA512 f21ffdff551cc1d5e801245e9ef5ca5ea8704304a6c560f8e842a8fbf2a87b6de59d91d3db106a0d855dd9867334699d6f9fe2ca388336e5d7b7cd877b258783
44 changes: 44 additions & 0 deletions dev-util/find-work-bugzilla/find-work-bugzilla-0.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -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="
<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/pydantic-core-2[${PYTHON_USEDEP}]
<dev-python/pydantic-core-3[${PYTHON_USEDEP}]
dev-python/python-bugzilla[${PYTHON_USEDEP}]
dev-python/tabulate[${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}"
}
16 changes: 16 additions & 0 deletions dev-util/find-work-bugzilla/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Anna</name>
</maintainer>
<upstream>
<maintainer>
<name>Anna</name>
<email>[email protected]</email>
</maintainer>
<remote-id type="pypi">find-work-bugzilla</remote-id>
<bugs-to>https://bugs.sysrq.in/enter_bug.cgi?product=Software&amp;component=find-work</bugs-to>
</upstream>
</pkgmetadata>

0 comments on commit 5d5429c

Please sign in to comment.