python3-logfury: correct dependencies
funcsigs is a backport for Python 2.7 There're no package named python3-funcsigs. While we're at it, add proper do_check
This commit is contained in:
parent
1b3c01c3ef
commit
216e4f8816
1 changed files with 11 additions and 2 deletions
|
@ -1,13 +1,17 @@
|
||||||
# Template file for 'python-logfury'
|
# Template file for 'python-logfury'
|
||||||
pkgname=python-logfury
|
pkgname=python-logfury
|
||||||
version=0.1.2
|
version=0.1.2
|
||||||
revision=3
|
revision=4
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="logfury-${version}"
|
wrksrc="logfury-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="logfury"
|
pycompile_module="logfury"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-six python-funcsigs"
|
depends="python-six python-funcsigs"
|
||||||
|
checkdepends="python-pytest python3-pytest python-six python3-six flake8
|
||||||
|
python3-docutils python-nose python3-nose python-bleach python3-bleach
|
||||||
|
python-webencodings python3-webencodings python-toml python3-toml
|
||||||
|
python-funcsigs python-Pygments python3-Pygments"
|
||||||
short_desc="Low-boilerplate logging of method calls (Python2)"
|
short_desc="Low-boilerplate logging of method calls (Python2)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
|
@ -19,10 +23,15 @@ post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python setup.py test
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
python3-logfury_package() {
|
python3-logfury_package() {
|
||||||
archs=noarch
|
archs=noarch
|
||||||
pycompile_module="logfury"
|
pycompile_module="logfury"
|
||||||
depends="python3-six python3-funcsigs"
|
depends="python3-six"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Reference in a new issue