python-py: add missing depends
This commit is contained in:
parent
57278cadf3
commit
d92eecd2f4
1 changed files with 5 additions and 3 deletions
|
@ -1,11 +1,13 @@
|
|||
# Template file for 'python-py'
|
||||
pkgname=python-py
|
||||
version=1.5.3
|
||||
revision=1
|
||||
wrksrc="${pkgname/python-//}-${version}"
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="py-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
checkdepends="python3-pytest"
|
||||
short_desc="Python2 development support library"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
|
@ -13,7 +15,6 @@ license="MIT"
|
|||
homepage="https://github.com/pytest-dev/py"
|
||||
distfiles="https://github.com/pytest-dev/py/archive/${version}.tar.gz"
|
||||
checksum=c0698a6f71e9ea2a44e5bdf81f1ec8d5b5e9646e990c75fadeb133149aeb8440
|
||||
noarch=yes
|
||||
|
||||
do_check() {
|
||||
python3 -m pytest
|
||||
|
@ -25,6 +26,7 @@ post_install() {
|
|||
|
||||
python3-py_package() {
|
||||
noarch=yes
|
||||
depends="python3"
|
||||
pycompile_module="py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in a new issue