* Re: [PR PATCH] [Updated] Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
@ 2021-01-30 10:09 ` UsernameRandomlyGenerated
2021-01-30 10:38 ` Chocimier
` (19 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 10:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]
There is an updated 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 886283f9bb34b81017ec08db72846e785010d1db 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 | 49 +++++++---------------------------------
1 file changed, 8 insertions(+), 41 deletions(-)
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..ff02ac4c4f1 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,49 +1,16 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+version=1.45.1
+revision=1
+build_style=python3-module
+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 5bd1f4ae666c3d95a111c72a666393fab721e414 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
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
2021-01-30 10:09 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
@ 2021-01-30 10:38 ` Chocimier
2021-01-30 11:45 ` UsernameRandomlyGenerated
` (18 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-01-30 10:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-770191563
Comment:
There are packages depending on both variants, we can't just drop it.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
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
` (17 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 11:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 518 bytes --]
New comment by UsernameRandomlyGenerated on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-770199786
Comment:
> There are packages depending on both variants, we can't just drop it.
From what I've seen there's only one. We could resolve it by keeping python3-mutagen and using the template from the commit if it's alright to keep old version of package just for idjc. Maybe splitting them into mutagen (python3) and creating python2-mutagen for idjc would be better?
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [WIP] Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (2 preceding siblings ...)
2021-01-30 11:45 ` UsernameRandomlyGenerated
@ 2021-01-30 12:08 ` Chocimier
2021-01-30 12:36 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
` (16 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-01-30 12:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-770202418
Comment:
Please do the former. Renaming package requires to still keep transitional package with old name to provide updates.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (3 preceding siblings ...)
2021-01-30 12:08 ` [WIP] " Chocimier
@ 2021-01-30 12:36 ` UsernameRandomlyGenerated
2021-01-30 12:38 ` UsernameRandomlyGenerated
` (15 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 12:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
There is an updated 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
[WIP] 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: 3711 bytes --]
From fb898dbe2e7d8594a1835667f3b998115db93fc5 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 13:30:00 +0100
Subject: [PATCH 1/2] python3-mutagen: update to 1.45.1
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
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/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 00000000000..ff02ac4c4f1
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,16 @@
+# Template file for 'mutagen'
+pkgname=mutagen
+version=1.45.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
From e078f2f919f6c72d2dc24eba71678c5fee0c9eac Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 13:35:49 +0100
Subject: [PATCH 2/2] mutagen: update to 1.43.1, remove python3-mutagen from
template
Mutagen supports Python3 only from v1.44.0.
---
srcpkgs/mutagen/template | 30 +++++-------------------------
1 file changed, 5 insertions(+), 25 deletions(-)
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..c75bfccb00c 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,11 +1,10 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
+version=1.43.1
+revision=1
+build_style=python2-module
pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+hostmakedepends="python-devel python-setuptools"
makedepends="$hostmakedepends"
depends="python"
short_desc="Python2 multimedia tagging library"
@@ -14,7 +13,7 @@ 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
+checksum=d873baeb7815311d3420aab0a1d83f050f628228cbc2d6045a14a16460411bc9
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp2
@@ -26,24 +25,5 @@ alternatives="
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*
- }
-}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (4 preceding siblings ...)
2021-01-30 12:36 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
@ 2021-01-30 12:38 ` UsernameRandomlyGenerated
2021-01-30 13:28 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
` (14 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 12:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
There is an updated 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
[WIP] 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: 3711 bytes --]
From fb898dbe2e7d8594a1835667f3b998115db93fc5 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 13:30:00 +0100
Subject: [PATCH 1/2] python3-mutagen: update to 1.45.1
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
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/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 00000000000..ff02ac4c4f1
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,16 @@
+# Template file for 'mutagen'
+pkgname=mutagen
+version=1.45.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
From fb25c189f49b0f4f77ed6b9bb30eaaa1d995027b Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 13:35:49 +0100
Subject: [PATCH 2/2] mutagen: update to 1.43.1, remove python3-mutagen from
template
Mutagen supports Python3 only from v1.44.0.
---
srcpkgs/mutagen/template | 31 +++++--------------------------
1 file changed, 5 insertions(+), 26 deletions(-)
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..a518aca128e 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,11 +1,9 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+version=1.43.1
+revision=1
+build_style=python2-module
+hostmakedepends="python-devel python-setuptools"
makedepends="$hostmakedepends"
depends="python"
short_desc="Python2 multimedia tagging library"
@@ -14,7 +12,7 @@ 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
+checksum=d873baeb7815311d3420aab0a1d83f050f628228cbc2d6045a14a16460411bc9
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp2
@@ -26,24 +24,5 @@ alternatives="
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*
- }
-}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] Mutagen: update to v1.45.1, remove python3-mutagen
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (5 preceding siblings ...)
2021-01-30 12:38 ` UsernameRandomlyGenerated
@ 2021-01-30 13:28 ` UsernameRandomlyGenerated
2021-01-30 13:32 ` mutagen: update to 1.43.1, split package UsernameRandomlyGenerated
` (13 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 13:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]
There is an updated 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: 3486 bytes --]
From 422cbaeae39734c54bdb608fb121b20880eb7708 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 14:25:53 +0100
Subject: [PATCH] mutagen: update to 1.43.1, split package.
Split off python3-mutagen, upstream doesn't support python2 since v1.44.0
---
srcpkgs/mutagen/template | 31 +++++--------------------------
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 17 +++++++++++++++++
3 files changed, 22 insertions(+), 27 deletions(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..a518aca128e 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,11 +1,9 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+version=1.43.1
+revision=1
+build_style=python2-module
+hostmakedepends="python-devel python-setuptools"
makedepends="$hostmakedepends"
depends="python"
short_desc="Python2 multimedia tagging library"
@@ -14,7 +12,7 @@ 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
+checksum=d873baeb7815311d3420aab0a1d83f050f628228cbc2d6045a14a16460411bc9
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp2
@@ -26,24 +24,5 @@ alternatives="
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*
- }
-}
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/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 00000000000..6e069c3de34
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (6 preceding siblings ...)
2021-01-30 13:28 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
@ 2021-01-30 13:32 ` UsernameRandomlyGenerated
2021-01-30 13:34 ` UsernameRandomlyGenerated
` (12 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 13:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
New comment by UsernameRandomlyGenerated on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-770213257
Comment:
I've updated the old mutagen to v1.43.1 and squashed the commits (though I'm not sure if I should do that)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (7 preceding siblings ...)
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
` (11 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 13:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New comment by UsernameRandomlyGenerated on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-770213257
Comment:
I've updated the old mutagen to v1.43.1 and squashed the commits (though I'm not sure if I should have)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (8 preceding siblings ...)
2021-01-30 13:34 ` UsernameRandomlyGenerated
@ 2021-01-30 13:50 ` Chocimier
2021-01-30 14:17 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
` (10 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-01-30 13:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-770215455
Comment:
Executables must be renamed by adding prefixes as they were, and alternatives kept in both variants. For manpages, they may be removed from py2 and left with py3.
Please split commits to first updating to 1.43.1 and second splitting python3-mutagen.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (9 preceding siblings ...)
2021-01-30 13:50 ` Chocimier
@ 2021-01-30 14:17 ` UsernameRandomlyGenerated
2021-01-30 14:19 ` UsernameRandomlyGenerated
` (9 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 14:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
There is an updated 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 1.43.1, split package
<!-- 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: 4476 bytes --]
From 97d0caf9f60fb3b202f01e6672c1be5b0ba54044 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 15:06:00 +0100
Subject: [PATCH 1/2] mutagen: update to 1.43.1.
---
srcpkgs/mutagen/template | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..cf087f331f0 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,9 +1,8 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
+version=1.43.1
+revision=1
build_style=python-module
-pycompile_module="mutagen"
hostmakedepends="python-devel python-setuptools python3-devel
python3-setuptools"
makedepends="$hostmakedepends"
@@ -14,7 +13,7 @@ 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
+checksum=d873baeb7815311d3420aab0a1d83f050f628228cbc2d6045a14a16460411bc9
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp2
From 2d23416cc2e5f387bce257a2e28b988214133555 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 15:16:36 +0100
Subject: [PATCH 2/2] mutagen: split package.
---
srcpkgs/mutagen/template | 24 ++----------------------
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 32 insertions(+), 23 deletions(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index cf087f331f0..a518aca128e 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -2,9 +2,8 @@
pkgname=mutagen
version=1.43.1
revision=1
-build_style=python-module
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-devel python-setuptools"
makedepends="$hostmakedepends"
depends="python"
short_desc="Python2 multimedia tagging library"
@@ -25,24 +24,5 @@ alternatives="
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*
- }
-}
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/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 00000000000..0a9dba49628
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,30 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
+
+alternatives="
+ mutagen:mid3cp:/usr/bin/mid3cp2
+ mutagen:mid3iconv:/usr/bin/mid3iconv2
+ mutagen:mid3v2:/usr/bin/python3-mid3v2
+ mutagen:moggsplit:/usr/bin/moggsplit2
+ mutagen:mutagen-inspect:/usr/bin/mutagen-inspect3
+ mutagen:mutagen-pony:/usr/bin/mutagen-pony3"
+
+post_install() {
+ # XXX: override the default naming scheme for mid3v2
+ cp -a ${DESTDIR}/usr/bin/{,python3-}mid3v2
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (10 preceding siblings ...)
2021-01-30 14:17 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
@ 2021-01-30 14:19 ` UsernameRandomlyGenerated
2021-02-15 3:16 ` ericonr
` (8 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-01-30 14:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
There is an updated 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 1.43.1, split package
<!-- 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: 4476 bytes --]
From 97d0caf9f60fb3b202f01e6672c1be5b0ba54044 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 15:06:00 +0100
Subject: [PATCH 1/2] mutagen: update to 1.43.1.
---
srcpkgs/mutagen/template | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index 552fecc0a50..cf087f331f0 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -1,9 +1,8 @@
# Template file for 'mutagen'
pkgname=mutagen
-version=1.43.0
-revision=3
+version=1.43.1
+revision=1
build_style=python-module
-pycompile_module="mutagen"
hostmakedepends="python-devel python-setuptools python3-devel
python3-setuptools"
makedepends="$hostmakedepends"
@@ -14,7 +13,7 @@ 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
+checksum=d873baeb7815311d3420aab0a1d83f050f628228cbc2d6045a14a16460411bc9
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp2
From 13e4b192cc0fcccb943db217a862b88d3ca77824 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 30 Jan 2021 15:16:36 +0100
Subject: [PATCH 2/2] mutagen: split package.
---
srcpkgs/mutagen/template | 24 ++----------------------
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 32 insertions(+), 23 deletions(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
index cf087f331f0..a518aca128e 100644
--- a/srcpkgs/mutagen/template
+++ b/srcpkgs/mutagen/template
@@ -2,9 +2,8 @@
pkgname=mutagen
version=1.43.1
revision=1
-build_style=python-module
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-devel python-setuptools"
makedepends="$hostmakedepends"
depends="python"
short_desc="Python2 multimedia tagging library"
@@ -25,24 +24,5 @@ alternatives="
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*
- }
-}
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/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 00000000000..9bda5a49469
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,30 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
+
+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"
+
+post_install() {
+ # XXX: override the default naming scheme for mid3v2
+ cp -a ${DESTDIR}/usr/bin/{,python3-}mid3v2
+}
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (11 preceding siblings ...)
2021-01-30 14:19 ` UsernameRandomlyGenerated
@ 2021-02-15 3:16 ` ericonr
2021-02-15 17:40 ` Chocimier
` (7 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: ericonr @ 2021-02-15 3:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-778911640
Comment:
@Chocimier
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (12 preceding siblings ...)
2021-02-15 3:16 ` ericonr
@ 2021-02-15 17:40 ` Chocimier
2021-03-08 17:23 ` UsernameRandomlyGenerated
` (6 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-02-15 17:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 382 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-779368625
Comment:
Binaries was renamed to *2 and *3 by python-module build_style,. After change of build-style, they are same and need to be explicitely renamed in post_install in both packages.
For manpages, they may be removed from py2 and left with py3.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (13 preceding siblings ...)
2021-02-15 17:40 ` Chocimier
@ 2021-03-08 17:23 ` UsernameRandomlyGenerated
2021-03-15 13:54 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
` (5 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-03-08 17:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
New comment by UsernameRandomlyGenerated on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-792922624
Comment:
Sorry for the delay. There is currently only one package that depends on old mutagen (idjc) which had update to 0.9.1 (we have 0.8.17) and the new version requires mutagen v1.4.4+ (python3 only). So I think it would be safe to delete old mutagen while keeping only python3 version after updating idjc.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (14 preceding siblings ...)
2021-03-08 17:23 ` UsernameRandomlyGenerated
@ 2021-03-15 13:54 ` UsernameRandomlyGenerated
2021-03-15 13:57 ` UsernameRandomlyGenerated
` (4 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-03-15 13:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
There is an updated 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 1.43.1, split package
<!-- 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: 4604 bytes --]
From b463b8ec3638aad6e1b74f55e46c7a9935fa2219 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Mon, 15 Mar 2021 14:52:58 +0100
Subject: [PATCH 1/2] mutagen: split package
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 30 ++++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/python3-mutagen b/srcpkgs/python3-mutagen
deleted file mode 120000
index 7e10650b42d6..000000000000
--- a/srcpkgs/python3-mutagen
+++ /dev/null
@@ -1 +0,0 @@
-mutagen
\ No newline at end of file
diff --git a/srcpkgs/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 000000000000..9bda5a494690
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,30 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
+
+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"
+
+post_install() {
+ # XXX: override the default naming scheme for mid3v2
+ cp -a ${DESTDIR}/usr/bin/{,python3-}mid3v2
+}
From b10254be8372aaf80d6af297f6a33256e67a3c72 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Mon, 15 Mar 2021 14:53:56 +0100
Subject: [PATCH 2/2] mutagen: remove package
---
srcpkgs/mutagen/template | 49 -------------------------------
srcpkgs/removed-packages/template | 1 +
2 files changed, 1 insertion(+), 49 deletions(-)
delete mode 100644 srcpkgs/mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
deleted file mode 100644
index 552fecc0a505..000000000000
--- a/srcpkgs/mutagen/template
+++ /dev/null
@@ -1,49 +0,0 @@
-# Template file for 'mutagen'
-pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
-makedepends="$hostmakedepends"
-depends="python"
-short_desc="Python2 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*
- }
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 30b4ac8b2bd6..d846c476a45b 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -150,6 +150,7 @@ replaces="
mongroup<=0.4.1_2
mozjs52<=52.9.0_7
mozjs68<=68.11.0_1
+ mutagen<=1.43.0_3
phonon-backend-gstreamer<=4.9.0_2
phonon-backend-vlc<=0.9.1_3
polkit-qt<=0.112.0_5
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (15 preceding siblings ...)
2021-03-15 13:54 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
@ 2021-03-15 13:57 ` UsernameRandomlyGenerated
2021-03-17 22:13 ` Chocimier
` (3 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-03-15 13:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
There is an updated 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 1.43.1, split package
<!-- 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: 4569 bytes --]
From dd949c845dcf0f7ecee63c73400f0c9f120b35a9 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Mon, 15 Mar 2021 14:52:58 +0100
Subject: [PATCH 1/2] mutagen: split package
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 30 ++++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/python3-mutagen b/srcpkgs/python3-mutagen
deleted file mode 120000
index 7e10650b42d6..000000000000
--- a/srcpkgs/python3-mutagen
+++ /dev/null
@@ -1 +0,0 @@
-mutagen
\ No newline at end of file
diff --git a/srcpkgs/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 000000000000..9bda5a494690
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,30 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
+
+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"
+
+post_install() {
+ # XXX: override the default naming scheme for mid3v2
+ cp -a ${DESTDIR}/usr/bin/{,python3-}mid3v2
+}
From 24d8ed584869838e4d5e9ec0ba26850c18ed855e Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Mon, 15 Mar 2021 14:58:17 +0100
Subject: [PATCH 2/2] mutagen: remove package
---
srcpkgs/mutagen/template | 49 -------------------------------
srcpkgs/removed-packages/template | 1 +
2 files changed, 1 insertion(+), 49 deletions(-)
delete mode 100644 srcpkgs/mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
deleted file mode 100644
index 552fecc0a505..000000000000
--- a/srcpkgs/mutagen/template
+++ /dev/null
@@ -1,49 +0,0 @@
-# Template file for 'mutagen'
-pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
-makedepends="$hostmakedepends"
-depends="python"
-short_desc="Python2 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*
- }
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 0ff38b79c6ff..5641ebb70f5b 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -186,6 +186,7 @@ replaces="
mirrorbits<=0.5.1_1
mongroup<=0.4.1_2
mozjs68<=68.11.0_1
+ mutagen<=1.43.0_3
ncdns<=0.0.2_12
orage<=4.12.1_7
oce<=0.18.3_1
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (16 preceding siblings ...)
2021-03-15 13:57 ` UsernameRandomlyGenerated
@ 2021-03-17 22:13 ` Chocimier
2021-03-20 12:13 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
` (2 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-03-17 22:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/28329#issuecomment-801476351
Comment:
Good. Please remove alternatives, they are not needed for one package.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (17 preceding siblings ...)
2021-03-17 22:13 ` Chocimier
@ 2021-03-20 12:13 ` UsernameRandomlyGenerated
2021-03-20 20:43 ` Chocimier
2021-03-20 20:43 ` [PR PATCH] [Merged]: " Chocimier
20 siblings, 0 replies; 22+ messages in thread
From: UsernameRandomlyGenerated @ 2021-03-20 12:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
There is an updated 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 1.43.1, split package
<!-- 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: 4161 bytes --]
From e171fe486a0708d1cc5062db7fb7efca50ef0bfe Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 20 Mar 2021 13:00:44 +0100
Subject: [PATCH 1/2] mutagen: split package
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/python3-mutagen b/srcpkgs/python3-mutagen
deleted file mode 120000
index 7e10650b42d6..000000000000
--- a/srcpkgs/python3-mutagen
+++ /dev/null
@@ -1 +0,0 @@
-mutagen
\ No newline at end of file
diff --git a/srcpkgs/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 000000000000..6e069c3de349
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
From b89afa9792ee84ed42e04fbaa5638f40e85a85a1 Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 20 Mar 2021 13:01:03 +0100
Subject: [PATCH 2/2] mutagen: remove package
---
srcpkgs/mutagen/template | 49 -------------------------------
srcpkgs/removed-packages/template | 1 +
2 files changed, 1 insertion(+), 49 deletions(-)
delete mode 100644 srcpkgs/mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
deleted file mode 100644
index 552fecc0a505..000000000000
--- a/srcpkgs/mutagen/template
+++ /dev/null
@@ -1,49 +0,0 @@
-# Template file for 'mutagen'
-pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
-makedepends="$hostmakedepends"
-depends="python"
-short_desc="Python2 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*
- }
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 0ff38b79c6ff..5641ebb70f5b 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -186,6 +186,7 @@ replaces="
mirrorbits<=0.5.1_1
mongroup<=0.4.1_2
mozjs68<=68.11.0_1
+ mutagen<=1.43.0_3
ncdns<=0.0.2_12
orage<=4.12.1_7
oce<=0.18.3_1
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Updated] mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (18 preceding siblings ...)
2021-03-20 12:13 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
@ 2021-03-20 20:43 ` Chocimier
2021-03-20 20:43 ` [PR PATCH] [Merged]: " Chocimier
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-03-20 20:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]
There is an updated pull request by Chocimier 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 1.43.1, split package
<!-- 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: 4408 bytes --]
From e171fe486a0708d1cc5062db7fb7efca50ef0bfe Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 20 Mar 2021 13:00:44 +0100
Subject: [PATCH 1/2] mutagen: split package
---
srcpkgs/python3-mutagen | 1 -
srcpkgs/python3-mutagen/template | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
delete mode 120000 srcpkgs/python3-mutagen
create mode 100644 srcpkgs/python3-mutagen/template
diff --git a/srcpkgs/python3-mutagen b/srcpkgs/python3-mutagen
deleted file mode 120000
index 7e10650b42d6..000000000000
--- a/srcpkgs/python3-mutagen
+++ /dev/null
@@ -1 +0,0 @@
-mutagen
\ No newline at end of file
diff --git a/srcpkgs/python3-mutagen/template b/srcpkgs/python3-mutagen/template
new file mode 100644
index 000000000000..6e069c3de349
--- /dev/null
+++ b/srcpkgs/python3-mutagen/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-mutagen'
+pkgname=python3-mutagen
+version=1.45.1
+revision=1
+wrksrc="mutagen-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel python3-setuptools"
+makedepends="$hostmakedepends"
+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/mutagen/mutagen-${version}.tar.gz"
+checksum=6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1
From 56d460d0a79ac815cbc00016937d1e9719883b6f Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sat, 20 Mar 2021 13:01:03 +0100
Subject: [PATCH 2/2] mutagen: remove package
---
srcpkgs/mutagen/template | 49 -------------------------------
srcpkgs/removed-packages/template | 3 +-
2 files changed, 2 insertions(+), 50 deletions(-)
delete mode 100644 srcpkgs/mutagen/template
diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template
deleted file mode 100644
index 552fecc0a505..000000000000
--- a/srcpkgs/mutagen/template
+++ /dev/null
@@ -1,49 +0,0 @@
-# Template file for 'mutagen'
-pkgname=mutagen
-version=1.43.0
-revision=3
-build_style=python-module
-pycompile_module="mutagen"
-hostmakedepends="python-devel python-setuptools python3-devel
- python3-setuptools"
-makedepends="$hostmakedepends"
-depends="python"
-short_desc="Python2 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*
- }
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 0ff38b79c6ff..e114ab3bedee 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=36
+revision=37
build_style=meta
short_desc="Uninstalls packages removed from repository"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -186,6 +186,7 @@ replaces="
mirrorbits<=0.5.1_1
mongroup<=0.4.1_2
mozjs68<=68.11.0_1
+ mutagen<=1.43.0_3
ncdns<=0.0.2_12
orage<=4.12.1_7
oce<=0.18.3_1
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PR PATCH] [Merged]: mutagen: update to 1.43.1, split package
2021-01-30 9:58 [PR PATCH] Mutagen: update to v1.45.1, remove python3-mutagen UsernameRandomlyGenerated
` (19 preceding siblings ...)
2021-03-20 20:43 ` Chocimier
@ 2021-03-20 20:43 ` Chocimier
20 siblings, 0 replies; 22+ messages in thread
From: Chocimier @ 2021-03-20 20:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
There's a merged pull request on the void-packages repository
mutagen: update to 1.43.1, split package
https://github.com/void-linux/void-packages/pull/28329
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 22+ messages in thread