dev-python/python-betterproto: added python_fix_shebang

Signed-off-by: Antonín Říha <antonin.riha@protonmail.com>
This commit is contained in:
Antonín Říha
2022-05-15 18:40:55 +02:00
parent 5c1c154ef9
commit 93077d4c1c
2 changed files with 10 additions and 0 deletions

View File

@@ -42,6 +42,11 @@ distutils_enable_tests pytest
distutils_enable_sphinx docs \
'>=dev-python/sphinx_rtd_theme-0.5.0'
python_prepare() {
default
python_fix_shebang tests/generate.py src/betterproto/plugin/main.py
}
python_test() {
"${EPYTHON}" -m tests.generate -v
epytest

View File

@@ -42,6 +42,11 @@ distutils_enable_tests pytest
distutils_enable_sphinx docs \
'>=dev-python/sphinx_rtd_theme-0.5.0'
python_prepare() {
default
python_fix_shebang tests/generate.py src/betterproto/plugin/main.py
}
python_test() {
"${EPYTHON}" -m tests.generate -v
epytest