From 4a6ee33d239871fd8918401a1b3fa8fc69963994 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 17 May 2022 06:11:54 +0000 Subject: Adding metadata --- dev-python/python-betterproto/python-betterproto-9999.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dev-python/python-betterproto/python-betterproto-9999.ebuild') diff --git a/dev-python/python-betterproto/python-betterproto-9999.ebuild b/dev-python/python-betterproto/python-betterproto-9999.ebuild index 000f78506f36..f534eab9e4c8 100644 --- a/dev-python/python-betterproto/python-betterproto-9999.ebuild +++ b/dev-python/python-betterproto/python-betterproto-9999.ebuild @@ -42,14 +42,16 @@ 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 } pkg_postinst() { - optfeature "protoc compilation support" dev-python/black - optfeature "protoc compilation support" dev-python/isort - optfeature "protoc compilation support" dev-python/grpcio-tools - optfeature "protoc compilation support" dev-python/jinja + optfeature "protoc compilation support" "dev-python/black dev-python/isort dev-python/grpcio-tools dev-python/jinja" } -- cgit v1.3.1