From 4a919ec7cd67ca95652b95763bf81ac65589fc66 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 ef1445068f7dfe4b8d2e53a2900a541d862a6896 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 Signed-off-by: Nathan Owens --- srcpkgs/python-pyacoustid/template | 15 ++------------- srcpkgs/python3-pyacoustid/template | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 srcpkgs/python3-pyacoustid/template diff --git a/srcpkgs/python-pyacoustid/template b/srcpkgs/python-pyacoustid/template index 2c06bd19b2d..5ad15c11041 100644 --- a/srcpkgs/python-pyacoustid/template +++ b/srcpkgs/python-pyacoustid/template @@ -2,20 +2,9 @@ pkgname=python-pyacoustid version=1.1.5 revision=3 -archs=noarch wrksrc="pyacoustid-${version}" build_style=meta -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" +short_desc="Python2 bindings for Chromaprint and the Acoustid API(removed package)" maintainer="Orphaned " -homepage="https://github.com/sampsyo/pyacoustid" license="MIT" -distfiles="${PYPI_SITE}/p/pyacoustid/pyacoustid-${version}.tar.gz" -checksum=efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777 - -post_install() { - sed -n '0,/^$/p' acoustid.py > LICENSE - vlicense LICENSE -} +homepage="https://github.com/sampsyo/pyacoustid" 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 +}