Github messages for voidlinux
 help / color / mirror / Atom feed
From: UsernameRandomlyGenerated <UsernameRandomlyGenerated@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Mutagen: update to v1.45.1, remove python3-mutagen
Date: Sat, 30 Jan 2021 14:28:10 +0100	[thread overview]
Message-ID: <20210130132810.u_cU6c_zwgVZkql818Z07OMItjcmV76tdyflnMzIHDI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28329@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2021-01-30 13:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30  9:58 [PR PATCH] " 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
2021-01-30 12:36 ` [PR PATCH] [Updated] " UsernameRandomlyGenerated
2021-01-30 12:38 ` UsernameRandomlyGenerated
2021-01-30 13:28 ` UsernameRandomlyGenerated [this message]
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=20210130132810.u_cU6c_zwgVZkql818Z07OMItjcmV76tdyflnMzIHDI@z \
    --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).