1 |
commit: 901344f1f14c39c0e26f68b5796f3ded22a75dd3 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon May 30 19:25:24 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Mon May 30 19:25:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=901344f1 |
7 |
|
8 |
app-misc/mat2: enable py3.10 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
app-misc/mat2/Manifest | 1 - |
13 |
app-misc/mat2/mat2-0.12.2.ebuild | 45 ---------------------------------------- |
14 |
app-misc/mat2/mat2-0.12.4.ebuild | 34 ++++++++++++++---------------- |
15 |
3 files changed, 16 insertions(+), 64 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/mat2/Manifest b/app-misc/mat2/Manifest |
18 |
index 8cb8bafd5..9fb45e9e8 100644 |
19 |
--- a/app-misc/mat2/Manifest |
20 |
+++ b/app-misc/mat2/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST mat2-0.12.2.tar.gz 10463222 BLAKE2B 2c0285b3352b313a9cb11c28cbb0423acb4bb9d49ba1941bbfe772d8a4b4a44703d42ba99df5894a499bc920b233b79059438cc27e99bc8e02a5f83aaa01a452 SHA512 cdf13d58e48cd69c873e9324d4d4aa30f5b1e281e83751ed0e5c0f1d726b9f75f7da191d632dc8f2536db829cb23883a7c6b8613c7499b33cf6804d43f4d1e23 |
23 |
DIST mat2-0.12.4.tar.gz 10464411 BLAKE2B 161d92dfea16c7ab5a09e9271b5cd4fbd64ddeaca18187395ff3ffb5671d5fc5d98c70d2a081c566148cbed7b6c9923ca87f732552d0172cb841030edbf70192 SHA512 20936c80d0fa31dae9ee14c3d853c0e63a87b2d3ad5838a17bdbbc3e7cb4cf73462c9a9573d2aeab6e4ab0d6c18ce24c63a80e1a7cd044724c8ecc639d13da80 |
24 |
|
25 |
diff --git a/app-misc/mat2/mat2-0.12.2.ebuild b/app-misc/mat2/mat2-0.12.2.ebuild |
26 |
deleted file mode 100644 |
27 |
index 6321250df..000000000 |
28 |
--- a/app-misc/mat2/mat2-0.12.2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,45 +0,0 @@ |
31 |
-# Copyright 2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-PYTHON_COMPAT=(python3_{8..9}) |
37 |
-PYTHON_REQ_USE="xml" |
38 |
-DISTUTILS_USE_SETUPTOOLS=bdepend |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata" |
43 |
-HOMEPAGE="https://0xacab.org/jvoisin/mat2" |
44 |
-SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-3" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64" |
49 |
-IUSE="+exif sandbox video" |
50 |
-REQUIRED_USE=" |
51 |
- ${PYTHON_REQUIRED_USE} |
52 |
- test? ( exif video ) |
53 |
-" |
54 |
- |
55 |
-RDEPEND=" |
56 |
- ${PYTHON_DEPS} |
57 |
- app-text/poppler[introspection] |
58 |
- dev-python/pycairo:0[${PYTHON_USEDEP}] |
59 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
60 |
- gnome-base/librsvg:2[introspection] |
61 |
- media-libs/mutagen:0[${PYTHON_USEDEP}] |
62 |
- x11-libs/gdk-pixbuf:2[introspection] |
63 |
- exif? ( media-libs/exiftool:* ) |
64 |
- sandbox? ( sys-apps/bubblewrap ) |
65 |
- video? ( media-video/ffmpeg:* ) |
66 |
-" |
67 |
-DEPEND=" |
68 |
- ${RDEPEND} |
69 |
- test? ( |
70 |
- media-video/ffmpeg[mp3,vorbis] |
71 |
- x11-libs/gdk-pixbuf:2[jpeg,tiff] |
72 |
- ) |
73 |
-" |
74 |
- |
75 |
-distutils_enable_tests unittest |
76 |
|
77 |
diff --git a/app-misc/mat2/mat2-0.12.4.ebuild b/app-misc/mat2/mat2-0.12.4.ebuild |
78 |
index c2e881888..3e728eb43 100644 |
79 |
--- a/app-misc/mat2/mat2-0.12.4.ebuild |
80 |
+++ b/app-misc/mat2/mat2-0.12.4.ebuild |
81 |
@@ -3,43 +3,41 @@ |
82 |
|
83 |
EAPI=8 |
84 |
|
85 |
-PYTHON_COMPAT=(python3_{8..9}) |
86 |
+PYTHON_COMPAT=(python3_{8..10}) |
87 |
PYTHON_REQ_USE="xml" |
88 |
-DISTUTILS_USE_SETUPTOOLS=bdepend |
89 |
|
90 |
-inherit distutils-r1 |
91 |
+inherit distutils-r1 optfeature |
92 |
|
93 |
DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata" |
94 |
HOMEPAGE="https://0xacab.org/jvoisin/mat2" |
95 |
-SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz" |
96 |
+SRC_URI="https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz" |
97 |
|
98 |
LICENSE="LGPL-3" |
99 |
SLOT="0" |
100 |
KEYWORDS="~amd64" |
101 |
-IUSE="+exif sandbox video" |
102 |
-REQUIRED_USE=" |
103 |
- ${PYTHON_REQUIRED_USE} |
104 |
- test? ( exif video ) |
105 |
-" |
106 |
|
107 |
RDEPEND=" |
108 |
- ${PYTHON_DEPS} |
109 |
- app-text/poppler[introspection] |
110 |
dev-python/pycairo:0[${PYTHON_USEDEP}] |
111 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
112 |
- gnome-base/librsvg:2[introspection] |
113 |
media-libs/mutagen:0[${PYTHON_USEDEP}] |
114 |
- x11-libs/gdk-pixbuf:2[introspection] |
115 |
- exif? ( media-libs/exiftool:* ) |
116 |
- sandbox? ( sys-apps/bubblewrap ) |
117 |
- video? ( media-video/ffmpeg:* ) |
118 |
" |
119 |
-DEPEND=" |
120 |
- ${RDEPEND} |
121 |
+BDEPEND=" |
122 |
test? ( |
123 |
+ media-libs/exiftool:* |
124 |
media-video/ffmpeg[mp3,vorbis] |
125 |
x11-libs/gdk-pixbuf:2[jpeg,tiff] |
126 |
) |
127 |
" |
128 |
|
129 |
+DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md ) |
130 |
+ |
131 |
distutils_enable_tests unittest |
132 |
+ |
133 |
+pkg_postinst() { |
134 |
+ optfeature "PDF support" "app-text/poppler[introspection]" |
135 |
+ optfeature "SVG support" "gnome-base/librsvg:2[introspection]" |
136 |
+ optfeature "image support" "x11-libs/gdk-pixbuf:2[introspection]" |
137 |
+ optfeature "misc file format support" media-libs/exiftool |
138 |
+ optfeature "sandboxing" sys-apps/bubblewrap |
139 |
+ optfeature "video support" media-video/ffmpeg |
140 |
+} |