diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-09 01:40:49 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-09 01:40:52 +0500 |
commit | 9c46cc98bfd1f5cb40e9c643593fd953201ccc7b (patch) | |
tree | 0009cc815257d8cc2a3aedb8460949d97950f93b /dev-util | |
parent | dev-util/find-work-bugzilla: new package, add 0.1.0 (diff) | |
download | guru-9c46cc98bfd1f5cb40e9c643593fd953201ccc7b.tar.gz guru-9c46cc98bfd1f5cb40e9c643593fd953201ccc7b.tar.bz2 guru-9c46cc98bfd1f5cb40e9c643593fd953201ccc7b.zip |
dev-util/find-work-pkgcheck: new package, add 0.1.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/find-work-pkgcheck/Manifest | 1 | ||||
-rw-r--r-- | dev-util/find-work-pkgcheck/find-work-pkgcheck-0.1.0.ebuild | 42 | ||||
-rw-r--r-- | dev-util/find-work-pkgcheck/metadata.xml | 16 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-util/find-work-pkgcheck/Manifest b/dev-util/find-work-pkgcheck/Manifest new file mode 100644 index 000000000..9a384143e --- /dev/null +++ b/dev-util/find-work-pkgcheck/Manifest @@ -0,0 +1 @@ +DIST find_work_pkgcheck-0.1.0.tar.gz 5064 BLAKE2B 22b27873b2651a1e5b49f06094037308499f2b77011fd54aa0ac6a0b0c847fa8b9b369d0e44c88618b071c8037fa51a32c1974e5dc6660350a36244559894be6 SHA512 039c77e7d29f3207f9b44105ce26e094bb228fe9368fa671674cfd9d9bec680b16c0f10c9c24d65bf9061e1fb3120ff33b76f1542202984d3618f3827583ef3d diff --git a/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.1.0.ebuild b/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.1.0.ebuild new file mode 100644 index 000000000..c66b401b5 --- /dev/null +++ b/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.1.0.ebuild @@ -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}" +} diff --git a/dev-util/find-work-pkgcheck/metadata.xml b/dev-util/find-work-pkgcheck/metadata.xml new file mode 100644 index 000000000..0c0198579 --- /dev/null +++ b/dev-util/find-work-pkgcheck/metadata.xml @@ -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>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + <upstream> + <maintainer> + <name>Anna</name> + <email>cyber@sysrq.in</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> |