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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F01131382C5 for ; Thu, 25 Feb 2021 00:03:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 387CCE0864; Thu, 25 Feb 2021 00:03:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23F2BE0864 for ; Thu, 25 Feb 2021 00:03:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08F1A340E06 for ; Thu, 25 Feb 2021 00:03:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B926503 for ; Thu, 25 Feb 2021 00:03:38 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1614211344.59eca50f432d61ed7abb31acaab653784a48e06f.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xorg-proto/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-base/xorg-proto/Manifest x11-base/xorg-proto/xorg-proto-2021.2.ebuild X-VCS-Directories: x11-base/xorg-proto/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 59eca50f432d61ed7abb31acaab653784a48e06f X-VCS-Branch: master Date: Thu, 25 Feb 2021 00:03:38 +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: 83ea1b1e-e93c-43f4-8ebb-c89e4dafeda4 X-Archives-Hash: 2339fba10228f3d49b39f55b2cd15cbf commit: 59eca50f432d61ed7abb31acaab653784a48e06f Author: Matt Turner gentoo org> AuthorDate: Wed Feb 24 23:18:17 2021 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Feb 25 00:02:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59eca50f x11-base/xorg-proto: Version bump to 2021.2 Signed-off-by: Matt Turner gentoo.org> x11-base/xorg-proto/Manifest | 2 + x11-base/xorg-proto/xorg-proto-2021.2.ebuild | 55 ++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest index c916712d78f..b204e149f77 100644 --- a/x11-base/xorg-proto/Manifest +++ b/x11-base/xorg-proto/Manifest @@ -1 +1,3 @@ +DIST keysym-generator.py 15899 BLAKE2B c0d3fc72d1d12d21353ea9c4c397897784ebe10e917b03248badccc1ae35b59b405b6a2e682c800a8f1ae56a07819c03f2c5adfcc8e036d1237d0a697b6e3f0d SHA512 f51551720dee0e86b26f631f7ba7179b301a8b71c5a25cb8ec898eedbfb8a326533df9818103f7b1fabd2b5f1ecaeb72d5f2d4cedc46be8e954921246d210b9b DIST xorgproto-2020.1.tar.gz 1081369 BLAKE2B 1bed8d65499926a830180ee1fce5e5e57a276a6412231508eabb6c5eea5ee20dcce4046fc82203d5be88d1f24fb7919289393551d339e5cf5cb80b1c14f22c42 SHA512 d0bc3aec517fd00fa5fd32a5715760c34810a19154e10fb1f92f2e2fe7f26136f7ba9b76b47fcd37c3c4796663154f4e5abf6a18dd634619b0f718f3e4737ae9 +DIST xorgproto-2021.2.tar.gz 1125607 BLAKE2B ece6722de10779434395a26bb4f2421548af39ac96750d721320ed4a592c7119943b988c812cccdeb09c97b3ac51b78a5660ada5ba3489d0705777d1217818a5 SHA512 5e9728a08e934a01143bf5790fb098ab5358501a67786f0eeca875a25ee030d77b41c1481d5e501a6a82a205cfd62063ffb65344e83818b1e31a9133547e5fba diff --git a/x11-base/xorg-proto/xorg-proto-2021.2.ebuild b/x11-base/xorg-proto/xorg-proto-2021.2.ebuild new file mode 100644 index 00000000000..9aa9a84a71d --- /dev/null +++ b/x11-base/xorg-proto/xorg-proto-2021.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +MY_PN="${PN/xorg-/xorg}" +MY_P="${MY_PN}-${PV}" + +EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/${MY_PN}.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit ${GIT_ECLASS} meson python-any-r1 + +DESCRIPTION="X.Org combined protocol headers" +HOMEPAGE="https://gitlab.freedesktop.org/xorg/proto/xorgproto" +if [[ ${PV} = 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz + https://cgit.freedesktop.org/xorg/proto/xorgproto/plain/scripts/keysym-generator.py?id=7b6836f0d5ba44d94abb7b3163ef715d023b270c -> keysym-generator.py" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + $(python_gen_any_dep ' + dev-python/python-libevdev[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="" + +python_check_deps() { + has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_unpack() { + default + mkdir "${S}"/scripts + mv "${DISTDIR}"/keysym-generator.py "${S}/scripts" +}