From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACA3515852A for ; Thu, 22 Aug 2024 00:54:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E28472BC04D; Thu, 22 Aug 2024 00:54:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6D522BC04D for ; Thu, 22 Aug 2024 00:54:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC12A33FEF1 for ; Thu, 22 Aug 2024 00:54:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA4EB1EFD for ; Thu, 22 Aug 2024 00:54:28 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1724288061.2436095bc4ce01e5a7d149de2283693c76f12b63.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/find-work-pkgcheck/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/find-work-pkgcheck/Manifest dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1.ebuild X-VCS-Directories: dev-util/find-work-pkgcheck/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 2436095bc4ce01e5a7d149de2283693c76f12b63 X-VCS-Branch: dev Date: Thu, 22 Aug 2024 00:54:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4cf0046f-91f7-45bc-a508-259d904d8f02 X-Archives-Hash: 5e819d93366c9fb0b79b4a504102768d commit: 2436095bc4ce01e5a7d149de2283693c76f12b63 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Aug 22 00:53:59 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Aug 22 00:54:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2436095b dev-util/find-work-pkgcheck: add 0.2.1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-util/find-work-pkgcheck/Manifest | 1 + .../find-work-pkgcheck-0.2.1.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-util/find-work-pkgcheck/Manifest b/dev-util/find-work-pkgcheck/Manifest index e63f63543..ddd49a63e 100644 --- a/dev-util/find-work-pkgcheck/Manifest +++ b/dev-util/find-work-pkgcheck/Manifest @@ -1 +1,2 @@ DIST find_work_pkgcheck-0.2.0.tar.gz 5079 BLAKE2B 8602bf8dbb7bf2f39dd00d5b4a1c544c41fc1fe9240e3c1e8675065dc545169bc2d5a623735bc8de1bf293b0b03ac41218a7a8f0e2f05b1104deb0b28e01f559 SHA512 53ac9f4785dfd9ca573bb54672496d610035f45b6dd29b3d45c02a396e23b894b05f7324153e2567fa768a375ba25e07df0478d4a1d67dd307109734591953eb +DIST find_work_pkgcheck-0.2.1.tar.gz 5331 BLAKE2B 703de8d9b8e44fd8018778ca2038f6bf33d0cf791d84f9981208cd53af29b4be4013da4fcc95b6cfa56b43b7e50e3f55ef4d91e344e2065c92cadf6224b849ce SHA512 aabd3f972a512098d0a006c15a72fa389069896d633bbe0491725ee45efdb0862548f5cf746b679ca35309c959a562ee48d43d367530683635ddcd10f3350244 diff --git a/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1.ebuild b/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1.ebuild new file mode 100644 index 000000000..b7de0c05e --- /dev/null +++ b/dev-util/find-work-pkgcheck/find-work-pkgcheck-0.2.1.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=" + =dev-python/pydantic-2[${PYTHON_USEDEP}] + =dev-util/find-work-0.91[${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}" +}