-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/find-work-pkgcheck: new package, add 0.1.0
Signed-off-by: Anna (cybertailor) Vyalkova <[email protected]>
- Loading branch information
1 parent
5d5429c
commit 9c46cc9
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
42
dev-util/find-work-pkgcheck/find-work-pkgcheck-0.1.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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&component=find-work</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |