From: UsernameRandomlyGenerated <UsernameRandomlyGenerated@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen
Date: Sat, 30 Jan 2021 10:58:57 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28329@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]
There is a new pull request by UsernameRandomlyGenerated against master on the void-packages repository
https://github.com/UsernameRandomlyGenerated/void-packages mutagen
https://github.com/void-linux/void-packages/pull/28329
Mutagen: update to v1.45.1, remove python3-mutagen
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/28329.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mutagen-28329.patch --]
[-- Type: text/x-diff, Size: 3863 bytes --]
From c01604c7f256579d9da3b397a2e3889ad7d3dbd8 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 10:56:30 +0100
Subject: [PATCH 1/2] mutagen: update to 1.45.1, drop python2
Mutagen dropped Python2 support in v1.44.0.
---
srcpkgs/mutagen/template | 48 +++++++---------------------------------
1 file changed, 8 insertions(+), 40 deletions(-)
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..7fd1c61e8c2 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,49 +1,17 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
+version=1.45.1
+revision=1
+build_style=python3-module
pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+hostmakedepends="python3-devel python3-setuptools"
makedepends="$hostmakedepends"
-depends="python"
-short_desc="Python2 multimedia tagging library"
+depends="python3"
+checkdepends="python3-flake8 python3-hypothesis python3-pytest"
+short_desc="Python3 multimedia tagging library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/quodlibet/mutagen"
changelog="https://raw.githubusercontent.com/quodlibet/mutagen/master/NEWS"
distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3a982d39f1b800520a32afdebe3543f972e83a6ddd0c0198739a161ee705b588
-
-alternatives="
- mutagen:mid3cp:/usr/bin/mid3cp2
- mutagen:mid3iconv:/usr/bin/mid3iconv2
- mutagen:mid3v2:/usr/bin/python2-mid3v2
- mutagen:moggsplit:/usr/bin/moggsplit2
- mutagen:mutagen-inspect:/usr/bin/mutagen-inspect2
- mutagen:mutagen-pony:/usr/bin/mutagen-pony2"
-
-post_install() {
- # XXX: override the default naming scheme for mid3v2
- cp -a ${DESTDIR}/usr/bin/{,python3-}mid3v2
- mv ${DESTDIR}/usr/bin/{,python2-}mid3v2
-}
-
-python3-mutagen_package() {
- alternatives="
- mutagen:mid3cp:/usr/bin/mid3cp3
- mutagen:mid3iconv:/usr/bin/mid3iconv3
- mutagen:mid3v2:/usr/bin/python3-mid3v2
- mutagen:moggsplit:/usr/bin/moggsplit3
- mutagen:mutagen-inspect:/usr/bin/mutagen-inspect3
- mutagen:mutagen-pony:/usr/bin/mutagen-pony3"
- depends="python3"
- pycompile_module="mutagen"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/bin/*3
- vmove usr/bin/python3-*
- vmove usr/lib/python3*
- }
-}
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
From c90b39e4d04d38ac09826d9c69b99ff941c7e912 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 10:57:05 +0100
Subject: [PATCH 2/2] python3-mutagen: remove package.
Mutagen uses Python3 only since v1.44.0 so there's no need to split packages anymore.
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/removed-packages/template | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
delete mode 120000 srcpkgs/python3-mutagen
diff --git a/srcpkgs/python3-mutagen b/srcpkgs/python3-mutagen
deleted file mode 120000
index 7e10650b42d..00000000000
--- a/srcpkgs/python3-mutagen
+++ /dev/null
@@ -1 +0,0 @@
-mutagen
\ No newline at end of file
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 30b4ac8b2bd..f385a01d6a6 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1
-revision=16
+revision=17
build_style=meta
short_desc="Uninstalls packages removed from repository"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -167,6 +167,7 @@ replaces="
python-pyenet<=1.3.13.post7_2
python-pyside<=1.2.2_7
python-pytest-relaxed<=1.1.2_2
+ python3-mutagen<=1.43.0_3
qimageblitz<=0.0.6_4
r2-bindings<=1.0.1_2
reminiscence<=0.4.6_1
next reply other threads:[~2021-01-30 9:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-30 9:58 UsernameRandomlyGenerated [this message]
2021-01-30 10:09 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-01-30 10:38 ` Chocimier
2021-01-30 11:45 ` UsernameRandomlyGenerated
2021-01-30 12:08 ` [WIP] " Chocimier
2021-01-30 12:36 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-01-30 12:38 ` UsernameRandomlyGenerated
2021-01-30 13:28 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-01-30 13:32 ` mutagen: update to 1.43.1, split package UsernameRandomlyGenerated
2021-01-30 13:34 ` UsernameRandomlyGenerated
2021-01-30 13:50 ` Chocimier
2021-01-30 14:17 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-01-30 14:19 ` UsernameRandomlyGenerated
2021-02-15 3:16 ` ericonr
2021-02-15 17:40 ` Chocimier
2021-03-08 17:23 ` UsernameRandomlyGenerated
2021-03-15 13:54 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-03-15 13:57 ` UsernameRandomlyGenerated
2021-03-17 22:13 ` Chocimier
2021-03-20 12:13 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-03-20 20:43 ` Chocimier
2021-03-20 20:43 ` [PR PATCH] [Merged]: " Chocimier
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28329@inbox.vuxu.org \
--to=usernamerandomlygenerated@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).