--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit java-virtuals-2
+
+DESCRIPTION="Virtual for servlet api"
+HOMEPAGE="https://jcp.org/en/jsr/detail?id=340"
+SRC_URI=""
+
+LICENSE="public-domain"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND="|| (
+ dev-java/tomcat-servlet-api:${SLOT}
+ dev-java/resin-servlet-api:${SLOT}
+ )"
+
+JAVA_VIRTUAL_PROVIDES="tomcat-servlet-api-${SLOT} resin-servlet-api-${SLOT}"