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'
|
# Template file for 'python-py'
|
||||||
pkgname=python-py
|
pkgname=python-py
|
||||||
version=1.5.3
|
version=1.5.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
noarch=yes
|
||||||
|
wrksrc="py-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="py"
|
pycompile_module="py"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python2 development support library"
|
short_desc="Python2 development support library"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
@ -13,7 +15,6 @@ license="MIT"
|
||||||
homepage="https://github.com/pytest-dev/py"
|
homepage="https://github.com/pytest-dev/py"
|
||||||
distfiles="https://github.com/pytest-dev/py/archive/${version}.tar.gz"
|
distfiles="https://github.com/pytest-dev/py/archive/${version}.tar.gz"
|
||||||
checksum=c0698a6f71e9ea2a44e5bdf81f1ec8d5b5e9646e990c75fadeb133149aeb8440
|
checksum=c0698a6f71e9ea2a44e5bdf81f1ec8d5b5e9646e990c75fadeb133149aeb8440
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 -m pytest
|
python3 -m pytest
|
||||||
|
@ -25,6 +26,7 @@ post_install() {
|
||||||
|
|
||||||
python3-py_package() {
|
python3-py_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
pycompile_module="py"
|
pycompile_module="py"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue