diff --git a/srcpkgs/python-pyotp/template b/srcpkgs/python-pyotp/template deleted file mode 100644 index b70bd73d4aa..00000000000 --- a/srcpkgs/python-pyotp/template +++ /dev/null @@ -1,36 +0,0 @@ -# Template file for 'python-pyotp' -pkgname=python-pyotp -version=2.3.0 -revision=2 -archs=noarch -wrksrc="pyotp-${version}" -build_style=python-module -pycompile_module="pyotp" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Python2 One-Time Password Library" -maintainer="Enno Boland " -license="MIT" -homepage="https://github.com/pyotp/pyotp" -distfiles="${PYPI_SITE}/p/pyotp/pyotp-${version}.tar.gz" -checksum=fc537e8acd985c5cbf51e11b7d53c42276fee017a73aec7c07380695671ca1a1 - -do_check() { - python2 -B setup.py test - python3 -B setup.py test -} - -post_install() { - vlicense LICENSE -} - -python3-pyotp_package() { - short_desc="${short_desc/Python2/Python3}" - archs=noarch - pycompile_module="pyotp" - depends="python3" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-pyotp b/srcpkgs/python3-pyotp deleted file mode 120000 index e125d108587..00000000000 --- a/srcpkgs/python3-pyotp +++ /dev/null @@ -1 +0,0 @@ -python-pyotp \ No newline at end of file diff --git a/srcpkgs/python3-pyotp/template b/srcpkgs/python3-pyotp/template new file mode 100644 index 00000000000..91118a9c597 --- /dev/null +++ b/srcpkgs/python3-pyotp/template @@ -0,0 +1,22 @@ +# Template file for 'python3-pyotp' +pkgname=python3-pyotp +version=2.3.0 +revision=3 +wrksrc="pyotp-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 One-Time Password Library" +maintainer="Enno Boland " +license="MIT" +homepage="https://github.com/pyotp/pyotp" +distfiles="${PYPI_SITE}/p/pyotp/pyotp-${version}.tar.gz" +checksum=fc537e8acd985c5cbf51e11b7d53c42276fee017a73aec7c07380695671ca1a1 + +do_check() { + python3 -B setup.py test +} + +post_install() { + vlicense LICENSE +}