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 F1F02158010 for ; Mon, 6 Feb 2023 18:40:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2CFBE07DB; Mon, 6 Feb 2023 18:40:33 +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 CC05DE07DB for ; Mon, 6 Feb 2023 18:40:33 +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 CCC4A340B25 for ; Mon, 6 Feb 2023 18:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AB9C8A0 for ; Mon, 6 Feb 2023 18:40:30 +0000 (UTC) From: "Henri Gasc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Henri Gasc" Message-ID: <1675708826.284c01bc02a6492e2571dd1953b352ee71ba088d.gasc@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyrr/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pyrr/Manifest dev-python/pyrr/metadata.xml dev-python/pyrr/pyrr-0.10.3.ebuild X-VCS-Directories: dev-python/pyrr/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: 284c01bc02a6492e2571dd1953b352ee71ba088d X-VCS-Branch: dev Date: Mon, 6 Feb 2023 18:40:30 +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: 41d5682d-ff34-4600-94ad-a6044a58b73f X-Archives-Hash: 9fd1cd93c76dc174ed5655a002814e92 commit: 284c01bc02a6492e2571dd1953b352ee71ba088d Author: Henri Gasc eurecom fr> AuthorDate: Mon Feb 6 16:41:11 2023 +0000 Commit: Henri Gasc eurecom fr> CommitDate: Mon Feb 6 18:40:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=284c01bc dev-python/pyrr: new package, add 0.10.3 Signed-off-by: Henri Gasc eurecom.fr> dev-python/pyrr/Manifest | 1 + dev-python/pyrr/metadata.xml | 12 ++++++++++ dev-python/pyrr/pyrr-0.10.3.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/pyrr/Manifest b/dev-python/pyrr/Manifest new file mode 100644 index 000000000..383fae89a --- /dev/null +++ b/dev-python/pyrr/Manifest @@ -0,0 +1 @@ +DIST v0.10.3.gh.tar.gz 66011 BLAKE2B 843cb7199daae203e93567ad90a8f4456d9e940830d8a88bbe3b316900ccd38df996016b40435b55e857364312c5bca55d078f416a24f9badbe9867039fbe662 SHA512 f3f045604e28f4a944ea0528363c233a75413a6039bd11b90eeeafadcaaf0ef44bc1303581f2e78adcfb9a365f719be64a24adf1cec8c5ef1abf5642dea58df4 diff --git a/dev-python/pyrr/metadata.xml b/dev-python/pyrr/metadata.xml new file mode 100644 index 000000000..16493659e --- /dev/null +++ b/dev-python/pyrr/metadata.xml @@ -0,0 +1,12 @@ + + + + + gasc@eurecom.fr + Gasc Henri + + + pyrr + adamlwgriffiths/pyrr + + diff --git a/dev-python/pyrr/pyrr-0.10.3.ebuild b/dev-python/pyrr/pyrr-0.10.3.ebuild new file mode 100644 index 000000000..574118c51 --- /dev/null +++ b/dev-python/pyrr/pyrr-0.10.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="A cross platform utility library for ModernGL" +HOMEPAGE="https://github.com/adamlwgriffiths/pyrr https://pypi.org/project/pyrr" +SRC_URI="https://github.com/adamlwgriffiths/pyrr/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz" +S="${WORKDIR}/Pyrr-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="" +BDEPEND=" + dev-python/multipledispatch[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" +DEPEND="${BDEPEND}" + +python_compile() { + distutils-r1_python_compile + find ./ -type f -exec sed -i 's/sphinx.ext.pngmath/sphinx.ext.imgmath/g' {} \; + emake man -C docs +} + +python_install() { + distutils-r1_python_install + doman "${S}/docs/build/man/pyrr.1" +} + +# The tests failed with `module 'numpy' has no attribute 'float'` +# distutils_enable_tests pytest +# python_test() { +# cd "${T}" || die +# epytest "${S}"/tests || die "Tests failed with ${EPYTHON}" +# }