From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pyrr/
Date: Mon, 6 Feb 2023 21:34:17 +0000 (UTC) [thread overview]
Message-ID: <1675708826.284c01bc02a6492e2571dd1953b352ee71ba088d.lanodan@gentoo> (raw)
commit: 284c01bc02a6492e2571dd1953b352ee71ba088d
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Feb 6 16:41:11 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
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 <gasc <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gasc@eurecom.fr</email>
+ <name>Gasc Henri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pyrr</remote-id>
+ <remote-id type="github">adamlwgriffiths/pyrr</remote-id>
+ </upstream>
+</pkgmetadata>
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}"
+# }
next reply other threads:[~2023-02-06 21:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 21:34 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-13 8:29 [gentoo-commits] repo/proj/guru:master commit in: dev-python/pyrr/ Viorel Munteanu
2023-09-03 12:27 Haelwenn Monnier
2024-06-01 22:03 Julien Roy
2024-10-29 10:53 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1675708826.284c01bc02a6492e2571dd1953b352ee71ba088d.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox