mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
python-pyotp: template fixes
This commit is contained in:
parent
ab4cd91c05
commit
00c3d189fd
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-pyotp'
|
# Template file for 'python-pyotp'
|
||||||
pkgname=python-pyotp
|
pkgname=python-pyotp
|
||||||
version=2.2.6
|
version=2.2.6
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pyotp-${version}"
|
wrksrc="pyotp-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -10,13 +10,14 @@ hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Python2 One-Time Password Library"
|
short_desc="Python2 One-Time Password Library"
|
||||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
license="0BSD"
|
license="MIT"
|
||||||
homepage="https://github.com/pyotp/pyotp"
|
homepage="https://github.com/pyotp/pyotp"
|
||||||
distfiles="${PYPI_SITE}/p/pyotp/pyotp-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pyotp/pyotp-${version}.tar.gz"
|
||||||
checksum=dd9130dd91a0340d89a0f06f887dbd76dd07fb95a8886dc4bc401239f2eebd69
|
checksum=dd9130dd91a0340d89a0f06f887dbd76dd07fb95a8886dc4bc401239f2eebd69
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python -B test.py
|
python2 -B setup.py test
|
||||||
|
python3 -B setup.py test
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -30,5 +31,6 @@ python3-pyotp_package() {
|
||||||
depends="python3"
|
depends="python3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue