python-PyAudio: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-25 08:26:59 +07:00
parent 1de062a2a1
commit 8a033bdd4f
3 changed files with 19 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# Template file for 'python-PyAudio'
pkgname=python-PyAudio
version=0.2.11
revision=3
wrksrc="PyAudio-${version}"
build_style=python-module
pycompile_module="pyaudio.py"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel portaudio-devel"
short_desc="Python2 Bindings for PortAudio, a cross-platform audio IO library"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="https://people.csail.mit.edu/hubert/pyaudio/"
distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz"
checksum=93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p'< README > LICENSE
vlicense LICENSE
}
python3-PyAudio_package() {
pycompile_module="pyaudio.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-PyAudio

View File

@ -0,0 +1,19 @@
# Template file for 'python3-PyAudio'
pkgname=python3-PyAudio
version=0.2.11
revision=4
wrksrc="PyAudio-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel portaudio-devel"
short_desc="Python3 Bindings for PortAudio, a cross-platform audio IO library"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="https://people.csail.mit.edu/hubert/pyaudio/"
distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz"
checksum=93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p'< README > LICENSE
vlicense LICENSE
}