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 71D9E158023 for ; Thu, 15 Dec 2022 21:33:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6835E087E; Thu, 15 Dec 2022 21:33:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FBCDE087E for ; Thu, 15 Dec 2022 21:33:53 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4DDD33BEB9 for ; Thu, 15 Dec 2022 21:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46A487CC for ; Thu, 15 Dec 2022 21:24:38 +0000 (UTC) From: "Oliver Freyermuth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Oliver Freyermuth" Message-ID: <1671139458.efcfce92c52e7ac61de30d13ac686e4dbe2a13d5.freyermuth@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/cglm/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/cglm/Manifest dev-libs/cglm/cglm-0.8.8.ebuild X-VCS-Directories: dev-libs/cglm/ X-VCS-Committer: freyermuth X-VCS-Committer-Name: Oliver Freyermuth X-VCS-Revision: efcfce92c52e7ac61de30d13ac686e4dbe2a13d5 X-VCS-Branch: dev Date: Thu, 15 Dec 2022 21:24: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: 970ec4fd-dd1f-4016-9bfb-332bb467bae2 X-Archives-Hash: fa2df96cab04ce15077b63d36e3c9099 commit: efcfce92c52e7ac61de30d13ac686e4dbe2a13d5 Author: Oliver Freyermuth googlemail com> AuthorDate: Thu Dec 15 21:24:18 2022 +0000 Commit: Oliver Freyermuth googlemail com> CommitDate: Thu Dec 15 21:24:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=efcfce92 dev-libs/cglm: add 0.8.8 Signed-off-by: Oliver Freyermuth googlemail.com> dev-libs/cglm/Manifest | 1 + dev-libs/cglm/cglm-0.8.8.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest index 3dab91aad..3d8d27652 100644 --- a/dev-libs/cglm/Manifest +++ b/dev-libs/cglm/Manifest @@ -1,2 +1,3 @@ DIST cglm-0.8.5.tar.gz 621734 BLAKE2B 7cde681529a1e43444a431793bbeb09122c636b50650489c44b98f03a01477c5192e2109e6777d5a9c4254dbe6fd91371011762c77f76011a245dbbddf24f359 SHA512 a8f6df415dc482a9b16bb7ff44aba77c32e7297b48d5e7b0fb5b2e0d92fc80cad8e436d0c83fdd7cc0836ba451137d72af2f0f823ce9698000bf257b3019b7c5 DIST cglm-0.8.7.tar.gz 630522 BLAKE2B 063daa82a52136bb8f19ac120afa3813e2a5edab8db161fe87de6217402b37be4db0e904619659e2bd4a4c152dd47d5aeba704aec326b7d5d100c9957932ff1f SHA512 658b9af42111a4e2f68a3fe0665d51a5b2b34abefa404374d843d5b5506eac51d07e9e29549e69683d18982856e175573d218ceb55617870f239c00b1bf6bc0f +DIST cglm-0.8.8.tar.gz 631074 BLAKE2B 381de733722ef7cc7deb8799da2e7ccb2efeec1fd8cf9322c98216e796b829d4b81208e93c6b0e4f14b868fe60d498142b59c5de48e578df656333f4196967f9 SHA512 a89f76378aee6ee8a7a38b9ce975bff1873590b4cb83daaf658b2875578758d05e15e92ef7141df3109ee37e6b097eda0bb2e60b13fdeca536a72053145c5ece diff --git a/dev-libs/cglm/cglm-0.8.8.ebuild b/dev-libs/cglm/cglm-0.8.8.ebuild new file mode 100644 index 000000000..ddb415056 --- /dev/null +++ b/dev-libs/cglm/cglm-0.8.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="sphinx" +DOCS_AUTODOC=1 +DOCS_DEPEND="dev-python/sphinx_rtd_theme" +DOCS_DIR="${S}/docs/source" + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit python-any-r1 +inherit docs meson + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/recp/cglm.git" +else + SRC_URI="https://github.com/recp/cglm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="OpenGL Mathematics (glm) for C" +HOMEPAGE="https://github.com/recp/cglm" +LICENSE="MIT" +SLOT="0" + +src_prepare() { + default + # Enable autodoc since themeing plugin is used. + sed -i "s#'sphinx.ext.githubpages'#'sphinx.ext.githubpages','sphinx.ext.autodoc'#" docs/source/conf.py || die +} + +src_configure() { + local emesonargs=( + "-Dwerror=false" + ) + meson_src_configure +} + +src_compile() { + default + meson_src_compile + docs_compile +}