First pass at upgrading to EAPI 3.
[g-pypi.git] / g_pypi / ebuild.tmpl
index 34c112b916cd495fc2a52cc5dd94655aa1b6ac12..26243e73462b90dd42c8b2bd1e649e4a6d1c7dc2 100644 (file)
@@ -7,9 +7,20 @@
 #for warn in $warnings:
 \# Warning: $warn
 #end for
+
+#end if
+# API of python.eclass in EAPI > 3 not established (see python.eclass)'
+EAPI="3"
+
+# HACK: PYTHON_DEPEND and RESTRICT_PYTHON_ABIS currently hardcoded.
+#if $supported_python_versions
+# This package claims to support the following versions:
+# $supported_python_versions
 #end if
-#if $need_python
-NEED_PYTHON="$need_python"
+PYTHON_DEPEND="$python_depend"
+SUPPORT_PYTHON_ABIS="1"
+#if $restrict_python_abis
+RESTRICT_PYTHON_ABIS="$restrict_python_abis"
 
 #end if
 #if $python_modname