public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
@ 2023-02-06  8:21 Viorel Munteanu
  0 siblings, 0 replies; 7+ messages in thread
From: Viorel Munteanu @ 2023-02-06  8:21 UTC (permalink / raw
  To: gentoo-commits

commit:     ad1833a8862ea89642efc7f60e61f7ce2da6e213
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Feb  5 16:39:01 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 21:06:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad1833a8

dev-python/ManimPango: new package, add 0.4.3

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/ManimPango/Manifest                |  1 +
 dev-python/ManimPango/ManimPango-0.4.3.ebuild | 29 +++++++++++++++++++++++++++
 dev-python/ManimPango/metadata.xml            | 12 +++++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest
new file mode 100644
index 000000000..d40b55be9
--- /dev/null
+++ b/dev-python/ManimPango/Manifest
@@ -0,0 +1 @@
+DIST v0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886

diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
new file mode 100644
index 000000000..eff2a188a
--- /dev/null
+++ b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
@@ -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

diff --git a/dev-python/ManimPango/metadata.xml b/dev-python/ManimPango/metadata.xml
new file mode 100644
index 000000000..9529a1671
--- /dev/null
+++ b/dev-python/ManimPango/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">manimpango</remote-id>
+		<remote-id type="github">ManimCommunity/ManimPango</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
@ 2023-03-13  8:29 Viorel Munteanu
  0 siblings, 0 replies; 7+ messages in thread
From: Viorel Munteanu @ 2023-03-13  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     92c847b4818c95eb48ced6c108184a63f8f7336e
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Mar 12 09:30:22 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 17:37:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92c847b4

dev-python/ManimPango: unkeyword 0.4.3 for ~x86, remove tests

Closes: https://bugs.gentoo.org/893392
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/ManimPango/Manifest                |  2 +-
 dev-python/ManimPango/ManimPango-0.4.3.ebuild | 21 +++++++++------------
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest
index d40b55be9..3c0f384b7 100644
--- a/dev-python/ManimPango/Manifest
+++ b/dev-python/ManimPango/Manifest
@@ -1 +1 @@
-DIST v0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886
+DIST .gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886

diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
index eff2a188a..551bc5b46 100644
--- a/dev-python/ManimPango/ManimPango-0.4.3.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
@@ -4,26 +4,23 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{9..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"
+SRC_URI="https://github.com/ManimCommunity/ManimPango/archive/refs/tags/v${PV}.tar.gz -> ${V}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
+KEYWORDS="~amd64"
 
-RDEPEND=""
-BDEPEND="
-	dev-python/cython
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	dev-python/wheel[${PYTHON_USEDEP}]
-	x11-libs/pango
-"
+BDEPEND="x11-libs/pango"
 DEPEND="${BDEPEND}"
 
-distutils_enable_tests pytest
+src_prepare() {
+	# The tests always fails (ManimPango has to be installed for them to work)
+	rm -rf "${S}/tests"
+	distutils-r1_src_prepare
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
  2023-08-12 16:33 [gentoo-commits] repo/proj/guru:dev " David Roman
@ 2023-08-12 16:33 ` David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2023-08-12 16:33 UTC (permalink / raw
  To: gentoo-commits

commit:     a8e1a4a4829527c71648d40da3bf97c5584c4725
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sat Aug 12 16:33:06 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug 12 16:33:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8e1a4a4

dev-python/ManimPango: update SRC_URI

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/ManimPango/Manifest                | 2 +-
 dev-python/ManimPango/ManimPango-0.4.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest
index 3c0f384b7c..428a2a048a 100644
--- a/dev-python/ManimPango/Manifest
+++ b/dev-python/ManimPango/Manifest
@@ -1 +1 @@
-DIST .gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886
+DIST ManimPango-0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886

diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
index 6aae4faa19..44a338cc34 100644
--- a/dev-python/ManimPango/ManimPango-0.4.3.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
@@ -10,7 +10,7 @@ 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}.gh.tar.gz"
+SRC_URI="https://github.com/ManimCommunity/ManimPango/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
@ 2023-09-04 11:04 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2023-09-04 11:04 UTC (permalink / raw
  To: gentoo-commits

commit:     7c7dcad328c74456fcbbeb50254c36a1ef7a441d
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Sep  2 21:30:26 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Sep  3 23:00:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c7dcad3

dev-python/ManimPango: enable py3.12

Closes: https://bugs.gentoo.org/912214
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/ManimPango/ManimPango-0.4.3.ebuild | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
index 44a338cc34..5ca9c759a0 100644
--- a/dev-python/ManimPango/ManimPango-0.4.3.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
@@ -3,8 +3,9 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
@@ -15,8 +16,15 @@ SRC_URI="https://github.com/ManimCommunity/ManimPango/archive/refs/tags/v${PV}.t
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="debug"
 
-BDEPEND="x11-libs/pango"
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	x11-libs/pango
+"
+# 	doc? (
+# 		dev-python/sphinxext-opengraph[${PYTHON_USEDEP}]
+# 	)
 DEPEND="${BDEPEND}"
 
 src_prepare() {
@@ -24,3 +32,5 @@ src_prepare() {
 	rm -rf "${S}/tests"
 	distutils-r1_src_prepare
 }
+
+# distutils_enable_sphinx docs # We need a lot of other packages if we allow doc


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
@ 2023-12-11  6:50 Viorel Munteanu
  0 siblings, 0 replies; 7+ messages in thread
From: Viorel Munteanu @ 2023-12-11  6:50 UTC (permalink / raw
  To: gentoo-commits

commit:     9703c4acf93961313fbff4522ec505742a45de98
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Fri Dec  8 19:51:11 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Dec  8 19:51:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9703c4ac

dev-python/ManimPango: add 0.4.3

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/ManimPango/Manifest                |  1 +
 dev-python/ManimPango/ManimPango-0.4.3.ebuild | 36 +++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest
index 4230557cbe..f078e922c0 100644
--- a/dev-python/ManimPango/Manifest
+++ b/dev-python/ManimPango/Manifest
@@ -1 +1,2 @@
+DIST ManimPango-0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886
 DIST ManimPango-0.5.0.gh.tar.gz 4144029 BLAKE2B 0920111f9c52ccbce5bed86ddfdf6c52d2afa715694093703686f3ae6573b42813d0624a12d2a5db2f6b0fccf633882f4a8c57420ebc06e2c7549994a5261a5f SHA512 6dbcb02913eedc28f88dca4d6e57a5a470cce323b423b7cfb0d5e4042d7769f98713cb03690e269be1d08c80c74c78c7a7876ec81794e5cc1a3cd257585d3669

diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
new file mode 100644
index 0000000000..f217bdb8fa
--- /dev/null
+++ b/dev-python/ManimPango/ManimPango-0.4.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	x11-libs/pango
+"
+# 	doc? (
+# 		dev-python/sphinxext-opengraph[${PYTHON_USEDEP}]
+# 	)
+DEPEND="${BDEPEND}"
+
+src_prepare() {
+	# The tests always fails (ManimPango has to be installed for them to work)
+	rm -rf "${S}/tests"
+	distutils-r1_src_prepare
+}
+
+# distutils_enable_sphinx docs # We need a lot of other packages if we allow doc


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
@ 2024-04-11 21:19 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2024-04-11 21:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e09d0f7f8bac085002d4e1cad6c96d1b6d19a253
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Apr 11 18:00:22 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Thu Apr 11 18:01:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e09d0f7f

dev-python/ManimPango: add 0.4.4, drop 0.4.3

Update RDEPEND for the two ebuilds

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/ManimPango/Manifest                            |  2 +-
 .../{ManimPango-0.4.3.ebuild => ManimPango-0.4.4.ebuild}  | 15 +++++++++++----
 ...ManimPango-0.5.0.ebuild => ManimPango-0.5.0-r1.ebuild} | 13 +++++++++----
 3 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest
index f078e922c0..09b22ffe0c 100644
--- a/dev-python/ManimPango/Manifest
+++ b/dev-python/ManimPango/Manifest
@@ -1,2 +1,2 @@
-DIST ManimPango-0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886
+DIST ManimPango-0.4.4.gh.tar.gz 4144021 BLAKE2B 88f33b8d2585abbc1f118e1df6a76be68789da6d704302de311086a775c6ba1d9a58afe83ad9845d5bf4461df43790c3a49c962d299053d37608f8b695d0c524 SHA512 3d9261c2787677039096ec20b8c4f17249189dea984cbc51c570b2af7ddf8bd6abdc8fde4cf577a435a4a4cf3d4cd33a66f39ec6e545f446e2bffb8cd48d0f84
 DIST ManimPango-0.5.0.gh.tar.gz 4144029 BLAKE2B 0920111f9c52ccbce5bed86ddfdf6c52d2afa715694093703686f3ae6573b42813d0624a12d2a5db2f6b0fccf633882f4a8c57420ebc06e2c7549994a5261a5f SHA512 6dbcb02913eedc28f88dca4d6e57a5a470cce323b423b7cfb0d5e4042d7769f98713cb03690e269be1d08c80c74c78c7a7876ec81794e5cc1a3cd257585d3669

diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.4.ebuild
similarity index 77%
rename from dev-python/ManimPango/ManimPango-0.4.3.ebuild
rename to dev-python/ManimPango/ManimPango-0.4.4.ebuild
index f217bdb8fa..edf6a566fc 100644
--- a/dev-python/ManimPango/ManimPango-0.4.3.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,13 +18,20 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="debug"
 
+RDEPEND="
+	dev-libs/glib:2
+	media-libs/fontconfig
+	x11-libs/cairo
+	x11-libs/pango
+"
 BDEPEND="
 	dev-python/cython[${PYTHON_USEDEP}]
 	x11-libs/pango
 "
-# 	doc? (
-# 		dev-python/sphinxext-opengraph[${PYTHON_USEDEP}]
-# 	)
+	# doc? (
+	# 	dev-python/furo[${PYTHON_USEDEP}]
+	# 	dev-python/sphinxext-opengraph[${PYTHON_USEDEP}]
+	# )
 DEPEND="${BDEPEND}"
 
 src_prepare() {

diff --git a/dev-python/ManimPango/ManimPango-0.5.0.ebuild b/dev-python/ManimPango/ManimPango-0.5.0-r1.ebuild
similarity index 73%
rename from dev-python/ManimPango/ManimPango-0.5.0.ebuild
rename to dev-python/ManimPango/ManimPango-0.5.0-r1.ebuild
index e7292dd60b..ebaa05ca3b 100644
--- a/dev-python/ManimPango/ManimPango-0.5.0.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,6 +18,12 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="debug"
 
+RDEPEND="
+	dev-libs/glib:2
+	media-libs/fontconfig
+	x11-libs/cairo
+	x11-libs/pango
+"
 BDEPEND="
 	>=dev-python/cython-3.0.2[${PYTHON_USEDEP}]
 	x11-libs/pango
@@ -29,10 +35,9 @@ BDEPEND="
 DEPEND="${BDEPEND}"
 
 src_prepare() {
-	# The tests always fails. I cannot find how to solve it
+	# The tests always fails (ManimPango has to be installed for them to work)
 	rm -rf "${S}/tests"
 	distutils-r1_src_prepare
 }
 
-# Cannot build the docs, sphinx.ext.autosummary cannot find manimpango
-# distutils_enable_sphinx docs
+# distutils_enable_sphinx docs # We need a lot of other packages if we allow doc


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/
@ 2024-10-11  9:55 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-10-11  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     3971236b2799b76c682ff5642a868c04b50023eb
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Oct 10 16:01:33 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Oct 10 16:04:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3971236b

dev-python/ManimPango: allow doc, drop 0.5.0, add 0.6.0

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/ManimPango/Manifest                     |  2 +-
 dev-python/ManimPango/ManimPango-0.4.4.ebuild      | 28 ++++++++++++------
 ...ngo-0.5.0-r1.ebuild => ManimPango-0.6.0.ebuild} | 33 ++++++++++++++++------
 3 files changed, 44 insertions(+), 19 deletions(-)

diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest
index 09b22ffe0..0923454d2 100644
--- a/dev-python/ManimPango/Manifest
+++ b/dev-python/ManimPango/Manifest
@@ -1,2 +1,2 @@
 DIST ManimPango-0.4.4.gh.tar.gz 4144021 BLAKE2B 88f33b8d2585abbc1f118e1df6a76be68789da6d704302de311086a775c6ba1d9a58afe83ad9845d5bf4461df43790c3a49c962d299053d37608f8b695d0c524 SHA512 3d9261c2787677039096ec20b8c4f17249189dea984cbc51c570b2af7ddf8bd6abdc8fde4cf577a435a4a4cf3d4cd33a66f39ec6e545f446e2bffb8cd48d0f84
-DIST ManimPango-0.5.0.gh.tar.gz 4144029 BLAKE2B 0920111f9c52ccbce5bed86ddfdf6c52d2afa715694093703686f3ae6573b42813d0624a12d2a5db2f6b0fccf633882f4a8c57420ebc06e2c7549994a5261a5f SHA512 6dbcb02913eedc28f88dca4d6e57a5a470cce323b423b7cfb0d5e4042d7769f98713cb03690e269be1d08c80c74c78c7a7876ec81794e5cc1a3cd257585d3669
+DIST ManimPango-0.6.0.gh.tar.gz 4144189 BLAKE2B e56ef6b27d62e2a88d825fc3e8e26a32ef225a42db674cfe1502b8ec15fbd760fdb1839ab7d5bc6a0528b6e1eb6834c2471ade3f53d47027b26bc2dd56b194f3 SHA512 b25c8661cd12db99c7f54fb60797974ef015506abe8165a33738bcf80da1c79f0b3cdc0d243a9d4606fccb6e00dc7a4f5a6d463a4ad0367b5dc343e2d33f74f0

diff --git a/dev-python/ManimPango/ManimPango-0.4.4.ebuild b/dev-python/ManimPango/ManimPango-0.4.4.ebuild
index edf6a566f..27243533e 100644
--- a/dev-python/ManimPango/ManimPango-0.4.4.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.4.4.ebuild
@@ -3,11 +3,18 @@
 
 EAPI=8
 
+DOCS_BUILDER="sphinx"
+DOCS_DEPEND="
+	dev-python/furo
+	dev-python/sphinxext-opengraph
+"
+DOCS_DIR="docs"
+
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..12} pypy3 ) # Python 13 fails
 
-inherit distutils-r1
+inherit distutils-r1 docs
 
 DESCRIPTION="Binding for Pango, to use with Manim."
 HOMEPAGE="https://github.com/ManimCommunity/ManimPango https://pypi.org/project/manimpango"
@@ -17,6 +24,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="debug"
+RESTRICT="test"
 
 RDEPEND="
 	dev-libs/glib:2
@@ -28,16 +36,18 @@ BDEPEND="
 	dev-python/cython[${PYTHON_USEDEP}]
 	x11-libs/pango
 "
-	# doc? (
-	# 	dev-python/furo[${PYTHON_USEDEP}]
-	# 	dev-python/sphinxext-opengraph[${PYTHON_USEDEP}]
-	# )
 DEPEND="${BDEPEND}"
 
 src_prepare() {
-	# The tests always fails (ManimPango has to be installed for them to work)
-	rm -rf "${S}/tests"
+	# Half of the tests fails or are not run
+	use test && sed -i -e '/--cov/d' setup.cfg
 	distutils-r1_src_prepare
 }
 
-# distutils_enable_sphinx docs # We need a lot of other packages if we allow doc
+python_compile_all() {
+	# Need to remove this, otherwise docs_compile fails
+	rm -rf "${S}/manimpango" || die
+	docs_compile
+}
+
+distutils_enable_tests pytest

diff --git a/dev-python/ManimPango/ManimPango-0.5.0-r1.ebuild b/dev-python/ManimPango/ManimPango-0.6.0.ebuild
similarity index 53%
rename from dev-python/ManimPango/ManimPango-0.5.0-r1.ebuild
rename to dev-python/ManimPango/ManimPango-0.6.0.ebuild
index ebaa05ca3..cacfe982d 100644
--- a/dev-python/ManimPango/ManimPango-0.5.0-r1.ebuild
+++ b/dev-python/ManimPango/ManimPango-0.6.0.ebuild
@@ -3,11 +3,25 @@
 
 EAPI=8
 
+DOCS_BUILDER="sphinx"
+DOCS_DEPEND="
+	dev-python/furo
+	dev-python/matplotlib
+	dev-python/sphinxcontrib-applehelp
+	dev-python/sphinxcontrib-devhelp
+	dev-python/sphinxcontrib-htmlhelp
+	dev-python/sphinxcontrib-jsmath
+	dev-python/sphinxcontrib-qthelp
+	dev-python/sphinxcontrib-serializinghtml
+	dev-python/sphinxext-opengraph
+"
+DOCS_DIR="docs"
+
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 docs
 
 DESCRIPTION="Binding for Pango, to use with Manim."
 HOMEPAGE="https://github.com/ManimCommunity/ManimPango https://pypi.org/project/manimpango"
@@ -28,16 +42,17 @@ BDEPEND="
 	>=dev-python/cython-3.0.2[${PYTHON_USEDEP}]
 	x11-libs/pango
 "
-	# doc? (
-	# 	dev-python/furo[${PYTHON_USEDEP}]
-	# 	dev-python/sphinxext-opengraph[${PYTHON_USEDEP}]
-	# )
 DEPEND="${BDEPEND}"
 
 src_prepare() {
-	# The tests always fails (ManimPango has to be installed for them to work)
-	rm -rf "${S}/tests"
+	sed -i -e '/--cov/d' "${S}/setup.cfg"
 	distutils-r1_src_prepare
 }
 
-# distutils_enable_sphinx docs # We need a lot of other packages if we allow doc
+python_compile_all() {
+	# Need to remove this, otherwise docs_compile fails
+	rm -rf "${S}/manimpango" || die
+	docs_compile
+}
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-11  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-06  8:21 [gentoo-commits] repo/proj/guru:master commit in: dev-python/ManimPango/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2023-03-13  8:29 Viorel Munteanu
2023-08-12 16:33 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-08-12 16:33 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-09-04 11:04 Andrew Ammerlaan
2023-12-11  6:50 Viorel Munteanu
2024-04-11 21:19 Julien Roy
2024-10-11  9:55 David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox