From 80258e25ce42ee632b3c26c7c44798caf50425d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 19:36:52 +0700 Subject: [PATCH] python-pyacoustid: drop package --- srcpkgs/python-pyacoustid/template | 32 ----------------------------- srcpkgs/python3-pyacoustid | 1 - srcpkgs/python3-pyacoustid/template | 19 +++++++++++++++++ 3 files changed, 19 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/python-pyacoustid/template delete mode 120000 srcpkgs/python3-pyacoustid create mode 100644 srcpkgs/python3-pyacoustid/template diff --git a/srcpkgs/python-pyacoustid/template b/srcpkgs/python-pyacoustid/template deleted file mode 100644 index d5b2d967f4e..00000000000 --- a/srcpkgs/python-pyacoustid/template +++ /dev/null @@ -1,32 +0,0 @@ -# Template file for 'python-pyacoustid' -pkgname=python-pyacoustid -version=1.1.5 -revision=3 -archs=noarch -wrksrc="pyacoustid-${version}" -build_style=python-module -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" -distfiles="${PYPI_SITE}/p/pyacoustid/pyacoustid-${version}.tar.gz" -checksum=efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777 - -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 diff --git a/srcpkgs/python3-pyacoustid/template b/srcpkgs/python3-pyacoustid/template new file mode 100644 index 00000000000..eccab8db7c2 --- /dev/null +++ b/srcpkgs/python3-pyacoustid/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pyacoustid' +pkgname=python3-pyacoustid +version=1.1.5 +revision=4 +wrksrc="pyacoustid-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="chromaprint python3-audioread python3-requests" +short_desc="Python3 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=efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777 + +post_install() { + sed -n '0,/^$/p' acoustid.py > LICENSE + vlicense LICENSE +}