From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/
Date: Sun, 23 May 2021 16:34:22 +0000 (UTC) [thread overview]
Message-ID: <1621787656.c595b712b14b98397c9bf159e0f232e682283f0f.mgorny@gentoo> (raw)
commit: c595b712b14b98397c9bf159e0f232e682283f0f
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Sun May 23 10:17:50 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 23 16:34:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c595b712
media-gfx/img2pdf: add 0.4.1, bump python 3.9
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-gfx/img2pdf/Manifest | 1 +
media-gfx/img2pdf/img2pdf-0.4.1.ebuild | 50 ++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/media-gfx/img2pdf/Manifest b/media-gfx/img2pdf/Manifest
index cd9d747f458..a3408876def 100644
--- a/media-gfx/img2pdf/Manifest
+++ b/media-gfx/img2pdf/Manifest
@@ -1,2 +1,3 @@
DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d
DIST img2pdf-0.4.0.tar.gz 107027 BLAKE2B 0bf13e2d4a5aff68779130bc14100a5c6d1ac4eaca9da28ceb50104550b6e4331f6a2202514bcdac0480c0148794d18e9f2dd46ded68bbaa301a207460f91c85 SHA512 bab9ee6ef5273a686cb10e52bdeb62b6df3c0da99d0f0558677e07dc7ad776c2d62829a2f5e9c5639acfb9fc6e9c5e3a81aed42dc288c2a39d245775f1d4391b
+DIST img2pdf-0.4.1.tar.gz 96699 BLAKE2B f5a41a3a3d1b1ae7caadab4f37df644ad28a3ef4bd7a56a339253f0aead4d2427f05373dcfd16b10d82a6167243b3b03906e9f95b7ae0dcdbea6a666905c45a2 SHA512 e71833250509d52b8782a8bc9e12a8de6ab7ae06d5e6e235c0b3787bfad1070b5ed90934b21e4decc9b2c7008eeb0424f9df27e44ec66259916d3a2fdb73d1f1
diff --git a/media-gfx/img2pdf/img2pdf-0.4.1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1.ebuild
new file mode 100644
index 00000000000..b4b9173611f
--- /dev/null
+++ b/media-gfx/img2pdf/img2pdf-0.4.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Losslessly convert raster images to PDF"
+HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui"
+
+# missing dev-python/pdfrw dependency and
+# require old version of imagemagick
+# waiting new version
+RESTRICT="test"
+
+#BDEPEND="test? (
+# dev-python/numpy[${PYTHON_USEDEP}]
+# dev-python/pdfrw[${PYTHON_USEDEP}]
+# dev-python/pikepdf[${PYTHON_USEDEP}]
+# dev-python/pytest[${PYTHON_USEDEP}]
+# dev-python/scipy[${PYTHON_USEDEP}]
+# <media-gfx/imagemagick-7.0.0[jpeg,jpeg2k,png,q8,q32,tiff]
+#)"
+RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ gui? ( $(python_gen_impl_dep tk) )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_python_prepare_all
+
+ # Remove gui executable if there's no demand/support for it.
+ if ! use gui; then
+ sed -i '/gui_scripts/d' setup.py || die
+ fi
+}
+
+python_test() {
+ epytest src/img2pdf_test.py
+}
next reply other threads:[~2021-05-23 16:34 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-23 16:34 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-11 15:24 [gentoo-commits] repo/gentoo:master commit in: media-gfx/img2pdf/ Arthur Zamarin
2024-06-04 5:41 Michał Górny
2024-06-04 5:41 Michał Górny
2024-06-03 18:09 Florian Schmaus
2023-04-29 11:55 Arthur Zamarin
2023-04-14 6:49 Joonas Niilola
2023-04-14 5:59 Joonas Niilola
2023-04-13 21:15 Florian Schmaus
2023-04-13 20:57 Florian Schmaus
2023-04-13 20:57 Florian Schmaus
2023-03-16 18:52 Michał Górny
2022-12-16 8:08 Andreas Sturmlechner
2022-11-20 19:37 Arthur Zamarin
2022-08-26 12:04 Sam James
2022-07-15 8:38 Joonas Niilola
2022-07-15 8:38 Joonas Niilola
2022-04-17 19:00 Sam James
2022-02-08 16:46 Andrey Grozin
2022-02-06 11:18 Jonas Stein
2021-08-22 16:44 Louis Sautier
2021-08-22 12:22 Louis Sautier
2021-08-22 11:04 Louis Sautier
2021-08-22 1:13 Louis Sautier
2021-08-22 1:13 Louis Sautier
2021-02-10 14:55 Sam James
2021-01-28 6:42 Joonas Niilola
2021-01-28 6:42 Joonas Niilola
2020-10-07 0:31 Sam James
2020-06-17 17:00 Joonas Niilola
2020-04-23 6:01 Michał Górny
2020-04-23 6:01 Michał Górny
2020-04-23 6:01 Michał Górny
2019-02-03 14:08 Andreas Sturmlechner
2019-02-03 14:08 Andreas Sturmlechner
2018-10-06 21:23 Michał Górny
2017-07-30 18:21 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621787656.c595b712b14b98397c9bf159e0f232e682283f0f.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox