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 D862A138350 for ; Fri, 17 Apr 2020 15:57:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DC8CE0898; Fri, 17 Apr 2020 15:57:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D4FA2E0898 for ; Fri, 17 Apr 2020 15:57:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 64FC134F199 for ; Fri, 17 Apr 2020 15:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ABDC1DD for ; Fri, 17 Apr 2020 15:56:58 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1587138999.73733bd026f26e84f2e57fe38767e392e945118c.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libepoxy/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libepoxy/libepoxy-1.5.4.ebuild media-libs/libepoxy/libepoxy-9999.ebuild X-VCS-Directories: media-libs/libepoxy/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 73733bd026f26e84f2e57fe38767e392e945118c X-VCS-Branch: master Date: Fri, 17 Apr 2020 15:56:58 +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: 7189c96a-9492-490e-9c93-09e7a7b18eab X-Archives-Hash: 2cf9a4b23d8c0a0bd0fadf6532f73d4a commit: 73733bd026f26e84f2e57fe38767e392e945118c Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Apr 17 15:50:39 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 17 15:56:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73733bd0 media-libs/libepoxy: python3_8 support, minor cleanup Tests passed. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libepoxy/libepoxy-1.5.4.ebuild | 35 +++++++++++++------------------ media-libs/libepoxy/libepoxy-9999.ebuild | 35 +++++++++++++------------------ 2 files changed, 28 insertions(+), 42 deletions(-) diff --git a/media-libs/libepoxy/libepoxy-1.5.4.ebuild b/media-libs/libepoxy/libepoxy-1.5.4.ebuild index 02f1bc297cf..889f0383641 100644 --- a/media-libs/libepoxy/libepoxy-1.5.4.ebuild +++ b/media-libs/libepoxy/libepoxy-1.5.4.ebuild @@ -3,41 +3,34 @@ EAPI=7 -EGIT_REPO_URI="https://github.com/anholt/${PN}.git" - -if [[ ${PV} = 9999* ]]; then - GIT_ECLASS="git-r3" -fi - -PYTHON_COMPAT=( python{3_6,3_7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE='xml(+)' -inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 +inherit meson multilib-minimal python-any-r1 -DESCRIPTION="Epoxy is a library for handling OpenGL function pointer management for you" -HOMEPAGE="https://github.com/anholt/libepoxy" if [[ ${PV} = 9999* ]]; then - SRC_URI="" + EGIT_REPO_URI="https://github.com/anholt/${PN}.git" + inherit git-r3 else - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi +DESCRIPTION="Library for handling OpenGL function pointer management" +HOMEPAGE="https://github.com/anholt/libepoxy" + LICENSE="MIT" SLOT="0" -RESTRICT="!test? ( test )" IUSE="+egl test +X" -RDEPEND="egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )" -DEPEND="X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) - ${RDEPEND}" +RESTRICT="!test? ( test )" + +RDEPEND=" + egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )" BDEPEND="${PYTHON_DEPS} virtual/pkgconfig" -src_unpack() { - default - [[ $PV = 9999* ]] && git-r3_src_unpack -} - multilib_src_configure() { local emesonargs=( -Degl=$(usex egl) diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild b/media-libs/libepoxy/libepoxy-9999.ebuild index 7d68a7cdbcf..17b8095b0f3 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -3,41 +3,34 @@ EAPI=7 -EGIT_REPO_URI="https://github.com/anholt/${PN}.git" - -if [[ ${PV} = 9999* ]]; then - GIT_ECLASS="git-r3" -fi - -PYTHON_COMPAT=( python{3_6,3_7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE='xml(+)' -inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 +inherit meson multilib-minimal python-any-r1 -DESCRIPTION="Epoxy is a library for handling OpenGL function pointer management for you" -HOMEPAGE="https://github.com/anholt/libepoxy" if [[ ${PV} = 9999* ]]; then - SRC_URI="" + EGIT_REPO_URI="https://github.com/anholt/${PN}.git" + inherit git-r3 else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi +DESCRIPTION="Library for handling OpenGL function pointer management" +HOMEPAGE="https://github.com/anholt/libepoxy" + LICENSE="MIT" SLOT="0" -RESTRICT="!test? ( test )" IUSE="+egl test +X" -RDEPEND="egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )" -DEPEND="X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) - ${RDEPEND}" +RESTRICT="!test? ( test )" + +RDEPEND=" + egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )" BDEPEND="${PYTHON_DEPS} virtual/pkgconfig" -src_unpack() { - default - [[ $PV = 9999* ]] && git-r3_src_unpack -} - multilib_src_configure() { local emesonargs=( -Degl=$(usex egl)