diff --git a/srcpkgs/python-miniupnpc/template b/srcpkgs/python-miniupnpc/template deleted file mode 100644 index f7892bab073..00000000000 --- a/srcpkgs/python-miniupnpc/template +++ /dev/null @@ -1,28 +0,0 @@ -# Template file for 'python-miniupnpc' -pkgname=python-miniupnpc -version=2.0.2 -revision=3 -wrksrc="${pkgname#python-}-$version" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel miniupnpc-devel" -depends="python" -short_desc="Python2 bindings for miniupnpc, a UPnP library" -maintainer="Urs Schulz " -license="BSD-3-Clause" -homepage="https://pypi.org/project/miniupnpc/" -distfiles="${PYPI_SITE}/m/miniupnpc/miniupnpc-${version}.tar.gz" -checksum=7ea46c93486fe1bdb31f0e0c2d911d224fce70bf5ea120e4295d647dfe274931 - -python3-miniupnpc_package() { - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vlicense LICENSE - vmove usr/lib/python3* - } -} - -post_install() { - vlicense LICENSE -} diff --git a/srcpkgs/python3-miniupnpc b/srcpkgs/python3-miniupnpc deleted file mode 120000 index 17d4960a570..00000000000 --- a/srcpkgs/python3-miniupnpc +++ /dev/null @@ -1 +0,0 @@ -python-miniupnpc \ No newline at end of file diff --git a/srcpkgs/python3-miniupnpc/template b/srcpkgs/python3-miniupnpc/template new file mode 100644 index 00000000000..4331ce7e85e --- /dev/null +++ b/srcpkgs/python3-miniupnpc/template @@ -0,0 +1,20 @@ +# Template file for 'python3-miniupnpc' +pkgname=python3-miniupnpc +version=2.0.2 +revision=4 +wrksrc="miniupnpc-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel miniupnpc-devel" +depends="python3" +short_desc="Python3 bindings for miniupnpc, a UPnP library" +maintainer="Urs Schulz " +license="BSD-3-Clause" +homepage="https://pypi.org/project/miniupnpc/" +distfiles="${PYPI_SITE}/m/miniupnpc/miniupnpc-${version}.tar.gz" +checksum=7ea46c93486fe1bdb31f0e0c2d911d224fce70bf5ea120e4295d647dfe274931 + + +post_install() { + vlicense LICENSE +}