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 B0B9915800F for ; Mon, 30 Jan 2023 17:10:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2750E0929; Mon, 30 Jan 2023 17:10:38 +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 D86C5E0929 for ; Mon, 30 Jan 2023 17:10:38 +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 8C983335D06 for ; Mon, 30 Jan 2023 17:10:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA66D893 for ; Mon, 30 Jan 2023 17:10:35 +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: <1675098614.c2f865c14f54bedcd7f44796c3e9fcc30c5ce558.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libwacom/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libwacom/Manifest dev-libs/libwacom/libwacom-2.6.0.ebuild dev-libs/libwacom/metadata.xml X-VCS-Directories: dev-libs/libwacom/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: c2f865c14f54bedcd7f44796c3e9fcc30c5ce558 X-VCS-Branch: master Date: Mon, 30 Jan 2023 17:10:35 +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: 8d3a821e-fdbd-426b-86d2-09c36361999b X-Archives-Hash: 54ffa006fbc2e4698b57f1ca4095f974 commit: c2f865c14f54bedcd7f44796c3e9fcc30c5ce558 Author: Matt Turner gentoo org> AuthorDate: Mon Jan 30 17:01:47 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Jan 30 17:10:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f865c1 dev-libs/libwacom: Version bump to 2.6.0 Closes: https://bugs.gentoo.org/802558 Signed-off-by: Matt Turner gentoo.org> dev-libs/libwacom/Manifest | 1 + dev-libs/libwacom/libwacom-2.6.0.ebuild | 66 +++++++++++++++++++++++++++++++++ dev-libs/libwacom/metadata.xml | 2 +- 3 files changed, 68 insertions(+), 1 deletion(-) diff --git a/dev-libs/libwacom/Manifest b/dev-libs/libwacom/Manifest index 71cbe6ece893..0dfbbbd0203a 100644 --- a/dev-libs/libwacom/Manifest +++ b/dev-libs/libwacom/Manifest @@ -1,2 +1,3 @@ DIST libwacom-2.4.0.tar.xz 108812 BLAKE2B 18f41cd052b18c652c61062948355b4738afe57db344749055492cc6853bcbe3048c582a72318891727ec0fb01a7799f4c80c544b37b51c9246f98e5ae3fef1b SHA512 c67b8a81e9f4285a4e6f422b29e9b8b3677e3fc45e5190fd2b95ad361e5ef35e124b7d78bcf2bb9d7b7183525a6be9916b3038714c42c9ef405a1075750465f3 DIST libwacom-2.5.0.tar.xz 109284 BLAKE2B cb9443aba276694eb64c6073488746ff4aff75ed77f334425d2f391a591f0a6cf222ef2124b6533ca7f2ca8e5eef36cd335026a87afabc12d912918ac1f930ed SHA512 62d181a5f4ce1335cd72623b7e82d5d44b9a11c08ec2ef4a98fd815fe2e1f814f42c909c2977e1b1ce803f04bac43414577830ff3724643fcecaf37113d098cf +DIST libwacom-2.6.0.tar.xz 110288 BLAKE2B 321bacccab84f287141257b4c7af12822fca976c335027d399765fdbbb2c59eabcc76f40d4fd83c7cf1cdc88e2c57ccd317b1922ea3dddb98cf2a0847e920ff1 SHA512 aacf234e77bd976de2e2a687294c5ab704dca5a70df01fa2485441029e4faa34bec2824c455642115ae79f5cbbac41d064569e4eb2788655c324b37149009d26 diff --git a/dev-libs/libwacom/libwacom-2.6.0.ebuild b/dev-libs/libwacom/libwacom-2.6.0.ebuild new file mode 100644 index 000000000000..87bd2af102ef --- /dev/null +++ b/dev-libs/libwacom/libwacom-2.6.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit meson python-any-r1 udev + +DESCRIPTION="Library for identifying Wacom tablets and their model-specific features" +HOMEPAGE="https://github.com/linuxwacom/libwacom" +SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/9" # libwacom SONAME +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/libgudev:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/python-libevdev[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + use test || return 0 + python_has_version "dev-python/python-libevdev[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pyudev[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + + # Don't call systemd daemon-reload in the test suite + sed -i -e '/daemon-reload/d' test/test_udev_rules.py || die +} + +src_configure() { + local emesonargs=( + $(meson_feature doc documentation) + $(meson_feature test tests) + -Dudev-dir=$(get_udevdir) + ) + meson_src_configure +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/dev-libs/libwacom/metadata.xml b/dev-libs/libwacom/metadata.xml index cef68d2eba57..7b987913f902 100644 --- a/dev-libs/libwacom/metadata.xml +++ b/dev-libs/libwacom/metadata.xml @@ -5,6 +5,6 @@ freedesktop-bugs@gentoo.org - linuxwacom + linuxwacom/libwacom