[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2024-06-30 Thread Michał Górny
commit: a85815888d61c16b6478aa52692ac337ec3b49b5
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 17:23:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 17:24:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8581588

dev-python/pytesseract: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.12.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
index 882446828a79..81f9b8b28baf 100644
--- a/dev-python/pytesseract/pytesseract-0.3.12.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2024-06-03 Thread Louis Sautier
commit: 2f5af615fe27ccfd4c76a1d433ae9673dc73de6c
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Jun  3 20:58:08 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Mon Jun  3 21:09:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5af615

dev-python/pytesseract: keyword 0.3.12 for ~arm64

It is required to run the test suite of www-misc/urlwatch.

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.12.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
index 31afc8cd11de..882446828a79 100644
--- a/dev-python/pytesseract/pytesseract-0.3.12.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2024-03-14 Thread Sam James
commit: 74c57e9b08d2c59e6eb6a4ff0b1ce84ca849d8b2
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 15 01:48:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 15 01:48:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c57e9b

dev-python/pytesseract: Stabilize 0.3.12 x86, #926809

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.12.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
index e85a29eeb973..31afc8cd11de 100644
--- a/dev-python/pytesseract/pytesseract-0.3.12.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2024-03-14 Thread Sam James
commit: 2f35686b843e0c3ba836356f1996c4c3db4273b1
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 15 01:48:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 15 01:48:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f35686b

dev-python/pytesseract: Stabilize 0.3.12 amd64, #926809

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.12.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
index d9a773f6bf86..e85a29eeb973 100644
--- a/dev-python/pytesseract/pytesseract-0.3.12.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="
dev-python/pillow[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2023-12-30 Thread Michał Górny
commit: 115a0ae1d53829675ce47ce03710186cc23947e3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 30 18:31:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 30 18:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115a0ae1

dev-python/pytesseract: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytesseract/Manifest|  2 --
 .../pytesseract/pytesseract-0.3.10-r1.ebuild   | 31 --
 dev-python/pytesseract/pytesseract-0.3.11.ebuild   | 38 --
 3 files changed, 71 deletions(-)

diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest
index 759ac6c51592..f0828998a666 100644
--- a/dev-python/pytesseract/Manifest
+++ b/dev-python/pytesseract/Manifest
@@ -1,3 +1 @@
-DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B 
d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10
 SHA512 
de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16
-DIST pytesseract-0.3.11.gh.tar.gz 1098497 BLAKE2B 
adaefd8ec43fc464e7d031a5e95c686d6d8f1c0bb10782f2be075ce347d27b0d3b95d5bc1f3283a6692441ddcb5b87bcb3ee7d320eab51400d03d7717297841f
 SHA512 
0f3f8ac985689add9c134581a51ced75399e525797417294616489931deb5eda378ccd8a0ab875e449caa400ba8745b7494a1d610e9a572b5e1295fdc9a5ce0b
 DIST pytesseract-0.3.12.gh.tar.gz 1099117 BLAKE2B 
07fa50a552347a0f6be536933b98056c78d96e7317a9eb325faa5b4a1a2ef66bd2936ab17ca0abe2e56a0c1da75ca675f2a3c5260fc2882072d6535b78b519dc
 SHA512 
931fcd03a7682cbebc42b1452519ef05ef4c931a47a4364841e0fc5861c9dd9f90ffe38f3211ed3846788dc29eefbc9aba2bbf2af30fb3816abdfcaaa6757365

diff --git a/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
deleted file mode 100644
index 6360947cee37..
--- a/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-DESCRIPTION="Optical character recognition (OCR) tool"
-HOMEPAGE="https://github.com/madmaze/pytesseract;
-SRC_URI="https://github.com/madmaze/${PN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   app-text/tesseract"
-BDEPEND="
-   test? (
-   app-text/tesseract[jpeg,png,tiff,webp]
-   media-libs/leptonica[gif,jpeg2k]
-   app-text/tessdata_fast[l10n_fr]
-   dev-python/pillow[jpeg,zlib]
-   )
-"
-
-distutils_enable_tests pytest

diff --git a/dev-python/pytesseract/pytesseract-0.3.11.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.11.ebuild
deleted file mode 100644
index d9a773f6bf86..
--- a/dev-python/pytesseract/pytesseract-0.3.11.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="Optical character recognition (OCR) tool"
-HOMEPAGE="
-   https://github.com/madmaze/pytesseract/
-   https://pypi.org/project/pytesseract/
-"
-SRC_URI="
-   https://github.com/madmaze/pytesseract/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   dev-python/pillow[${PYTHON_USEDEP}]
-   app-text/tesseract
-"
-BDEPEND="
-   test? (
-   app-text/tesseract[jpeg,png,tiff,webp]
-   media-libs/leptonica[gif,jpeg2k]
-   app-text/tessdata_fast[l10n_fr]
-   dev-python/pillow[jpeg,zlib]
-   )
-"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2023-09-12 Thread Michał Górny
commit: 18f1249ab8d322e9f47ed27aa69efbf65abc89f1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 13 02:36:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 13 02:36:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f1249a

dev-python/pytesseract: Bump to 0.3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytesseract/Manifest  |  1 +
 dev-python/pytesseract/pytesseract-0.3.12.ebuild | 38 
 2 files changed, 39 insertions(+)

diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest
index 0e2172e29297..759ac6c51592 100644
--- a/dev-python/pytesseract/Manifest
+++ b/dev-python/pytesseract/Manifest
@@ -1,2 +1,3 @@
 DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B 
d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10
 SHA512 
de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16
 DIST pytesseract-0.3.11.gh.tar.gz 1098497 BLAKE2B 
adaefd8ec43fc464e7d031a5e95c686d6d8f1c0bb10782f2be075ce347d27b0d3b95d5bc1f3283a6692441ddcb5b87bcb3ee7d320eab51400d03d7717297841f
 SHA512 
0f3f8ac985689add9c134581a51ced75399e525797417294616489931deb5eda378ccd8a0ab875e449caa400ba8745b7494a1d610e9a572b5e1295fdc9a5ce0b
+DIST pytesseract-0.3.12.gh.tar.gz 1099117 BLAKE2B 
07fa50a552347a0f6be536933b98056c78d96e7317a9eb325faa5b4a1a2ef66bd2936ab17ca0abe2e56a0c1da75ca675f2a3c5260fc2882072d6535b78b519dc
 SHA512 
931fcd03a7682cbebc42b1452519ef05ef4c931a47a4364841e0fc5861c9dd9f90ffe38f3211ed3846788dc29eefbc9aba2bbf2af30fb3816abdfcaaa6757365

diff --git a/dev-python/pytesseract/pytesseract-0.3.12.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
new file mode 100644
index ..d9a773f6bf86
--- /dev/null
+++ b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Optical character recognition (OCR) tool"
+HOMEPAGE="
+   https://github.com/madmaze/pytesseract/
+   https://pypi.org/project/pytesseract/
+"
+SRC_URI="
+   https://github.com/madmaze/pytesseract/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/pillow[${PYTHON_USEDEP}]
+   app-text/tesseract
+"
+BDEPEND="
+   test? (
+   app-text/tesseract[jpeg,png,tiff,webp]
+   media-libs/leptonica[gif,jpeg2k]
+   app-text/tessdata_fast[l10n_fr]
+   dev-python/pillow[jpeg,zlib]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2023-08-25 Thread Michał Górny
commit: c20aac58e07cca25d6165a74aac3cc1a620f3c8a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 26 05:22:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 26 05:23:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20aac58

dev-python/pytesseract: Bump to 0.3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytesseract/Manifest  |  1 +
 dev-python/pytesseract/metadata.xml  |  1 +
 dev-python/pytesseract/pytesseract-0.3.11.ebuild | 38 
 3 files changed, 40 insertions(+)

diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest
index cac470d1e9e7..0e2172e29297 100644
--- a/dev-python/pytesseract/Manifest
+++ b/dev-python/pytesseract/Manifest
@@ -1 +1,2 @@
 DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B 
d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10
 SHA512 
de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16
+DIST pytesseract-0.3.11.gh.tar.gz 1098497 BLAKE2B 
adaefd8ec43fc464e7d031a5e95c686d6d8f1c0bb10782f2be075ce347d27b0d3b95d5bc1f3283a6692441ddcb5b87bcb3ee7d320eab51400d03d7717297841f
 SHA512 
0f3f8ac985689add9c134581a51ced75399e525797417294616489931deb5eda378ccd8a0ab875e449caa400ba8745b7494a1d610e9a572b5e1295fdc9a5ce0b

diff --git a/dev-python/pytesseract/metadata.xml 
b/dev-python/pytesseract/metadata.xml
index 2f762d632807..a59128537ce9 100644
--- a/dev-python/pytesseract/metadata.xml
+++ b/dev-python/pytesseract/metadata.xml
@@ -19,5 +19,6 @@


madmaze/pytesseract
+   pytesseract

 

diff --git a/dev-python/pytesseract/pytesseract-0.3.11.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.11.ebuild
new file mode 100644
index ..d9a773f6bf86
--- /dev/null
+++ b/dev-python/pytesseract/pytesseract-0.3.11.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Optical character recognition (OCR) tool"
+HOMEPAGE="
+   https://github.com/madmaze/pytesseract/
+   https://pypi.org/project/pytesseract/
+"
+SRC_URI="
+   https://github.com/madmaze/pytesseract/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/pillow[${PYTHON_USEDEP}]
+   app-text/tesseract
+"
+BDEPEND="
+   test? (
+   app-text/tesseract[jpeg,png,tiff,webp]
+   media-libs/leptonica[gif,jpeg2k]
+   app-text/tessdata_fast[l10n_fr]
+   dev-python/pillow[jpeg,zlib]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2023-04-12 Thread Louis Sautier
commit: d80dd32ae42ef591bb8b00fa6dafe10666b54ca9
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Apr 12 19:26:17 2023 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Apr 12 19:27:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d80dd32a

dev-python/pytesseract: keyword 0.3.10-r1 for ~x86

Test suite runs in an ~x86 chroot.

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
index b891f475f097..6360947cee37 100644
--- a/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/madmaze/${PN}/archive/refs/tags/v${PV}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 DEPEND=""
 RDEPEND="${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2023-02-22 Thread Alfredo Tupone
commit: a0a96c4ce61f25cfc4d4acfbfc074570a29e7462
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Feb 22 11:36:52 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Feb 22 11:37:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a96c4c

dev-python/pytesseract: add python 3.11 support

Signed-off-by: Alfredo Tupone  gentoo.org>

 .../{pytesseract-0.3.10.ebuild => pytesseract-0.3.10-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
similarity index 95%
rename from dev-python/pytesseract/pytesseract-0.3.10.ebuild
rename to dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
index 2b03fc11b4a8..b891f475f097 100644
--- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1
 
 DESCRIPTION="Optical character recognition (OCR) tool"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2022-05-06 Thread Alfredo Tupone
commit: b5940a222195a15216a328c67ea794b2797572fe
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri May  6 18:57:59 2022 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri May  6 18:57:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5940a22

dev-python/pytesseract: pillow is runtime required

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.10.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
index 7c903c4dc5bd..4fa1103fcf5a 100644
--- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Optical character recognition (OCR) tool"
@@ -17,13 +17,14 @@ KEYWORDS="~amd64"
 
 DEPEND=""
 RDEPEND="${DEPEND}
-   dev-python/pillow
+   dev-python/pillow[${PYTHON_USEDEP}]
app-text/tesseract"
 BDEPEND="
test? (
app-text/tesseract[jpeg,png,tiff,webp]
media-libs/leptonica[gif,jpeg2k]
app-text/tessdata_fast[l10n_fr]
+   dev-python/pillow[jpeg,zlib]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2022-05-06 Thread Alfredo Tupone
commit: 21cb5dd323c18e58d1f57fbf565365a2d66e0893
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri May  6 16:47:15 2022 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri May  6 16:47:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21cb5dd3

dev-python/pytesseract: pillow is required runtime

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
index b14b6b1539fe..7c903c4dc5bd 100644
--- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
@@ -17,13 +17,13 @@ KEYWORDS="~amd64"
 
 DEPEND=""
 RDEPEND="${DEPEND}
+   dev-python/pillow
app-text/tesseract"
 BDEPEND="
test? (
app-text/tesseract[jpeg,png,tiff,webp]
media-libs/leptonica[gif,jpeg2k]
app-text/tessdata_fast[l10n_fr]
-   dev-python/pillow
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2022-05-06 Thread Alfredo Tupone
commit: fefabb30c047b1ae5872b1ee63ce9c1b9d8dcca5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri May  6 13:18:14 2022 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri May  6 13:18:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefabb30

dev-python/pytesseract:  add pillow as test dep

Closes: https://bugs.gentoo.org/843005
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-python/pytesseract/pytesseract-0.3.10.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
index 02c5fb762226..b14b6b1539fe 100644
--- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild
+++ b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
@@ -23,6 +23,7 @@ BDEPEND="
app-text/tesseract[jpeg,png,tiff,webp]
media-libs/leptonica[gif,jpeg2k]
app-text/tessdata_fast[l10n_fr]
+   dev-python/pillow
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytesseract/

2022-05-06 Thread Alfredo Tupone
commit: 6f71c48cc3558348a0d930f39cce77c99a487584
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri May  6 10:25:28 2022 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri May  6 10:25:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f71c48c

dev-python/pytesseract: add pytesseract

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-python/pytesseract/Manifest  |  1 +
 dev-python/pytesseract/metadata.xml  | 23 +++
 dev-python/pytesseract/pytesseract-0.3.10.ebuild | 29 
 3 files changed, 53 insertions(+)

diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest
new file mode 100644
index ..cac470d1e9e7
--- /dev/null
+++ b/dev-python/pytesseract/Manifest
@@ -0,0 +1 @@
+DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B 
d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10
 SHA512 
de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16

diff --git a/dev-python/pytesseract/metadata.xml 
b/dev-python/pytesseract/metadata.xml
new file mode 100644
index ..2f762d632807
--- /dev/null
+++ b/dev-python/pytesseract/metadata.xml
@@ -0,0 +1,23 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   tup...@gentoo.org
+   Tupone Alfredo
+   
+   
+   Python-tesseract is an optical character recognition (OCR) tool 
for
+   python.
+   That is, it will recognize and "read" the text embedded in 
images.
+
+   Python-tesseract is a wrapper for Google's Tesseract-OCR Engine.
+   It is also useful as a stand-alone invocation script to 
tesseract, as
+   it can read all image types supported by the Pillow and 
Leptonica
+   imaging libraries, including jpeg, png, gif, bmp, tiff, and 
others.
+   Additionally, if used as a script, Python-tesseract will print 
the
+   recognized text instead of writing it to a file.
+   
+   
+   madmaze/pytesseract
+   
+

diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
new file mode 100644
index ..02c5fb762226
--- /dev/null
+++ b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="Optical character recognition (OCR) tool"
+HOMEPAGE="https://github.com/madmaze/pytesseract;
+SRC_URI="https://github.com/madmaze/${PN}/archive/refs/tags/v${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+   app-text/tesseract"
+BDEPEND="
+   test? (
+   app-text/tesseract[jpeg,png,tiff,webp]
+   media-libs/leptonica[gif,jpeg2k]
+   app-text/tessdata_fast[l10n_fr]
+   )
+"
+
+distutils_enable_tests pytest