python-pyacoustid: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 19:36:52 +07:00
parent 7be0acbd6f
commit 80258e25ce
3 changed files with 19 additions and 33 deletions

View file

@ -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 <orphan@voidlinux.org>"
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
}
}

View file

@ -1 +0,0 @@
python-pyacoustid

View file

@ -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 <orphan@voidlinux.org>"
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
}