From e171fe486a0708d1cc5062db7fb7efca50ef0bfe Mon Sep 17 00:00:00 2001 From: UsernameRandomlyGenerated 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 7e10650b42d6d5..00000000000000 --- 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 00000000000000..6e069c3de349bb --- /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 " +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 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 552fecc0a5054c..00000000000000 --- 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 " -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 0ff38b79c6ff04..e114ab3bedee05 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 " @@ -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