mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
app-misc/mat2: add 0.13.5
Closes: https://bugs.gentoo.org/890393 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
da3cd1c55d
commit
c43165f869
@ -1,2 +1,4 @@
|
||||
DIST mat2-0.13.4.tar.gz 11782937 BLAKE2B cab400479bbf312979e11f00bccf02e0e330455651dcdef239507c511b4101cb8b39af5f9dfdc1df9f1bcedc3dda3276c7cf598491c0ff0fc1f365f540fdb7a6 SHA512 75c08c9c52a82f9983e799c2aeef0da8324d1c92ac32fb748a68063ec7b28569692082aceacf7161d24db0e8a988357c423b6e17ca5c0f934309c9791c41ab18
|
||||
DIST mat2-0.13.4.tar.gz.asc 833 BLAKE2B 5e108396ca5d52c88e714b3f66f2e36fd900089be0820facdfed02ba44f879a02e4f510d9f28c53ac2d1a01e678f69062a72a6aca2508ceb844620d06ea4cd78 SHA512 380c7ef948aea2af1b0e4c56b69848f365db0967678dbf8881d1a33fd8050523c11b7648a676636ee68190cb640a37e41b60aa6f9f604e7cf1b6f0044fc54c98
|
||||
DIST mat2-0.13.5.tar.gz 11507328 BLAKE2B d8fd5007c65ac6eab4c493f5f71e9c5dbc56f4f89f04546ed861aed6142026cf3a013fcfe130dcf3879d45ffbe4144d51930cfc320d9f31479b3bee5fc5a103f SHA512 a700f5c136b20203b5173c685b49d589f75082a067b9a6059766dd3d78d7cf2988080c5e523e0d35e6aced79790e9a322c3b0d4a8364bb83af6ce2490acb6abb
|
||||
DIST mat2-0.13.5.tar.gz.asc 833 BLAKE2B f2127d19e0ed25331bce9d039598d568abf9a7aa08d02bca8aa0428bfe071093762f76141b8d36a4803d4967bd19b697395ac45c491b08aee99e3a9ef8a05803 SHA512 bfec8fc0788e3e0369d42ad033628fa5231122c8295045bfa230964413fb4255ed1e08ff57bd79b2571db844cfa84ef0f2895aca14df319700d6e1dc8aac0b47
|
||||
|
70
app-misc/mat2/mat2-0.13.5.ebuild
Normal file
70
app-misc/mat2/mat2-0.13.5.ebuild
Normal file
@ -0,0 +1,70 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 optfeature verify-sig
|
||||
|
||||
DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
|
||||
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
|
||||
SIG_UPLOAD_HASH="060efa77668fa7f6d9baeb8a327857af"
|
||||
SRC_URI="
|
||||
https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz
|
||||
verify-sig? ( https://0xacab.org/-/project/1139/uploads/${SIG_UPLOAD_HASH}/${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-text/poppler[introspection,cairo]
|
||||
dev-libs/glib:2
|
||||
dev-python/pycairo:0[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
gnome-base/librsvg[introspection]
|
||||
media-libs/mutagen:0[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[introspection,jpeg,tiff]
|
||||
"
|
||||
BDEPEND="
|
||||
verify-sig? ( >sec-keys/openpgp-keys-jvoisin-20200714 )
|
||||
test? (
|
||||
media-libs/exiftool:*
|
||||
media-video/ffmpeg[mp3,vorbis]
|
||||
)
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jvoisin.asc
|
||||
|
||||
DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/data_files/d' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if has_version -b sys-apps/bubblewrap; then
|
||||
# Double sandboxing is not possible
|
||||
has usersandbox ${FEATURES} && return 0
|
||||
fi
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman doc/mat2.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "misc file format support" media-libs/exiftool
|
||||
optfeature "sandboxing" sys-apps/bubblewrap
|
||||
optfeature "video support" media-video/ffmpeg
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user