Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-02-06 08:31:52 +00:00
58 changed files with 803 additions and 39 deletions

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 toolchain-funcs
@@ -28,8 +28,8 @@ RDEPEND="
>=dev-python/markdown-include-0.7.0[${PYTHON_USEDEP}]
>=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
dev-python/python-markdown-math[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
>=dev-python/toposort-1.7[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -16,6 +16,7 @@ KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
dev-util/itstool
gui-libs/gtk:4
gui-libs/libadwaita
$(python_gen_cond_dep '

View File

@@ -2,8 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>poncho@spahan.ch</email>
<name>Poncho</name>
<email>gasc@eurecom.fr</email>
<name>Gasc Henri</name>
</maintainer>
<upstream>
<remote-id type="gitlab">rmnvgr/metadata-cleaner</remote-id>

View File

@@ -1 +1 @@
DIST OCRmyPDF-14.0.1.tar.gz 6503040 BLAKE2B b54f5b7960c9f5303f4c2d0f8d949a7c3a813674a28f2166d89aaaf6e5203d94f0dee368846578a0ac554e35ed3cf9f479b907973b06e3e663c98ea700888b19 SHA512 6872ba20cfd455b5421a25e45b6a06f7aaa821c59d4825822dac0898989917752c1018d4477bfa3a106b2b036ce6cf511a16990cca4226a490ad2a97f8eb5229
DIST OCRmyPDF-14.0.1.tar.gz 6502713 BLAKE2B fc0a1b681bbc25f091f2262ec00c9ed638e38fae9042a1fa50efaff2af915279dffd6fb9b8db73dbced2adfb8d8bf4e66417f9cb5f6dd80c78a842bf6d20fbdd SHA512 371e53bc6ff272b9b34029c7dad78e453d20c77995b5d61ceddac3b92f5f9496be726c8da8a07c75504a2a7626ba8cefb2f2d6e8288e093d5fd95ecd4546c8ce

View File

@@ -1,2 +1,2 @@
DIST cglm-0.8.7.tar.gz 630522 BLAKE2B 063daa82a52136bb8f19ac120afa3813e2a5edab8db161fe87de6217402b37be4db0e904619659e2bd4a4c152dd47d5aeba704aec326b7d5d100c9957932ff1f SHA512 658b9af42111a4e2f68a3fe0665d51a5b2b34abefa404374d843d5b5506eac51d07e9e29549e69683d18982856e175573d218ceb55617870f239c00b1bf6bc0f
DIST cglm-0.8.8.tar.gz 631074 BLAKE2B 381de733722ef7cc7deb8799da2e7ccb2efeec1fd8cf9322c98216e796b829d4b81208e93c6b0e4f14b868fe60d498142b59c5de48e578df656333f4196967f9 SHA512 a89f76378aee6ee8a7a38b9ce975bff1873590b4cb83daaf658b2875578758d05e15e92ef7141df3109ee37e6b097eda0bb2e60b13fdeca536a72053145c5ece
DIST cglm-0.8.9.tar.gz 631331 BLAKE2B 17f6f8d379aa81ee9327315b121cc7629fcc394fe032c1e1540e5153b2d3b0a2129f27eb46a8ae4323aa826b2bfff310b9039f78953d52d0bd994ba493fcdbd9 SHA512 ac0a042d61c60eac7d6616e5bc0f5c3e77b1a45f58f6732b34edc9a0d714046777e4b490200a3b54c6325ddad5b5faeb3648a299685f748f8b0618ce66a9a7f4

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2022 Gentoo Authors
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@@ -0,0 +1 @@
DIST v0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886

View File

@@ -0,0 +1,29 @@
# 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="Binding for Pango, to use with Manim."
HOMEPAGE="https://github.com/ManimCommunity/ManimPango https://pypi.org/project/manimpango"
SRC_URI="https://github.com/ManimCommunity/ManimPango/archive/refs/tags/v${PV}.tar.gz -> v${PV}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
BDEPEND="
dev-python/cython
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
x11-libs/pango
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest

View 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">manimpango</remote-id>
<remote-id type="github">ManimCommunity/ManimPango</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST btrees-4.11.3.gh.tar.gz 193194 BLAKE2B d596506b0e036af628f56124f8cf4ccd19b459c18b6c27ed127f1366cb1179c2c4ccf8db3b5196ffe49f33860b562ee29e4739291dfaa15866296611d9c8fa0c SHA512 e184f47db4ba63938cd8e6ddcc7aa452447e4324e64e8e92b874e3d72736c6371a0ba6c82fdc5a94046ac7aee1b028ca43de4eaea9a11394040868c8c89c9974

View File

@@ -0,0 +1,42 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="scalable persistent components"
HOMEPAGE="https://github.com/zopefoundation/BTrees"
SRC_URI="https://github.com/zopefoundation/BTrees/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/BTrees-${PV}"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64"
# Too manu failures, not upstream, needs to be investigated
RESTRICT="test"
RDEPEND="
dev-python/persistent[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]
doc? (
dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
dev-python/transaction[${PYTHON_USEDEP}]
dev-python/zope-testrunner[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests unittest
src_test(){
cd "${S}/src/BTrees" || die
distutils-r1_src_test
}

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
This package contains a set of persistent object containers built around a modified BTree data structure. The trees are optimized for use inside ZODB's "optimistic concurrency" paradigm, and include explicit resolution of conflicts detected by that mechanism.
</longdescription>
<upstream>
<maintainer>
<name>Zope Foundation and Contributors</name>
<email>zope-dev@zope.org</email>
</maintainer>
<bugs-to>https://github.com/zopefoundation/BTrees/issues</bugs-to>
<changelog>https://github.com/zopefoundation/BTrees/blob/master/CHANGES.rst</changelog>
<doc>https://btrees.readthedocs.io</doc>
<remote-id type="github">zopefoundation/BTrees</remote-id>
<remote-id type="pypi">BTrees</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -21,4 +21,5 @@ RDEPEND=""
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${BDEPEND}"
PROPERTIES="test_network"
distutils_enable_tests pytest

View File

@@ -0,0 +1 @@
DIST v2.3.7.gh.tar.gz 22254 BLAKE2B f6714e6427dec938f576eea997f258468a6c8ae1c67ed1d560b660c410676055b0632b22fad6756e7d36d10dcec2a6e6cccc6fc8bf506e5b9ea037912e87a94e SHA512 f2d597dc338c9dab911494d2249fdbb400af0e79e101c0cacb53418af4ac4f4cc261cc22dd6685102401ece6dada193769840eb5836cb03119313a8770cc09e9

View File

@@ -0,0 +1,48 @@
# 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="Modern OpenGL binding for python"
HOMEPAGE="https://github.com/moderngl/glcontext https://pypi.org/project/glcontext"
SRC_URI="https://github.com/moderngl/glcontext/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="
x11-libs/libX11
media-libs/libglvnd[X]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
)
"
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.
}

View 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">glcontext</remote-id>
<remote-id type="github">moderngl/glcontext</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST v2.4.2.gh.tar.gz 30988391 BLAKE2B 12de492955058454ae791246e057f1b8d317a12011c04a8cef883144a0e89204918c2396eb07781d7065f2c008cb75ba5453b87901badf7dd7c19b76edd202d2 SHA512 54af3fd48e6aa1a1d55d2b72c54e90e73df366d4e06fea92040e0b3fb75ad24b536584e5a86328a3a51f30a7c4987bbe5ece83b76d58a5126fc677c74a6dfac7

View 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">moderngl-window</remote-id>
<remote-id type="github">moderngl/moderngl-window</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,25 @@
# 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/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
"
DEPEND="${BDEPEND}"

View File

@@ -0,0 +1 @@
DIST v5.7.4.gh.tar.gz 2687476 BLAKE2B a71180f2e450eec248bc6388a30738902c0f035014e56b2af21ed0b8c797c579d9ccd0d971ca639dc6347cc986cd1f7e1e86a5a7f9ecdc639808963c17d1ea6c SHA512 a626a0c60809f468563462822570855943ecdb0bcde41e18483259defcd45d89b084719b5eabe6009b0fb823b8921af8fd9858cfd937f4d1fd12de21f03f9359

View 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">moderngl</remote-id>
<remote-id type="github">moderngl/moderngl</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,47 @@
# 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="Modern OpenGL binding for python"
HOMEPAGE="https://github.com/moderngl/moderngl https://pypi.org/project/moderngl"
SRC_URI="https://github.com/moderngl/moderngl/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="
x11-libs/libX11
media-libs/libglvnd[X]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
dev-python/glcontext[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
# Tests are deactivated because we cannot open display
# distutils_enable_tests pytest
# python_test() {
# cd "${T}" || die
# epytest "${S}"/tests
# }
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.
}

View File

@@ -0,0 +1 @@
DIST persistent-5.0.gh.tar.gz 115137 BLAKE2B 6d84cc1e81f033349b9943bb02376f58baccffebe1d7747da687dde6ad0a15f225c0f45c80aacd4de4dc15009f6502e0c0ea5e90d6697c5d1eaa0528dca2691a SHA512 561c339574817f70d1e5b091d77e3cd7a876a49742938591cfffdf4ec5a6ae23b4a7b4e7ff7d90d15763ce9485c093ff019699364952974e9ffe4da88bcf293f

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
This package contains a generic persistence implementation for Python. It forms the core protocol for making objects interact "transparently" with a database such as the ZODB.
</longdescription>
<upstream>
<maintainer>
<name>Zope Foundation and Contributors</name>
<email>zope-dev@zope.org</email>
</maintainer>
<bugs-to>https://github.com/zopefoundation/persistent/issues</bugs-to>
<changelog>https://github.com/zopefoundation/persistent/blob/master/CHANGES.rst</changelog>
<doc>https://persistent.readthedocs.io/en/stable</doc>
<remote-id type="github">zopefoundation/persistent</remote-id>
<remote-id type="pypi">persistent</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,47 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="automatic persistence for Python objects"
HOMEPAGE="https://github.com/zopefoundation/persistent"
SRC_URI="https://github.com/zopefoundation/persistent/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]
doc? ( dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] )
test? (
dev-python/manuel[${PYTHON_USEDEP}]
dev-python/zope-testrunner[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests unittest
src_unpack() {
default
# Fix broken test
sed -i -e 's/from \.\./from persistent/' "${S}/src/persistent/tests/test_ring.py" || die
# Disable tests that fail
sed -z -i -e "s/def test__p_repr_exception.*_p_repr failed')>\")//g" \
"${S}/src/persistent/tests/test_persistence.py" || die
sed -z -i -e "s/def test__p_repr_in_instance_ignored.*repr(p)//g" \
"${S}/src/persistent/tests/test_persistence.py" || die
}
src_test() {
cd "${S}/src/persistent" || die
distutils-r1_src_test
}

View File

@@ -0,0 +1 @@
DIST repoze-sphinx-autointerface-1.0.0.gh.tar.gz 10708 BLAKE2B d9013cd47088a130431a02a07b84c97daa4c8562b53c8c3d9691cfc67fa978dcf93592f86234d76e6cf8458f2ee3f01debe362a10a94df4ad004d120fa42f816 SHA512 58b3c22d5486defa0b50e76cbcdece8f7d9f82f6066178b9c50e4c1a6fb6a82e50e386b2c662d5026d2fd4831d392cbc23493c34d09bc225610f661ebc68db3f

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
This package defines an extension for the Sphinx documentation system. The extension allows generation of API documentation by introspection of zope.interface instances in code.
</longdescription>
<upstream>
<maintainer>
<name>Agendaless Consulting</name>
<email>repoze-dev@lists.repoze.org</email>
</maintainer>
<changelog>https://github.com/repoze/repoze.sphinx.autointerface/blob/master/CHANGES.rst</changelog>
<doc>https://github.com/repoze/repoze.sphinx.autointerface/</doc>
<bugs-to>https://github.com/repoze/repoze.sphinx.autointerface/issues</bugs-to>
<remote-id type="github">repoze/repoze.sphinx.autointerface</remote-id>
<remote-id type="pypi">repoze.sphinx.autointerface</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Auto-generate Sphinx API docs from Zope interfaces"
HOMEPAGE="https://github.com/repoze/repoze.sphinx.autointerface/"
SRC_URI="https://github.com/repoze/repoze.sphinx.autointerface/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/repoze.sphinx.autointerface-${PV}"
LICENSE="BSD-with-disclosure"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/zope-interface[${PYTHON_USEDEP}]
test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"
distutils_enable_tests unittest
src_prepare() {
# strip rdep specific to namespaces
sed -i -e "/'setuptools'/d" setup.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}

View File

@@ -0,0 +1 @@
DIST restrictedpython-6.0.gh.tar.gz 441665 BLAKE2B 3b3c27c6aa86e7301299fa32eafa571381637ac16551c48c2faf48815fc6d054df94ddfaccacb243e55300358f1c5f726d17342630137c326387db946d00bdf0 SHA512 8f9b53542c0784ac0c9169c4c4252d22f95419c6903ca0e786f44f6fee9303251f3e78ec099f343068c0a7ea7712de52e884aa132dda63ed813e8a17ffe55798

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. RestrictedPython is not a sandbox system or a secured environment, but it helps to define a trusted environment and execute untrusted code inside of it.
</longdescription>
<upstream>
<maintainer>
<name>Zope Foundation and Contributors</name>
<email>zope-dev@zope.org</email>
</maintainer>
<bugs-to>https://github.com/zopefoundation/RestrictedPython/issues</bugs-to>
<changelog>https://github.com/zopefoundation/RestrictedPython/blob/master/CHANGES.rst</changelog>
<doc>http://restrictedpython.readthedocs.io</doc>
<remote-id type="github">zopefoundation/RestrictedPython</remote-id>
<remote-id type="pypi">RestrictedPython</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,27 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="A restricted execution environment for Python to run untrusted code"
HOMEPAGE="https://github.com/zopefoundation/RestrictedPython"
SRC_URI="https://github.com/zopefoundation/RestrictedPython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/RestrictedPython-${PV}"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
doc? ( dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests pytest

View File

@@ -0,0 +1 @@
DIST v0.8.1.gh.tar.gz 26498 BLAKE2B 4e67c6dab4638871247771329f7daf788015df591e03d4f02fb3950a9551c00c3cdff7c2e4d19a33930ec535a9bbaa1f67c5326830292e4ef93f3b9aaa788d18 SHA512 cbcffbd708bf3d2788efe67d9df2bcb99fdf09f91b6e9f40c024e4b1e372417bf6d3c61188a198c4b760302fe1e3ab16e2747cf7a7e14ce7ba82bda77334995c

View 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">screeninfo</remote-id>
<remote-id type="github">rr-/screeninfo</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,24 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Fetch location and size of physical screens."
HOMEPAGE="https://github.com/rr-/screeninfo https://pypi.org/project/screeninfo"
SRC_URI="https://github.com/rr-/screeninfo/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
BDEPEND="dev-python/poetry-core[${PYTHON_USEDEP}]"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest

View File

@@ -0,0 +1 @@
DIST v1.9.0.gh.tar.gz 130668 BLAKE2B e1315f0e5136e5a784a69df853fd27737f3b4cfed7423126ab3e94fd50ccb5d747bd9661a9f2853970ed17e9ea185fe342762072aed16b213d39aa44bea369b0 SHA512 c0373373f8f43cadf0b374c89830b2ec4e1eda2fa4052d6d0f72139755dc40a3d15d8b10b2298b2fce15f1540628b9aad57b6449b249290c9e08eb1cb4cdef85

View 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">svgelements</remote-id>
<remote-id type="github">meerk40t/svgelements</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects."
HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements"
SRC_URI="https://github.com/meerk40t/svgelements/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest
src_prepare() {
default
mv "${S}/test" "${S}_tests"
}
python_test() {
cd "${T}" || die
epytest "${S}_tests"
}
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
}

View File

@@ -16,7 +16,6 @@ S="${WORKDIR}/tempy-7a597ee78fc7ba2c4ced041780470f568998f3c1"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
@@ -28,8 +27,6 @@ PATCHES=(
"${FILESDIR}/assets.patch"
)
distutils_enable_tests pytest
pkg_postinst() {
elog By default, tempy is using the API key of the developper by making requests throught their proxy server.
elog You can register your own API key at https://www.weatherapi.com, and store it in '$HOME/.config/tempyrc'.

View File

@@ -0,0 +1 @@
DIST v0.10.1.gh.tar.gz 24509468 BLAKE2B 12747e3d602087d848687b8fe4fcd230c2dc842a50a808d103bfa6eff6bd71393cd0ec9a0ef3bdb46f1f887cc1c32a2d8d44041842c30f46440e2135dc8ae433 SHA512 1b8e584dc2872a5067bcb7e1568c77c92d4313448888bc2e244a222f00699468fd0153c78e8dc91c4e2b9c0149d4248bddb7d37d9eee3e68e4c334abb3eee951

View 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">textual</remote-id>
<remote-id type="github">Textualize/textual</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Modern Text User Interface framework"
HOMEPAGE="https://github.com/Textualize/textual https://pypi.org/project/textual"
SRC_URI="https://github.com/Textualize/textual/archive/refs/tags/v${PV}.tar.gz -> v${PV}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# For the tests we would need many python modules not in any overlays I could find
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
BDEPEND="
dev-lang/python
dev-python/poetry-core[${PYTHON_USEDEP}]
dev-python/importlib_metadata[${PYTHON_USEDEP}]
"
DEPEND="
${BDEPEND}
${RDEPEND}
"
distutils_enable_tests pytest

View File

@@ -1,9 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1
@@ -28,10 +29,10 @@ BDEPEND="
DOCS="CHANGES.rst README.rst"
distutils_enable_tests nose
distutils_enable_tests unittest
distutils_enable_sphinx docs
src_test() {
cd src || die
python_foreach_impl python_test
cd "${S}/src" || die
distutils-r1_src_test
}

View File

@@ -0,0 +1 @@
DIST zope-cachedescriptors-4.4.gh.tar.gz 10194 BLAKE2B e5d505beef056610c4980d66bd8e183bd883e730aaf4cbfec0b1648be34ef7cd5547c20de465f173f9b54072014f4aa337337178d11a8c2ab1d8ad997f64d68d SHA512 22ba430ac899131512c4a69933155d06ade8a607a874c9cf733171148f7f9e50d4fde9976ab28aec19f19871a654cb78ba09d8fea0799cf0bb73bbbbe5680554

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
Cached descriptors cache their output. They take into account instance attributes that they depend on, so when the instance attributes change, the descriptors will change the values they return.
Cached descriptors cache their data in _v_ attributes, so they are also useful for managing the computation of volatile attributes for persistent objects.
Persistent descriptors:
property
A simple computed property.
See src/zope/cachedescriptors/property.rst.
method
Idempotent method. The return values are cached based on method arguments and on any instance attributes that the methods are defined to depend on.
Note
Only a cache based on arguments has been implemented so far.
See src/zope/cachedescriptors/method.rst.
</longdescription>
<upstream>
<maintainer>
<name>Zope Foundation and Contributors</name>
<email>zope-dev@zope.org</email>
</maintainer>
<changelog>https://github.com/zopefoundation/zope.cachedescriptors/blob/master/CHANGES.rst</changelog>
<bugs-to>https://github.com/zopefoundation/zope.cachedescriptors/issues</bugs-to>
<remote-id type="github">zopefoundation/zope.cachedescriptors</remote-id>
<remote-id type="pypi">zope.cachedescriptors</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1
DESCRIPTION="Python descriptors which cache their output"
HOMEPAGE="https://github.com/zopefoundation/zope.cachedescriptors"
SRC_URI="https://github.com/zopefoundation/zope.cachedescriptors/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN/-/\.}-${PV}"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
# strip rdep specific to namespaces
sed -i -e "/'setuptools'/d" setup.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}

View File

@@ -0,0 +1 @@
DIST zope-testrunner-5.6.gh.tar.gz 134768 BLAKE2B 2b7a653bc3a35886044b9843f5e5dce4f94da7de79ec6a3be19841943370c48882809460ae40f188ed909d0c57366784cbcf3f6e075bd10f7dec3c98d910d72d SHA512 bce65e5cd64f7ddbe2b1aad359d084e1b7175ce7186b08ab9b24e3cc745c0b118ce69e4f09e86bf27a420823192b60f9d1a21ac02dd66abfbdd5c10986302b61

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<upstream>
<maintainer>
<name>Zope Foundation and Contributors</name>
<email>zope-dev@zope.org</email>
</maintainer>
<changelog>https://github.com/zopefoundation/zope.testrunner/blob/master/CHANGES.rst</changelog>
<doc>https://zopetestrunner.readthedocs.io/</doc>
<bugs-to>https://github.com/zopefoundation/zope.testrunner/issues</bugs-to>
<remote-id type="github">zopefoundation/zope.testrunner</remote-id>
<remote-id type="pypi">zope.testrunner</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,59 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="This package provides a flexible test runner with layer support."
HOMEPAGE="https://github.com/zopefoundation/zope.testrunner"
SRC_URI="https://github.com/zopefoundation/zope.testrunner/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN/-/\.}-${PV}"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]
dev-python/zope-exceptions[${PYTHON_USEDEP}]
doc? ( dev-python/sphinxcontrib-programoutput[${PYTHON_USEDEP}] )
test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests unittest
src_unpack() {
default
# Remove test that causes QA warnings
rm "${S}/src/zope/testrunner/tests/testrunner-ex/sample2/badsyntax.py" || die
}
src_prepare() {
# strip rdep specific to namespaces
sed -i -e "/'setuptools'/d" setup.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
python_test() {
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
distutils_write_namespace zope
eunittest
}
python_install() {
# Do not install unit tests
rm -r "${BUILD_DIR}/install$(python_get_sitedir)/zope/testrunner/tests" || die
distutils-r1_python_install
}

View File

@@ -8,7 +8,7 @@ inherit git-r3
EGIT_REPO_URI="https://github.com/zigtools/zls"
HOMEPAGE="https://github.com/zigtools/zls"
DESCRIPTION="Zig LSP implementation + Zig Language Server"
DESCRIPTION="The officially unofficial Ziglang language server"
LICENSE="MIT"
SLOT="0"
@@ -17,23 +17,22 @@ DEPEND="~dev-lang/zig-9999"
RDEPEND="${DEPEND}"
# see https://github.com/ziglang/zig/issues/3382
# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
QA_FLAGS_IGNORED="usr/bin/zls"
src_compile() {
zig build -Drelease-safe -Ddata_version=master --verbose || die
zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
}
src_test() {
zig build test -Drelease-safe -Ddata_version=master --verbose || die
zig build test -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
}
src_install() {
DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe -Ddata_version=master --verbose || die
DESTDIR="${ED}" zig build install --prefix /usr -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
dodoc README.md
}
pkg_postinst() {
elog "For creating or updating config run this command: zls --config"
elog "You can find more information about options here https://github.com/zigtools/zls#configuration-options"
}

View File

@@ -25,6 +25,7 @@ IUSE="+compatibility-list +cubeb discord +qt5 sdl +system-vulkan webengine webse
RDEPEND="
<net-libs/mbedtls-3.1[cmac]
>=app-arch/zstd-1.5
>=dev-libs/inih-52
>=dev-libs/libfmt-9:=
>=dev-libs/openssl-1.1:=
>=media-video/ffmpeg-4.3:=
@@ -32,6 +33,7 @@ RDEPEND="
app-arch/lz4:=
dev-libs/boost:=[context]
media-libs/opus
media-libs/vulkan-loader
sys-libs/zlib
virtual/libusb:1
cubeb? ( media-libs/cubeb )
@@ -43,7 +45,6 @@ RDEPEND="
)
sdl? (
>=media-libs/libsdl2-2.0.18
>=dev-libs/inih-52
)
"
DEPEND="${RDEPEND}

View File

@@ -21,12 +21,14 @@ IUSE="+compatibility-list +cubeb discord +qt5 sdl +system-vulkan test webengine
RDEPEND="
<net-libs/mbedtls-3.1[cmac]
>=app-arch/zstd-1.5
>=dev-libs/inih-52
>=dev-libs/libfmt-9:=
>=dev-libs/openssl-1.1:=
>=media-video/ffmpeg-4.3:=
>=net-libs/enet-1.3
app-arch/lz4:=
dev-libs/boost:=[context]
media-libs/vulkan-loader
media-libs/opus
sys-libs/zlib
virtual/libusb:1
@@ -39,7 +41,6 @@ RDEPEND="
)
sdl? (
>=media-libs/libsdl2-2.0.18
>=dev-libs/inih-52
)
"
DEPEND="${RDEPEND}

View File

@@ -60,25 +60,31 @@ export EDITOR="${WORKDIR}/Godot_v3.x-stable_linux_headless.64"
src_prepare() {
if use osf-tracker; then
mv "${WORKDIR}"/openseeface-tracker-${OPENSEEFACE_COMMIT} resources/extensions/openseeface-tracker
mv "${WORKDIR}"/OpenSeeFace resources/extensions/openseeface-tracker/ || die
mv "${WORKDIR}"/openseeface-tracker-${OPENSEEFACE_COMMIT} \
resources/extensions/openseeface-tracker || die
mv "${WORKDIR}"/OpenSeeFace \
resources/extensions/openseeface-tracker/ || die
touch resources/extensions/openseeface-tracker/OpenSeeFace/.gdignore || die
fi
if use ifm-tracker; then
mv "${WORKDIR}"/ifacialmocap-tracker-${IFACIALMOCAP_COMMIT} resources/extensions/ifacialmocap-tracker
mv "${WORKDIR}"/ifacialmocap-tracker-${IFACIALMOCAP_COMMIT} \
resources/extensions/ifacialmocap-tracker || die
fi
if use vts-tracker; then
mv "${WORKDIR}"/vtube-studio-tracker-${VTUBE_STUDIO_COMMIT} resources/extensions/vtube-studio-tracker
mv "${WORKDIR}"/vtube-studio-tracker-${VTUBE_STUDIO_COMMIT} \
resources/extensions/vtube-studio-tracker || die
fi
if use meowface-tracker; then
mv "${WORKDIR}"/meowface-tracker-${MEOWFACE_COMMIT} resources/extensions/meowface-tracker
mv "${WORKDIR}"/meowface-tracker-${MEOWFACE_COMMIT} \
resources/extensions/meowface-tracker || die
fi
if use remote-control; then
mv "${WORKDIR}"/remote-control-server-${RC_SERVER_COMMIT} resources/extensions/remote-control-server
mv "${WORKDIR}"/remote-control-server-${RC_SERVER_COMMIT} \
resources/extensions/remote-control-server || die
fi
mkdir -p release_templates/ || die
@@ -92,7 +98,8 @@ src_prepare() {
}
src_compile() {
"${WORKDIR}"/Godot_v3.x-stable_linux_headless.64 --verbose --export linux "export/${PN}"
"${WORKDIR}"/Godot_v3.x-stable_linux_headless.64 \
--verbose --export linux "export/${PN}" || die
}
src_install() {

View File

@@ -13,6 +13,7 @@ KEYWORDS="amd64"
IUSE="+alsa jack lv2 vst cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3"
DEPEND="
alsa? ( media-libs/alsa-lib )
lv2? ( media-libs/lv2 )
media-libs/libsmf
media-libs/libsndfile

View File

@@ -15,6 +15,7 @@ KEYWORDS=""
IUSE="alsa jack lv2 vst cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3"
DEPEND="
alsa? ( media-libs/alsa-lib )
lv2? ( media-libs/lv2 )
media-libs/libsmf
media-libs/libsndfile

View File

@@ -6,7 +6,7 @@
<email>samuel.bauer@yahoo.fr</email>
</maintainer>
<use>
<flag name="lv2"></flag>
<flag name="vst"></flag>
<flag name="lv2">Build LV2 plugin</flag>
<flag name="vst">Build VST plugin</flag>
</use>
</pkgmetadata>

View File

@@ -1,3 +1,3 @@
DIST maestral-1.5.3.gh.tar.gz 8280040 BLAKE2B dcda43880cea3fb00098b6bf87e43318a523a7c9d83886efff58be715cde17f67504b31735a006b951963e5cf0ef70b4b6431cb84200722cae186053a01edd63 SHA512 aa21277623f4e6f3283cd989be910eeb1caa3a842abca595b27a551c1c9bd1e7ef083e495ee0f096190accd91835939cb2f4a26624feae0046d8770d53aaac2f
DIST maestral-1.6.5.gh.tar.gz 7983512 BLAKE2B b77cc7eb1a6089cc78e47680d99a53bc4c4752feed3970a57e67eefcf1ab2491c0b3aaebd2fb7caf6fc5420eef2e7fe8776e87047f82db7d1466a4c3d17beaf8 SHA512 ee182505b305dbd6730078ce71725eb75515fb5682889c5226c26a69d32f85ad28e335bcd65b57fd1624da8ecd8914df337a93f6b296d86dcc6e94d4f2747995
DIST maestral-1.7.0_rc0.gh.tar.gz 7985893 BLAKE2B 1d3faa9c22f580c90ce0a436a686144ad97e546e5e3ba3aab5f80d8b378259e0e0c89adcd5ef8a789634d751b35496bca4a942d27d7ac24c6cabd190a46834f4 SHA512 a1d7426095bab47a89ed79f4b4c5e5d8848c65324822a3a4a56f482930b58c618ffbf913c6e99925c5ef093917a6d4c5abb52076a3f9122a984ea72a6cb0e8aa
DIST maestral-1.7.0_rc1.gh.tar.gz 7986751 BLAKE2B 35808775d3f77a8a6681ed55f781745824f8572047c2c0c2171a019ba1700d48846efb38e59baf5c5ba3b4ba6f138e14acf1324e1e465a1ab1176f42d7ebcfb5 SHA512 13c1daee0803f37263b0e59a7c039218e755611baa7bc072bf15ed6d17015c211026fc8340f5b67181b7bc20228c9c12f49a547be50fd33aba4ebeacd864c38c

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -21,11 +21,9 @@ S="${WORKDIR}/${PN}-version-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
IUSE="test"
RDEPEND="
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-texlive/texlive-pstricks
dev-texlive/texlive-basic
@@ -34,7 +32,12 @@ RDEPEND="
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-mathscience
"
BDEPEND="dev-python/jinja2-cli"
BDEPEND="
dev-python/jinja2-cli
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-argparse[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND} ${BDEPEND}"
PATCHES=(
@@ -42,4 +45,13 @@ PATCHES=(
)
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_compile() {
distutils-r1_python_compile
emake man -C Doc
}
python_install() {
distutils-r1_python_install
doman "${S}/Doc/build/man/pyromaths.1"
}