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 F06AB15800F for ; Thu, 12 Jan 2023 07:06:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06933E093D; Thu, 12 Jan 2023 07:06:13 +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 DFC94E093D for ; Thu, 12 Jan 2023 07:06:12 +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 E500D33B864 for ; Thu, 12 Jan 2023 07:06:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05817824 for ; Thu, 12 Jan 2023 07:06:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1673507162.acc989b8c1ea0a2ffa80a60905b7cd4daa7d1ab3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xkbcommon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xkbcommon/Manifest dev-python/xkbcommon/metadata.xml dev-python/xkbcommon/xkbcommon-0.8.ebuild X-VCS-Directories: dev-python/xkbcommon/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: acc989b8c1ea0a2ffa80a60905b7cd4daa7d1ab3 X-VCS-Branch: master Date: Thu, 12 Jan 2023 07:06:10 +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: 87082921-7d60-44b8-ba67-4f1689996e58 X-Archives-Hash: 17ee2d04294a4ec09863ee66f7c672c5 commit: acc989b8c1ea0a2ffa80a60905b7cd4daa7d1ab3 Author: Sam James gentoo org> AuthorDate: Thu Jan 12 06:11:44 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 12 07:06:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc989b8 dev-python/xkbcommon: new package, add 0.8 Bug: https://bugs.gentoo.org/846380 Signed-off-by: Sam James gentoo.org> dev-python/xkbcommon/Manifest | 1 + dev-python/xkbcommon/metadata.xml | 11 +++++++++ dev-python/xkbcommon/xkbcommon-0.8.ebuild | 39 +++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest new file mode 100644 index 000000000000..95f920325d37 --- /dev/null +++ b/dev-python/xkbcommon/Manifest @@ -0,0 +1 @@ +DIST xkbcommon-0.8.gh.tar.gz 26951 BLAKE2B 0d2a649e3fee8baa9345ddca97dc7c77b5d9e10d7ca90cbb29bcc3531f4bba3deee39e610e147054e956310506fb79ebb43c85955b787e55046d67c12b851026 SHA512 ae2640ef89e7ace0468e970762c7be4d3f608701f1abea10174f274c622db28a6e6323cdc5bbbbaaa1065d4c4ddf9f67b75d4c34bb2e9a0bb6260778b15a330a diff --git a/dev-python/xkbcommon/metadata.xml b/dev-python/xkbcommon/metadata.xml new file mode 100644 index 000000000000..0dfaf46622c1 --- /dev/null +++ b/dev-python/xkbcommon/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + sde1000/python-xkbcommon + xkbcommon + + diff --git a/dev-python/xkbcommon/xkbcommon-0.8.ebuild b/dev-python/xkbcommon/xkbcommon-0.8.ebuild new file mode 100644 index 000000000000..55f11ee550b5 --- /dev/null +++ b/dev-python/xkbcommon/xkbcommon-0.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for libxkbcommon using cffi" +HOMEPAGE=" + https://github.com/sde1000/python-xkbcommon + https://pypi.org/project/xkbcommon/ +" +SRC_URI=" + https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}"/python-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# x11-libs/libxkbcommon dep per README +RDEPEND=" + >=x11-libs/libxkbcommon-${PV} + virtual/python-cffi[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + # No die deliberately as sometimes it doesn't exist + rm -r xkbcommon + + epytest +}