From 7b5ac0d1a83938c510bfb5c30a39f25113ec313e Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 30 Dec 2019 22:49:47 -0600 Subject: [PATCH 1/2] python-pyacoustid: set to meta for removal --- srcpkgs/python-pyacoustid/template | 13 +------------ srcpkgs/python3-pyacoustid | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 120000 srcpkgs/python3-pyacoustid diff --git a/srcpkgs/python-pyacoustid/template b/srcpkgs/python-pyacoustid/template index d5b2d967f4e..2c06bd19b2d 100644 --- a/srcpkgs/python-pyacoustid/template +++ b/srcpkgs/python-pyacoustid/template @@ -4,7 +4,7 @@ version=1.1.5 revision=3 archs=noarch wrksrc="pyacoustid-${version}" -build_style=python-module +build_style=meta hostmakedepends="python-setuptools python3-setuptools" depends="chromaprint python-audioread python-requests" pycompile_module="acoustid.py chromaprint.py" @@ -19,14 +19,3 @@ post_install() { sed -n '0,/^$/p' acoustid.py > LICENSE vlicense LICENSE } - -python3-pyacoustid_package() { - archs=noarch - pycompile_module="acoustid.py chromaprint.py" - depends="chromaprint python3-audioread python3-requests" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-pyacoustid b/srcpkgs/python3-pyacoustid deleted file mode 120000 index ffd753d7871..00000000000 --- a/srcpkgs/python3-pyacoustid +++ /dev/null @@ -1 +0,0 @@ -python-pyacoustid \ No newline at end of file From 79d4f91d73129191d256ea13ee4da1c421bef818 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 30 Dec 2019 22:50:20 -0600 Subject: [PATCH 2/2] python3-pyacoustid: update to 1.1.6 --- srcpkgs/python-pyacoustid/template | 4 ++-- srcpkgs/python3-pyacoustid/template | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/python3-pyacoustid/template diff --git a/srcpkgs/python-pyacoustid/template b/srcpkgs/python-pyacoustid/template index 2c06bd19b2d..b36f8147e0d 100644 --- a/srcpkgs/python-pyacoustid/template +++ b/srcpkgs/python-pyacoustid/template @@ -5,13 +5,13 @@ revision=3 archs=noarch wrksrc="pyacoustid-${version}" build_style=meta +pycompile_module="acoustid.py chromaprint.py" hostmakedepends="python-setuptools python3-setuptools" depends="chromaprint python-audioread python-requests" -pycompile_module="acoustid.py chromaprint.py" short_desc="Python2 bindings for Chromaprint and the Acoustid API" maintainer="Orphaned " -homepage="https://github.com/sampsyo/pyacoustid" license="MIT" +homepage="https://github.com/sampsyo/pyacoustid" distfiles="${PYPI_SITE}/p/pyacoustid/pyacoustid-${version}.tar.gz" checksum=efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777 diff --git a/srcpkgs/python3-pyacoustid/template b/srcpkgs/python3-pyacoustid/template new file mode 100644 index 00000000000..eebf3b49cb0 --- /dev/null +++ b/srcpkgs/python3-pyacoustid/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pyacoustid' +pkgname=python3-pyacoustid +version=1.1.6 +revision=1 +archs=noarch +wrksrc="pyacoustid-${version}" +build_style=python3-module +pycompile_module="acoustid.py chromaprint.py" +hostmakedepends="python3-setuptools" +depends="chromaprint python3-audioread python3-requests" +short_desc="Python bindings for Chromaprint and the Acoustid API" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/sampsyo/pyacoustid" +distfiles="${PYPI_SITE}/p/pyacoustid/pyacoustid-${version}.tar.gz" +checksum=762ae09cf18a715155466be23bea4a6e4fdb8fb26bc80e091d227e2150fd7469 + +post_install() { + sed -n '0,/^$/p' acoustid.py > LICENSE + vlicense LICENSE +}