python-pyotp: drop package
This commit is contained in:
parent
cc89cc392e
commit
870a315db9
3 changed files with 22 additions and 37 deletions
|
@ -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 <gottox@voidlinux.org>"
|
||||
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
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-pyotp
|
22
srcpkgs/python3-pyotp/template
Normal file
22
srcpkgs/python3-pyotp/template
Normal file
|
@ -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 <gottox@voidlinux.org>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue