1 |
commit: 6889753ccbc964be748f2f87dcfdb273dde1a09b |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 8 16:46:43 2022 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 8 16:46:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6889753c |
7 |
|
8 |
media-gfx/img2pdf: remove old ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
media-gfx/img2pdf/img2pdf-0.4.1.ebuild | 50 ---------------------------------- |
14 |
1 file changed, 50 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/img2pdf/img2pdf-0.4.1.ebuild b/media-gfx/img2pdf/img2pdf-0.4.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index b4b9173611f3..000000000000 |
19 |
--- a/media-gfx/img2pdf/img2pdf-0.4.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,50 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_{7..9} ) |
28 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
29 |
- |
30 |
-inherit distutils-r1 |
31 |
- |
32 |
-DESCRIPTION="Losslessly convert raster images to PDF" |
33 |
-HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf" |
34 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="LGPL-3+" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="gui" |
40 |
- |
41 |
-# missing dev-python/pdfrw dependency and |
42 |
-# require old version of imagemagick |
43 |
-# waiting new version |
44 |
-RESTRICT="test" |
45 |
- |
46 |
-#BDEPEND="test? ( |
47 |
-# dev-python/numpy[${PYTHON_USEDEP}] |
48 |
-# dev-python/pdfrw[${PYTHON_USEDEP}] |
49 |
-# dev-python/pikepdf[${PYTHON_USEDEP}] |
50 |
-# dev-python/pytest[${PYTHON_USEDEP}] |
51 |
-# dev-python/scipy[${PYTHON_USEDEP}] |
52 |
-# <media-gfx/imagemagick-7.0.0[jpeg,jpeg2k,png,q8,q32,tiff] |
53 |
-#)" |
54 |
-RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}] |
55 |
- dev-python/pillow[${PYTHON_USEDEP}] |
56 |
- gui? ( $(python_gen_impl_dep tk) )" |
57 |
- |
58 |
-distutils_enable_tests pytest |
59 |
- |
60 |
-src_prepare() { |
61 |
- distutils-r1_python_prepare_all |
62 |
- |
63 |
- # Remove gui executable if there's no demand/support for it. |
64 |
- if ! use gui; then |
65 |
- sed -i '/gui_scripts/d' setup.py || die |
66 |
- fi |
67 |
-} |
68 |
- |
69 |
-python_test() { |
70 |
- epytest src/img2pdf_test.py |
71 |
-} |