public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/mat2/
Date: Mon, 30 May 2022 19:26:14 +0000 (UTC)	[thread overview]
Message-ID: <1653938756.901344f1f14c39c0e26f68b5796f3ded22a75dd3.cybertailor@gentoo> (raw)

commit:     901344f1f14c39c0e26f68b5796f3ded22a75dd3
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon May 30 19:25:24 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon May 30 19:25:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=901344f1

app-misc/mat2: enable py3.10

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-misc/mat2/Manifest           |  1 -
 app-misc/mat2/mat2-0.12.2.ebuild | 45 ----------------------------------------
 app-misc/mat2/mat2-0.12.4.ebuild | 34 ++++++++++++++----------------
 3 files changed, 16 insertions(+), 64 deletions(-)

diff --git a/app-misc/mat2/Manifest b/app-misc/mat2/Manifest
index 8cb8bafd5..9fb45e9e8 100644
--- a/app-misc/mat2/Manifest
+++ b/app-misc/mat2/Manifest
@@ -1,2 +1 @@
-DIST mat2-0.12.2.tar.gz 10463222 BLAKE2B 2c0285b3352b313a9cb11c28cbb0423acb4bb9d49ba1941bbfe772d8a4b4a44703d42ba99df5894a499bc920b233b79059438cc27e99bc8e02a5f83aaa01a452 SHA512 cdf13d58e48cd69c873e9324d4d4aa30f5b1e281e83751ed0e5c0f1d726b9f75f7da191d632dc8f2536db829cb23883a7c6b8613c7499b33cf6804d43f4d1e23
 DIST mat2-0.12.4.tar.gz 10464411 BLAKE2B 161d92dfea16c7ab5a09e9271b5cd4fbd64ddeaca18187395ff3ffb5671d5fc5d98c70d2a081c566148cbed7b6c9923ca87f732552d0172cb841030edbf70192 SHA512 20936c80d0fa31dae9ee14c3d853c0e63a87b2d3ad5838a17bdbbc3e7cb4cf73462c9a9573d2aeab6e4ab0d6c18ce24c63a80e1a7cd044724c8ecc639d13da80

diff --git a/app-misc/mat2/mat2-0.12.2.ebuild b/app-misc/mat2/mat2-0.12.2.ebuild
deleted file mode 100644
index 6321250df..000000000
--- a/app-misc/mat2/mat2-0.12.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=(python3_{8..9})
-PYTHON_REQ_USE="xml"
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
-HOMEPAGE="https://0xacab.org/jvoisin/mat2"
-SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+exif sandbox video"
-REQUIRED_USE="
-	${PYTHON_REQUIRED_USE}
-	test? ( exif video )
-"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	app-text/poppler[introspection]
-	dev-python/pycairo:0[${PYTHON_USEDEP}]
-	dev-python/pygobject:3[${PYTHON_USEDEP}]
-	gnome-base/librsvg:2[introspection]
-	media-libs/mutagen:0[${PYTHON_USEDEP}]
-	x11-libs/gdk-pixbuf:2[introspection]
-	exif? ( media-libs/exiftool:* )
-	sandbox? ( sys-apps/bubblewrap )
-	video? ( media-video/ffmpeg:* )
-"
-DEPEND="
-	${RDEPEND}
-	test? (
-		media-video/ffmpeg[mp3,vorbis]
-		x11-libs/gdk-pixbuf:2[jpeg,tiff]
-	)
-"
-
-distutils_enable_tests unittest

diff --git a/app-misc/mat2/mat2-0.12.4.ebuild b/app-misc/mat2/mat2-0.12.4.ebuild
index c2e881888..3e728eb43 100644
--- a/app-misc/mat2/mat2-0.12.4.ebuild
+++ b/app-misc/mat2/mat2-0.12.4.ebuild
@@ -3,43 +3,41 @@
 
 EAPI=8
 
-PYTHON_COMPAT=(python3_{8..9})
+PYTHON_COMPAT=(python3_{8..10})
 PYTHON_REQ_USE="xml"
-DISTUTILS_USE_SETUPTOOLS=bdepend
 
-inherit distutils-r1
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
 HOMEPAGE="https://0xacab.org/jvoisin/mat2"
-SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
+SRC_URI="https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz"
 
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+exif sandbox video"
-REQUIRED_USE="
-	${PYTHON_REQUIRED_USE}
-	test? ( exif video )
-"
 
 RDEPEND="
-	${PYTHON_DEPS}
-	app-text/poppler[introspection]
 	dev-python/pycairo:0[${PYTHON_USEDEP}]
 	dev-python/pygobject:3[${PYTHON_USEDEP}]
-	gnome-base/librsvg:2[introspection]
 	media-libs/mutagen:0[${PYTHON_USEDEP}]
-	x11-libs/gdk-pixbuf:2[introspection]
-	exif? ( media-libs/exiftool:* )
-	sandbox? ( sys-apps/bubblewrap )
-	video? ( media-video/ffmpeg:* )
 "
-DEPEND="
-	${RDEPEND}
+BDEPEND="
 	test? (
+		media-libs/exiftool:*
 		media-video/ffmpeg[mp3,vorbis]
 		x11-libs/gdk-pixbuf:2[jpeg,tiff]
 	)
 "
 
+DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
+
 distutils_enable_tests unittest
+
+pkg_postinst() {
+	optfeature "PDF support" "app-text/poppler[introspection]"
+	optfeature "SVG support" "gnome-base/librsvg:2[introspection]"
+	optfeature "image support" "x11-libs/gdk-pixbuf:2[introspection]"
+	optfeature "misc file format support" media-libs/exiftool
+	optfeature "sandboxing" sys-apps/bubblewrap
+	optfeature "video support" media-video/ffmpeg
+}


             reply	other threads:[~2022-05-30 19:26 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30 19:26 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-29 17:24 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/mat2/ Anna Vyalkova
2024-09-07 12:55 Takuya Wakazono
2024-05-15  0:45 Julien Roy
2023-12-30 13:02 Anna Vyalkova
2023-02-23 22:31 Anna Vyalkova
2023-01-13 15:19 Anna Vyalkova
2023-01-10  8:39 Haelwenn Monnier
2022-11-16 15:09 Anna Vyalkova
2022-11-04 19:43 Anna Vyalkova
2022-10-29 17:21 Anna Vyalkova
2022-07-07  7:25 Haelwenn Monnier
2022-07-07  0:41 Anna Vyalkova
2022-05-30 21:02 Anna Vyalkova
2022-05-07  8:50 Haelwenn Monnier
2021-08-31 13:52 Haelwenn Monnier
2021-08-14  3:02 Anna Vyalkova
2021-05-02  4:38 Anna Vyalkova
2020-12-21  9:27 Theo Anderson
2020-03-30 22:16 Haelwenn Monnier
2020-03-30 22:16 Haelwenn Monnier
2020-03-02 21:50 Andrew Ammerlaan
2019-12-01 10:53 Haelwenn Monnier
2019-12-01 10:53 Haelwenn Monnier
2019-05-20 15:02 Haelwenn Monnier

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=1653938756.901344f1f14c39c0e26f68b5796f3ded22a75dd3.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --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