diff --git a/srcpkgs/python-PyAudio/template b/srcpkgs/python-PyAudio/template deleted file mode 100644 index e33e2bba3ff..00000000000 --- a/srcpkgs/python-PyAudio/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-PyAudio b/srcpkgs/python3-PyAudio deleted file mode 120000 index 4abbbbd90d2..00000000000 --- a/srcpkgs/python3-PyAudio +++ /dev/null @@ -1 +0,0 @@ -python-PyAudio \ No newline at end of file diff --git a/srcpkgs/python3-PyAudio/template b/srcpkgs/python3-PyAudio/template new file mode 100644 index 00000000000..c916530cc1e --- /dev/null +++ b/srcpkgs/python3-PyAudio/template @@ -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 " +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 +}