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 49EDA15800F 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 DD9CEE0932; Thu, 12 Jan 2023 07:06:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 BF634E092F 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 9D02D335DBA 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 E4440807 for ; Thu, 12 Jan 2023 07:06:09 +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: <1673507161.d79b44067a5f16977eca9be728c2504a69cb0485.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pywayland/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pywayland/Manifest dev-python/pywayland/metadata.xml dev-python/pywayland/pywayland-0.4.15.ebuild X-VCS-Directories: dev-python/pywayland/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d79b44067a5f16977eca9be728c2504a69cb0485 X-VCS-Branch: master Date: Thu, 12 Jan 2023 07:06:09 +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: 1dae162a-0b12-480c-b1da-2b7aa7624c11 X-Archives-Hash: fca50005c290452c736aa88f213ba9cb commit: d79b44067a5f16977eca9be728c2504a69cb0485 Author: Sam James gentoo org> AuthorDate: Thu Jan 12 06:01:58 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 12 07:06:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79b4406 dev-python/pywayland: new package, add 0.4.15 Bug: https://bugs.gentoo.org/846380 Signed-off-by: Sam James gentoo.org> dev-python/pywayland/Manifest | 1 + dev-python/pywayland/metadata.xml | 11 +++++++ dev-python/pywayland/pywayland-0.4.15.ebuild | 45 ++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/dev-python/pywayland/Manifest b/dev-python/pywayland/Manifest new file mode 100644 index 000000000000..979b3c791fb9 --- /dev/null +++ b/dev-python/pywayland/Manifest @@ -0,0 +1 @@ +DIST pywayland-0.4.15.gh.tar.gz 61084 BLAKE2B 2417aa57942f5a7810db3525d16070ed81613bd1ab8f864a95e9f1835f9793348ad1afd2dbaeed2bb08f5bcb58777ab545f8ef7cb70903703c89998095724f8c SHA512 c45d2a24c487cf1785b7bc488808157e2dcae630438c289864df615c98278e7c03de21431fa622e0917713130f5583ff5cb3181c0a7f595cebba2cdeec36a7cf diff --git a/dev-python/pywayland/metadata.xml b/dev-python/pywayland/metadata.xml new file mode 100644 index 000000000000..028246926f40 --- /dev/null +++ b/dev-python/pywayland/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + flacjacket/pywayland + pywayland + + diff --git a/dev-python/pywayland/pywayland-0.4.15.ebuild b/dev-python/pywayland/pywayland-0.4.15.ebuild new file mode 100644 index 000000000000..66023d87ae1f --- /dev/null +++ b/dev-python/pywayland/pywayland-0.4.15.ebuild @@ -0,0 +1,45 @@ +# 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 xdg-utils + +DESCRIPTION="Python bindings for the libwayland library" +HOMEPAGE=" + https://pywayland.readthedocs.io/en/latest/ + https://github.com/flacjacket/pywayland + https://pypi.org/project/pywayland/ +" +SRC_URI=" + https://github.com/flacjacket/pywayland/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/wayland + virtual/python-cffi[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="dev-libs/wayland-protocols" + +distutils_enable_tests pytest + +python_prepare_all() { + # Needed for tests (XDG_RUNTIME_DIR) + xdg_environment_reset + distutils-r1_python_prepare_all +} + +python_test() { + # No die deliberately as sometimes it doesn't exist + rm -r pywayland + + epytest +}