mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
1
dev-python/PyWavefront/Manifest
Normal file
1
dev-python/PyWavefront/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST v1.3.3.gh.tar.gz 3531475 BLAKE2B 4c6493ce5df9767a4ae69ff70c9ac18fcefc8039498c90d66aa493657cb190a58b6e7ab24cb469be1e0d16098c4e4b29a397a003281bcc742cc9d4d711db8c8c SHA512 9d78282dc626bbb9f20c45d4a0a1911e8dd1f11c3e8c50e3637ed33e976c253e4dd9c5faee29bbad5edf241877b2df4d25f77fd3bcc6dd438b7e46c8d821918d
|
||||
41
dev-python/PyWavefront/PyWavefront-1.3.3.ebuild
Normal file
41
dev-python/PyWavefront/PyWavefront-1.3.3.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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="Python library for importing Wavefront .obj files"
|
||||
HOMEPAGE="https://github.com/pywavefront/PyWavefront https://pypi.org/project/PyWavefront"
|
||||
SRC_URI="https://github.com/pywavefront/PyWavefront/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="${BDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# src_test() {
|
||||
# virtx distutils-r1_src_test
|
||||
# }
|
||||
# python_test() {
|
||||
# rm "${S}/tests/test_local.py"
|
||||
# cd "${T}" || die
|
||||
# epytest "${S}"/tests
|
||||
# }
|
||||
12
dev-python/PyWavefront/metadata.xml
Normal file
12
dev-python/PyWavefront/metadata.xml
Normal file
@@ -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">PyWavefront</remote-id>
|
||||
<remote-id type="github">pywavefront/PyWavefront</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Modern OpenGL binding for python"
|
||||
HOMEPAGE="https://github.com/moderngl/glcontext https://pypi.org/project/glcontext"
|
||||
@@ -31,18 +31,12 @@ BDEPEND="
|
||||
"
|
||||
DEPEND="${BDEPEND}"
|
||||
|
||||
# Tests are deactivated because we cannot open display
|
||||
# distutils_enable_tests pytest
|
||||
# src_test() {
|
||||
# virtx distutils-r1_src_test
|
||||
# }
|
||||
|
||||
# python_test() {
|
||||
# cd "${T}" || die
|
||||
# epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
|
||||
# }
|
||||
|
||||
pkg_postinst() {
|
||||
use test && ewarn The tests for this package are deactivated because the test display can not be opened.
|
||||
use test && ewarn If you know how to solve this issue, please do so.
|
||||
distutils_enable_tests pytest
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="A cross platform utility library for ModernGL"
|
||||
HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
|
||||
@@ -15,11 +15,26 @@ SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/moderngl[${PYTHON_USEDEP}]
|
||||
dev-python/glcontext[${PYTHON_USEDEP}]
|
||||
dev-python/trimesh[${PYTHON_USEDEP}]
|
||||
dev-python/PyWavefront[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="${BDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Modern OpenGL binding for python"
|
||||
HOMEPAGE="https://github.com/moderngl/moderngl https://pypi.org/project/moderngl"
|
||||
@@ -34,14 +34,13 @@ BDEPEND="
|
||||
"
|
||||
DEPEND="${BDEPEND}"
|
||||
|
||||
# Tests are deactivated because we cannot open display
|
||||
# distutils_enable_tests pytest
|
||||
# python_test() {
|
||||
# cd "${T}" || die
|
||||
# epytest "${S}"/tests
|
||||
# }
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
use test && ewarn The tests for this package are deactivated because the test display can not be opened.
|
||||
use test && ewarn If you know how to solve this issue, please do so.
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
python_test() {
|
||||
rm "${S}/tests/test_local.py"
|
||||
cd "${T}" || die
|
||||
epytest "${S}"/tests
|
||||
}
|
||||
|
||||
1
dev-python/pyrr/Manifest
Normal file
1
dev-python/pyrr/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST v0.10.3.gh.tar.gz 66011 BLAKE2B 843cb7199daae203e93567ad90a8f4456d9e940830d8a88bbe3b316900ccd38df996016b40435b55e857364312c5bca55d078f416a24f9badbe9867039fbe662 SHA512 f3f045604e28f4a944ea0528363c233a75413a6039bd11b90eeeafadcaaf0ef44bc1303581f2e78adcfb9a365f719be64a24adf1cec8c5ef1abf5642dea58df4
|
||||
12
dev-python/pyrr/metadata.xml
Normal file
12
dev-python/pyrr/metadata.xml
Normal file
@@ -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>
|
||||
46
dev-python/pyrr/pyrr-0.10.3.ebuild
Normal file
46
dev-python/pyrr/pyrr-0.10.3.ebuild
Normal file
@@ -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}"
|
||||
# }
|
||||
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects."
|
||||
HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements"
|
||||
@@ -40,9 +40,7 @@ python_test() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog Some other packages could be installed to extend functionnality:
|
||||
elog
|
||||
elog - dev-python/scipy, to be more precise for arc lenght
|
||||
elog - dev-python/pillow, to be able to load images
|
||||
elog - dev-python/numpy, to do lightning fast linearization for Shapes
|
||||
optfeature "getting exact value for arc lenght computation" dev-python/scipy
|
||||
optfeature "loading images" dev-python/pillow
|
||||
optfeature "speeding up linearization for Shapes" dev-python/numpy
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user