# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Corentin Pazdera <nado@troglodyte.be> (28 Dec 2018)
+# Requires virtual/pypy which isn't keyworded for ARM.
+www-servers/uwsgi pypy
+
# Davide Pesavento <pesa@gentoo.org> (27 Dec 2018)
# The corresponding Qt5 modules are not keyworded on arm, and we don't want to
# keyword them solely because of PyQt5 while there are no other in-tree users.
MY_P="${P/_/-}"
-inherit eutils flag-o-matic multilib pax-utils php-ext-source-r3 python-r1 ruby-ng versionator
+inherit eapi7-ver eutils flag-o-matic multilib pax-utils php-ext-source-r3 python-r1 ruby-ng
DESCRIPTION="uWSGI server for Python web applications"
HOMEPAGE="http://projects.unbit.it/uwsgi/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux"
UWSGI_PLUGINS_STD=( ping cache carbon nagios rpc rrdtool
http ugreen signal syslog rsyslog
if use uwsgi_plugins_emperor_pg ; then
PGPV="$(best_version dev-db/postgresql)"
- PGSLOT="$(get_version_component_range 1-2 ${PGPV##dev-db/postgresql-})"
+ PGSLOT="$(ver_cut 1-2 ${PGPV##dev-db/postgresql-})"
sed -i \
-e "s|pg_config|pg_config${PGSLOT/.}|" \
plugins/emperor_pg/uwsgiplugin.py || die "sed failed"