[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 24af58bc847655ae61e309692ca687d504130737 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Nov 29 18:38:41 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Nov 29 18:38:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24af58bc app-text/pdfminer: Stabilize 20221105 amd64, #918866 Signed-off-by: Arthur Zamarin gentoo.org> app-text/pdfminer/pdfminer-20221105.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/pdfminer/pdfminer-20221105.ebuild b/app-text/pdfminer/pdfminer-20221105.ebuild index 193cd2507e06..b02a4d3e19e6 100644 --- a/app-text/pdfminer/pdfminer-20221105.ebuild +++ b/app-text/pdfminer/pdfminer-20221105.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="doc examples" RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 58f81bd9cc50397b961dbf2ca380a335c0fc28ca Author: Michał Górny gentoo org> AuthorDate: Wed Nov 29 17:59:30 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Nov 29 17:59:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f81bd9 app-text/pdfminer: Stabilize 20221105 x86, #918866 Signed-off-by: Michał Górny gentoo.org> app-text/pdfminer/pdfminer-20221105.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/pdfminer/pdfminer-20221105.ebuild b/app-text/pdfminer/pdfminer-20221105.ebuild index fa3139418efc..193cd2507e06 100644 --- a/app-text/pdfminer/pdfminer-20221105.ebuild +++ b/app-text/pdfminer/pdfminer-20221105.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="doc examples" RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: c6dd38afb3233ac6c69b91a078b3dbdbe3c94606 Author: Chris Mayo gmail com> AuthorDate: Tue Nov 7 19:27:12 2023 + Commit: Sam James gentoo org> CommitDate: Wed Nov 22 17:29:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6dd38af app-text/pdfminer: remove python_compile_all() The path to the documentation subdirectory is passed to distutils_enable_sphinx, use that. Signed-off-by: Chris Mayo gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33716 Signed-off-by: Sam James gentoo.org> app-text/pdfminer/pdfminer-20221105.ebuild | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/app-text/pdfminer/pdfminer-20221105.ebuild b/app-text/pdfminer/pdfminer-20221105.ebuild index fd7b84ae99af..fa3139418efc 100644 --- a/app-text/pdfminer/pdfminer-20221105.ebuild +++ b/app-text/pdfminer/pdfminer-20221105.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 MY_P="${PN}.six-${PV}" @@ -22,7 +22,7 @@ IUSE="doc examples" RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}] >=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]" -distutils_enable_sphinx docs "dev-python/sphinx-argparse" +distutils_enable_sphinx docs/source "dev-python/sphinx-argparse" distutils_enable_tests pytest python_prepare_all() { @@ -30,14 +30,6 @@ python_prepare_all() { distutils-r1_python_prepare_all } -python_compile_all() { - # Non-standard doc generation - if use doc; then - PYTHONPATH="${PYTHONPATH}:${BUILD_DIR}/install" sphinx-build docs/source "${WORKDIR}"/_docs - HTML_DOCS=( "${WORKDIR}"/_docs/. ) - fi -} - python_install_all() { use examples && dodoc -r samples distutils-r1_python_install_all
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 277bf06c2509d3ba92b1ebb1ed3d9a5e23c4f527 Author: Azamat H. Hackimov gmail com> AuthorDate: Mon Sep 11 09:59:24 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Sep 11 12:19:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277bf06c app-text/pdfminer: add 20221105 Fix doc and example installation, fix version generation. Add python3_12, minor fixes to ebuild. Closes: https://bugs.gentoo.org/848990 Co-authored-by: Fabio Rossi inwind.it> Signed-off-by: Azamat H. Hackimov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32720 Signed-off-by: Florian Schmaus gentoo.org> app-text/pdfminer/Manifest | 1 + app-text/pdfminer/pdfminer-20221105.ebuild | 44 ++ 2 files changed, 45 insertions(+) diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest index f2fcd4c6ce1f..bc4be7f0c4ab 100644 --- a/app-text/pdfminer/Manifest +++ b/app-text/pdfminer/Manifest @@ -1 +1,2 @@ DIST pdfminer-20220506.tar.gz 10853104 BLAKE2B b6008db789973fb69537801b8e928761bd0a949cc72ddf380fd71b6373913f6a689b71bee159e6991e99c196b7e8a1fac5530d2bf9c577e53b8b556bed00b85a SHA512 b81916c70f22f3408cf41a50d35937f950ee6205f59fa03603bc7a78d1b1b037311ebaf5661f6d46b9d4190f2f56189fc28b714463dc5854328c14f97fbc28c4 +DIST pdfminer.six-20221105.gh.tar.gz 10857730 BLAKE2B dd9282bfc3c636676f087e6ffc2cfb137f66eee18427f08de488c7bdc13bd27b6cc674d3b75c93d158272ee4111e3347664a70152bd4b2f7e4e63664d01b SHA512 72034a75005c91100274f86baa4c8884caad86aacf94ca9d0d5a51d8b3c772aa0bcd766416bed9e26df00bd9a2be585649eaa24321735f532e40a3871e19c6df diff --git a/app-text/pdfminer/pdfminer-20221105.ebuild b/app-text/pdfminer/pdfminer-20221105.ebuild new file mode 100644 index ..fd7b84ae99af --- /dev/null +++ b/app-text/pdfminer/pdfminer-20221105.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) +inherit distutils-r1 + +MY_P="${PN}.six-${PV}" +DESCRIPTION="Python tool for extracting information from PDF documents" +HOMEPAGE="https://pdfminersix.readthedocs.io/en/latest/; +# Release tarballs lack tests +SRC_URI="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs "dev-python/sphinx-argparse" +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s:__VERSION__:${PV}:g" pdfminer/__init__.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + # Non-standard doc generation + if use doc; then + PYTHONPATH="${PYTHONPATH}:${BUILD_DIR}/install" sphinx-build docs/source "${WORKDIR}"/_docs + HTML_DOCS=( "${WORKDIR}"/_docs/. ) + fi +} + +python_install_all() { + use examples && dodoc -r samples + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/, dev-python/charset-normalizer/, profiles/updates/, ...
commit: 9ed82c58be0ca27cf06dd247534737b788433b3e Author: Michał Górny gentoo org> AuthorDate: Sat Jul 8 05:58:14 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 8 06:05:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed82c58 Rename dev-python/{charset_normalizer → charset-normalizer} Signed-off-by: Michał Górny gentoo.org> app-text/pdfminer/pdfminer-20220506.ebuild| 2 +- dev-python/aiohttp/aiohttp-3.8.4.ebuild | 4 ++-- dev-python/{charset_normalizer => charset-normalizer}/Manifest| 0 .../charset-normalizer-3.1.0.ebuild} | 0 dev-python/{charset_normalizer => charset-normalizer}/metadata.xml| 0 dev-python/numpy/numpy-1.24.2.ebuild | 2 +- dev-python/numpy/numpy-1.24.3-r1.ebuild | 2 +- dev-python/numpy/numpy-1.24.3.ebuild | 2 +- dev-python/numpy/numpy-1.24.4.ebuild | 2 +- dev-python/numpy/numpy-1.25.0-r2.ebuild | 2 +- dev-python/requests/requests-2.31.0.ebuild| 2 +- net-misc/httpie/httpie-3.2.1-r1.ebuild| 2 +- net-misc/httpie/httpie-3.2.1-r2.ebuild| 2 +- profiles/updates/3Q-2023 | 1 + 14 files changed, 12 insertions(+), 11 deletions(-) diff --git a/app-text/pdfminer/pdfminer-20220506.ebuild b/app-text/pdfminer/pdfminer-20220506.ebuild index ae8be33cd0b0..cbc3e5638e44 100644 --- a/app-text/pdfminer/pdfminer-20220506.ebuild +++ b/app-text/pdfminer/pdfminer-20220506.ebuild @@ -20,7 +20,7 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="doc examples" -RDEPEND=">=dev-python/charset_normalizer-2.0.0[${PYTHON_USEDEP}] +RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}] >=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]" distutils_enable_tests pytest diff --git a/dev-python/aiohttp/aiohttp-3.8.4.ebuild b/dev-python/aiohttp/aiohttp-3.8.4.ebuild index 02b5963e073f..a353a8804169 100644 --- a/dev-python/aiohttp/aiohttp-3.8.4.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.4.ebuild @@ -25,8 +25,8 @@ RDEPEND=" >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] >=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - =dev-python/charset_normalizer-2.0[${PYTHON_USEDEP}] + =dev-python/charset-normalizer-2.0[${PYTHON_USEDEP}] >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] >=dev-python/yarl-1.0[${PYTHON_USEDEP}] diff --git a/dev-python/charset_normalizer/Manifest b/dev-python/charset-normalizer/Manifest similarity index 100% rename from dev-python/charset_normalizer/Manifest rename to dev-python/charset-normalizer/Manifest diff --git a/dev-python/charset_normalizer/charset_normalizer-3.1.0.ebuild b/dev-python/charset-normalizer/charset-normalizer-3.1.0.ebuild similarity index 100% rename from dev-python/charset_normalizer/charset_normalizer-3.1.0.ebuild rename to dev-python/charset-normalizer/charset-normalizer-3.1.0.ebuild diff --git a/dev-python/charset_normalizer/metadata.xml b/dev-python/charset-normalizer/metadata.xml similarity index 100% rename from dev-python/charset_normalizer/metadata.xml rename to dev-python/charset-normalizer/metadata.xml diff --git a/dev-python/numpy/numpy-1.24.2.ebuild b/dev-python/numpy/numpy-1.24.2.ebuild index 14cfd78947d0..787da4ab6555 100644 --- a/dev-python/numpy/numpy-1.24.2.ebuild +++ b/dev-python/numpy/numpy-1.24.2.ebuild @@ -39,7 +39,7 @@ BDEPEND=" $(python_gen_cond_dep ' >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] ' 'python*') - dev-python/charset_normalizer[${PYTHON_USEDEP}] + dev-python/charset-normalizer[${PYTHON_USEDEP}] >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] ) diff --git a/dev-python/numpy/numpy-1.24.3-r1.ebuild b/dev-python/numpy/numpy-1.24.3-r1.ebuild index 636e9516ef82..50f9ea27a06d 100644 --- a/dev-python/numpy/numpy-1.24.3-r1.ebuild +++ b/dev-python/numpy/numpy-1.24.3-r1.ebuild @@ -42,7 +42,7 @@ BDEPEND=" $(python_gen_cond_dep ' >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] ' 'python*') - dev-python/charset_normalizer[${PYTHON_USEDEP}] + dev-python/charset-normalizer[${PYTHON_USEDEP}] >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/numpy-1.24.3.ebuild b/dev-python/numpy/numpy-1.24.3.ebuild index
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: ab16b355e4d5494406992ced239c43201603e623 Author: Michał Górny gentoo org> AuthorDate: Mon May 1 12:35:29 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon May 1 12:39:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab16b355 app-text/pdfminer: Remove old Signed-off-by: Michał Górny gentoo.org> app-text/pdfminer/Manifest | 1 - app-text/pdfminer/pdfminer-20191020.ebuild | 32 -- 2 files changed, 33 deletions(-) diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest index 1429103931c6..f2fcd4c6ce1f 100644 --- a/app-text/pdfminer/Manifest +++ b/app-text/pdfminer/Manifest @@ -1,2 +1 @@ -DIST pdfminer-20191020.tar.gz 4168016 BLAKE2B 53658853f1c6948a3249b56769c4d9e28cfe8e977b8702c3802f2c3d64f5c9f1d228024a3cbc9a5f288f60c991b2738a7aa131021bdb47c1492c83f9682abb15 SHA512 6ba663440f0ac370742f3a300a55d5f810202d960253931dfdb109a30ce3f71cf3e3dd30af9d0f6257365972452813b4ebc2dbee8031e988b7efb9dac15075d4 DIST pdfminer-20220506.tar.gz 10853104 BLAKE2B b6008db789973fb69537801b8e928761bd0a949cc72ddf380fd71b6373913f6a689b71bee159e6991e99c196b7e8a1fac5530d2bf9c577e53b8b556bed00b85a SHA512 b81916c70f22f3408cf41a50d35937f950ee6205f59fa03603bc7a78d1b1b037311ebaf5661f6d46b9d4190f2f56189fc28b714463dc5854328c14f97fbc28c4 diff --git a/app-text/pdfminer/pdfminer-20191020.ebuild b/app-text/pdfminer/pdfminer-20191020.ebuild deleted file mode 100644 index 1bd32b345c0f.. --- a/app-text/pdfminer/pdfminer-20191020.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_9 ) -inherit distutils-r1 - -DESCRIPTION="Python tool for extracting information from PDF documents" -HOMEPAGE="https://euske.github.io/pdfminer/ https://pypi.org/project/pdfminer/; -SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples" - -RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]" - -python_compile_all() { - use examples && emake -C samples all -} - -python_test() { - emake test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - use examples && dodoc -r samples - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: f1cb97e9afed3101f46d2d235ae663035472b558 Author: Jakov Smolić gentoo org> AuthorDate: Mon Jun 6 06:28:03 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Jun 6 06:28:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1cb97e9 app-text/pdfminer: Stabilize 20220506 amd64, #849884 Signed-off-by: Jakov Smolić gentoo.org> app-text/pdfminer/pdfminer-20220506.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/pdfminer/pdfminer-20220506.ebuild b/app-text/pdfminer/pdfminer-20220506.ebuild index 9cfc5bbeef0d..f5ac8b47540a 100644 --- a/app-text/pdfminer/pdfminer-20220506.ebuild +++ b/app-text/pdfminer/pdfminer-20220506.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="doc examples" RDEPEND=">=dev-python/charset_normalizer-2.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: be617d0e19fbaf7250d2a21a530de498ff208d2f Author: Jakov Smolić gentoo org> AuthorDate: Mon Jun 6 06:27:37 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Jun 6 06:27:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be617d0e app-text/pdfminer: Stabilize 20220506 x86, #849884 Signed-off-by: Jakov Smolić gentoo.org> app-text/pdfminer/pdfminer-20220506.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/pdfminer/pdfminer-20220506.ebuild b/app-text/pdfminer/pdfminer-20220506.ebuild index 6be430cfc7ce..9cfc5bbeef0d 100644 --- a/app-text/pdfminer/pdfminer-20220506.ebuild +++ b/app-text/pdfminer/pdfminer-20220506.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="doc examples" RDEPEND=">=dev-python/charset_normalizer-2.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 8cbc6d1b3a876864c09be078d11e35cdeeef3bd2 Author: Sam James gentoo org> AuthorDate: Tue May 17 07:48:20 2022 + Commit: Sam James gentoo org> CommitDate: Tue May 17 07:49:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cbc6d1b app-text/pdfminer: add 20220506 New upstream. Bug: https://bugs.gentoo.org/840463 Signed-off-by: Sam James gentoo.org> app-text/pdfminer/Manifest | 1 + app-text/pdfminer/metadata.xml | 3 ++- app-text/pdfminer/pdfminer-20220506.ebuild | 42 ++ 3 files changed, 45 insertions(+), 1 deletion(-) diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest index f8c634b6d05a..1429103931c6 100644 --- a/app-text/pdfminer/Manifest +++ b/app-text/pdfminer/Manifest @@ -1 +1,2 @@ DIST pdfminer-20191020.tar.gz 4168016 BLAKE2B 53658853f1c6948a3249b56769c4d9e28cfe8e977b8702c3802f2c3d64f5c9f1d228024a3cbc9a5f288f60c991b2738a7aa131021bdb47c1492c83f9682abb15 SHA512 6ba663440f0ac370742f3a300a55d5f810202d960253931dfdb109a30ce3f71cf3e3dd30af9d0f6257365972452813b4ebc2dbee8031e988b7efb9dac15075d4 +DIST pdfminer-20220506.tar.gz 10853104 BLAKE2B b6008db789973fb69537801b8e928761bd0a949cc72ddf380fd71b6373913f6a689b71bee159e6991e99c196b7e8a1fac5530d2bf9c577e53b8b556bed00b85a SHA512 b81916c70f22f3408cf41a50d35937f950ee6205f59fa03603bc7a78d1b1b037311ebaf5661f6d46b9d4190f2f56189fc28b714463dc5854328c14f97fbc28c4 diff --git a/app-text/pdfminer/metadata.xml b/app-text/pdfminer/metadata.xml index be0a94d38c11..4246c8804ba1 100644 --- a/app-text/pdfminer/metadata.xml +++ b/app-text/pdfminer/metadata.xml @@ -3,6 +3,7 @@ - pdfminer + pdfminer/pdfminer.six + pdfminer.six diff --git a/app-text/pdfminer/pdfminer-20220506.ebuild b/app-text/pdfminer/pdfminer-20220506.ebuild new file mode 100644 index ..6be430cfc7ce --- /dev/null +++ b/app-text/pdfminer/pdfminer-20220506.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +MY_P="${PN}.six-${PV}" +DESCRIPTION="Python tool for extracting information from PDF documents" +HOMEPAGE="https://pdfminersix.readthedocs.io/en/latest/; +# Release tarballs lack tests +#SRC_URI="https://github.com/pdfminer/pdfminer.six/releases/download/${PV}/${MY_P}.tar.gz; +SRC_URI="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND=">=dev-python/charset_normalizer-2.0.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s:package.__version__:${PV}:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use examples && emake -C samples all +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + use examples && dodoc -r samples + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: dc827d90d6259b3c925844812e0a54ca79dcdb91 Author: Jakov Smolic sartura hr> AuthorDate: Mon Feb 22 19:42:13 2021 + Commit: Sam James gentoo org> CommitDate: Mon Feb 22 22:19:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc827d90 app-text/pdfminer: Port to python 3.{8,9} Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Sam James gentoo.org> app-text/pdfminer/pdfminer-20191020.ebuild | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app-text/pdfminer/pdfminer-20191020.ebuild b/app-text/pdfminer/pdfminer-20191020.ebuild index 9f77fd732f3..7e7b3e5ce07 100644 --- a/app-text/pdfminer/pdfminer-20191020.ebuild +++ b/app-text/pdfminer/pdfminer-20191020.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_7 ) - +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 DESCRIPTION="Python tool for extracting information from PDF documents" @@ -14,10 +13,8 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" +IUSE="doc examples" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]" python_compile_all() {
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 55d7aff0b6bad5c6b8457b227276bc077d370a59 Author: Michał Górny gentoo org> AuthorDate: Sat Sep 19 07:48:43 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Sep 19 08:04:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d7aff0 app-text/pdfminer: Remove old Signed-off-by: Michał Górny gentoo.org> app-text/pdfminer/Manifest| 1 - app-text/pdfminer/pdfminer-20140328-r1.ebuild | 36 --- app-text/pdfminer/pdfminer-20140328.ebuild| 31 --- 3 files changed, 68 deletions(-) diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest index 34b19b98610..f8c634b6d05 100644 --- a/app-text/pdfminer/Manifest +++ b/app-text/pdfminer/Manifest @@ -1,2 +1 @@ -DIST pdfminer-20140328.tar.gz 4081233 BLAKE2B 60e8c8409269c158feda0f02b1dbf46d4bcd58e2f0a2ef0102e3c3c691d599eda9164b8e5dde4278522d9cfcca4e6962b31919b08f66053fb986ad3ded7da498 SHA512 8abb2328f7824ee980df0ce42d758c15534e97379ea9213b4aa1d29864d24d73c9e2d6020964e9ab734c0c6f7d1ae70bccbd6605168eaadf83923718a1f4849a DIST pdfminer-20191020.tar.gz 4168016 BLAKE2B 53658853f1c6948a3249b56769c4d9e28cfe8e977b8702c3802f2c3d64f5c9f1d228024a3cbc9a5f288f60c991b2738a7aa131021bdb47c1492c83f9682abb15 SHA512 6ba663440f0ac370742f3a300a55d5f810202d960253931dfdb109a30ce3f71cf3e3dd30af9d0f6257365972452813b4ebc2dbee8031e988b7efb9dac15075d4 diff --git a/app-text/pdfminer/pdfminer-20140328-r1.ebuild b/app-text/pdfminer/pdfminer-20140328-r1.ebuild deleted file mode 100644 index ea6d4f1215e..000 --- a/app-text/pdfminer/pdfminer-20140328-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Python tool for extracting information from PDF documents" -HOMEPAGE="http://www.unixuser.org/~euske/python/pdfminer/ https://pypi.org/project/pdfminer/; -SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -python_compile_all() { - use examples && emake -C samples all -} - -python_test() { - emake test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - if use examples; then - docinto examples - dodoc -r samples/. - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/app-text/pdfminer/pdfminer-20140328.ebuild b/app-text/pdfminer/pdfminer-20140328.ebuild deleted file mode 100644 index 8406215f478..000 --- a/app-text/pdfminer/pdfminer-20140328.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Python tool for extracting information from PDF documents" -HOMEPAGE="http://www.unixuser.org/~euske/python/pdfminer/ https://pypi.org/project/pdfminer/; -SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples" - -python_compile_all() { - use examples && emake -C samples all -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - if use examples; then - docinto examples - dodoc -r samples/. - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 68ff63e1b1c9575c57ebd424031fd6cd7bdc5de0 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Aug 5 13:51:43 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Aug 5 13:51:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ff63e1 app-text/pdfminer: amd64 stable wrt bug #735242 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> app-text/pdfminer/pdfminer-20191020.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/pdfminer/pdfminer-20191020.ebuild b/app-text/pdfminer/pdfminer-20191020.ebuild index 679252239b1..57a7cd243b2 100644 --- a/app-text/pdfminer/pdfminer-20191020.ebuild +++ b/app-text/pdfminer/pdfminer-20191020.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 18616e8d63a70eebc4d70de710f362d696d6b0c6 Author: Chris Mayo gmail com> AuthorDate: Fri Oct 25 18:24:46 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 28 06:09:00 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18616e8d app-text/pdfminer: version bump to 20191020, Python 3 only Bug: https://bugs.gentoo.org/623470 Package-Manager: Portage-2.3.77, Repoman-2.3.16 Signed-off-by: Chris Mayo gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13402 Signed-off-by: Joonas Niilola gentoo.org> app-text/pdfminer/Manifest | 1 + app-text/pdfminer/pdfminer-20191020.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest index b44ac28ba6e..34b19b98610 100644 --- a/app-text/pdfminer/Manifest +++ b/app-text/pdfminer/Manifest @@ -1 +1,2 @@ DIST pdfminer-20140328.tar.gz 4081233 BLAKE2B 60e8c8409269c158feda0f02b1dbf46d4bcd58e2f0a2ef0102e3c3c691d599eda9164b8e5dde4278522d9cfcca4e6962b31919b08f66053fb986ad3ded7da498 SHA512 8abb2328f7824ee980df0ce42d758c15534e97379ea9213b4aa1d29864d24d73c9e2d6020964e9ab734c0c6f7d1ae70bccbd6605168eaadf83923718a1f4849a +DIST pdfminer-20191020.tar.gz 4168016 BLAKE2B 53658853f1c6948a3249b56769c4d9e28cfe8e977b8702c3802f2c3d64f5c9f1d228024a3cbc9a5f288f60c991b2738a7aa131021bdb47c1492c83f9682abb15 SHA512 6ba663440f0ac370742f3a300a55d5f810202d960253931dfdb109a30ce3f71cf3e3dd30af9d0f6257365972452813b4ebc2dbee8031e988b7efb9dac15075d4 diff --git a/app-text/pdfminer/pdfminer-20191020.ebuild b/app-text/pdfminer/pdfminer-20191020.ebuild new file mode 100644 index 000..77050f5937c --- /dev/null +++ b/app-text/pdfminer/pdfminer-20191020.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python tool for extracting information from PDF documents" +HOMEPAGE="https://euske.github.io/pdfminer/ https://pypi.org/project/pdfminer/; +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]" + +python_compile_all() { + use examples && emake -C samples all +} + +python_test() { + emake test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + use examples && dodoc -r samples + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 417656f106afac5cd7578e3718fd471dda9f460d Author: Pacho Ramos gentoo org> AuthorDate: Sun Jan 27 10:32:38 2019 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jan 27 11:05:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417656f1 app-text/pdfminer: Drop old Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Pacho Ramos gentoo.org> app-text/pdfminer/Manifest | 1 - app-text/pdfminer/pdfminer-20131113.ebuild | 26 -- 2 files changed, 27 deletions(-) diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest index 72488a8d057..b44ac28ba6e 100644 --- a/app-text/pdfminer/Manifest +++ b/app-text/pdfminer/Manifest @@ -1,2 +1 @@ -DIST pdfminer-20131113.tar.gz 4080763 BLAKE2B 6cfe2c48f3294c6d491f47620fe0bd3b54daa5211c95b32db39c574485482254b7d6e61e461994706d364a8bfbcfa7776aa0a9dc2cd27fc26cf902ce794cac05 SHA512 be598f9ca5cb87fcde91190f72ee77209a6f8ca9db93588c914e6ec666b2a3cc69abedd92ca73a53e714c3660065b7f2c1e9c770e46c838f6d3d489dd637203e DIST pdfminer-20140328.tar.gz 4081233 BLAKE2B 60e8c8409269c158feda0f02b1dbf46d4bcd58e2f0a2ef0102e3c3c691d599eda9164b8e5dde4278522d9cfcca4e6962b31919b08f66053fb986ad3ded7da498 SHA512 8abb2328f7824ee980df0ce42d758c15534e97379ea9213b4aa1d29864d24d73c9e2d6020964e9ab734c0c6f7d1ae70bccbd6605168eaadf83923718a1f4849a diff --git a/app-text/pdfminer/pdfminer-20131113.ebuild b/app-text/pdfminer/pdfminer-20131113.ebuild deleted file mode 100644 index 737235045c3..000 --- a/app-text/pdfminer/pdfminer-20131113.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Python tool for extracting information from PDF documents" -HOMEPAGE="http://www.unixuser.org/~euske/python/pdfminer/ https://pypi.org/project/pdfminer/; -SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -python_compile_all(){ - use examples && emake -C samples all -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/. ) - use examples && local EXAMPLES=( samples/. ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 034e75f837efca7164eb36243413cd92c18e52ff Author: Michał Górny gentoo org> AuthorDate: Sat Oct 29 20:25:32 2016 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 29 21:16:54 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034e75f8 app-text/pdfminer: Remove Python team from maintainers app-text/pdfminer/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-text/pdfminer/metadata.xml b/app-text/pdfminer/metadata.xml index c57f834..c67c1ba 100644 --- a/app-text/pdfminer/metadata.xml +++ b/app-text/pdfminer/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - pyt...@gentoo.org - Python - + pdfminer
[gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
commit: 6b7cdc2cae8eecfffa10c1f501f415a3f469b27b Author: Patrice Clement gentoo org> AuthorDate: Sat Mar 5 23:10:35 2016 + Commit: Patrice Clement gentoo org> CommitDate: Sat Mar 5 23:11:33 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b7cdc2c app-text/pdfminer: Renable tests. Tests do not fail anymore so renable them and fix a bug whilst at it. Gentoo-Bug: https://bugs.gentoo.org/439788 Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement gentoo.org> app-text/pdfminer/pdfminer-20140328-r1.ebuild | 31 +++ 1 file changed, 31 insertions(+) diff --git a/app-text/pdfminer/pdfminer-20140328-r1.ebuild b/app-text/pdfminer/pdfminer-20140328-r1.ebuild new file mode 100644 index 000..9f0c142 --- /dev/null +++ b/app-text/pdfminer/pdfminer-20140328-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python tool for extracting information from PDF documents" +HOMEPAGE="http://www.unixuser.org/~euske/python/pdfminer/ https://pypi.python.org/pypi/pdfminer/; +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +python_compile_all(){ + use examples && emake -C samples all +} + +python_test() { + emake test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + use examples && local EXAMPLES=( samples/. ) + distutils-r1_python_install_all +}