Skip to content

Commit

Permalink
dev-util/find-work-pkgcheck: 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 5d5429c commit 9c46cc9
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/find-work-pkgcheck/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST find_work_pkgcheck-0.1.0.tar.gz 5064 BLAKE2B 22b27873b2651a1e5b49f06094037308499f2b77011fd54aa0ac6a0b0c847fa8b9b369d0e44c88618b071c8037fa51a32c1974e5dc6660350a36244559894be6 SHA512 039c77e7d29f3207f9b44105ce26e094bb228fe9368fa671674cfd9d9bec680b16c0f10c9c24d65bf9061e1fb3120ff33b76f1542202984d3618f3827583ef3d
42 changes: 42 additions & 0 deletions dev-util/find-work-pkgcheck/find-work-pkgcheck-0.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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: pkgcheck plugin"
HOMEPAGE="
https://find-work.sysrq.in/
https://pypi.org/project/find-work-pkgcheck/
"

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/sortedcontainers[${PYTHON_USEDEP}]
>=dev-util/find-work-0.90[${PYTHON_USEDEP}]
dev-util/pkgcheck[${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-pkgcheck/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-pkgcheck</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 9c46cc9

Please sign in to comment.