diff --git a/dev-perl/XML-Twig/Manifest b/dev-perl/XML-Twig/Manifest
index 8fce374025c0a..ea1d13be0d51f 100644
--- a/dev-perl/XML-Twig/Manifest
+++ b/dev-perl/XML-Twig/Manifest
@@ -1 +1,2 @@
DIST XML-Twig-3.49.tar.gz 402874 SHA256 3e0def8a7477fefa8c27fabf11899a459c8b793909182d016ba26749e9354e01 SHA512 162c07f912062723f225e9620cf18a8a8ad1282abeab6c981c9acb9f638f6fbc70476811533c7c739e861e0cce4ccbc7f44ce0cbe8a9b6b4947e60cffacce23c WHIRLPOOL 6dac6b7e40a8ba7b68f613dfd4d24cad754f8d5be9d7b7c1bb580d177b5c903ed95dc64d06933a48122e458ae987ae1c84a3ea21d7570cda8ab39709ebe95f32
+DIST XML-Twig-3.52.tar.gz 407769 SHA256 fef75826c24f2b877d0a0d2645212fc4fb9756ed4d2711614ac15c497e8680ad SHA512 1594e127fb76c0e53d0bd1f0a12fe3874c9523dd2bc55675d5a6cf44d5682ddea481671f786d3a65e6b69f5307c4da1701529f318453a1f8a22685b2dae793a6 WHIRLPOOL 82877678a363d20d829f3a3aef62fd0db325afbb86b12acdf4977cdd7d39e4c0839e435d7a9b30a87474ea4b31e7f118291a7575237af9a0097a19212385e934
diff --git a/dev-perl/XML-Twig/XML-Twig-3.520.0.ebuild b/dev-perl/XML-Twig/XML-Twig-3.520.0.ebuild
new file mode 100644
index 0000000000000..806d19f38aef8
--- /dev/null
+++ b/dev-perl/XML-Twig/XML-Twig-3.520.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=MIROD
+DIST_VERSION=3.52
+inherit perl-module
+
+DESCRIPTION="Process huge XML documents in tree mode"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="nls test"
+
+RDEPEND="
+ >=dev-perl/XML-Parser-2.31
+ >=virtual/perl-Scalar-List-Utils-1.230.0
+ >=virtual/perl-Encode-2.240.100_rc
+ >=dev-libs/expat-1.95.5
+ dev-perl/Tie-IxHash
+ dev-perl/XML-XPath
+ >=dev-perl/libwww-perl-6.40.0
+ >=dev-perl/HTML-Parser-3.690.0
+ nls? (
+ >=dev-perl/Text-Iconv-1.2-r1
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ >=dev-perl/XML-Handler-YAWriter-0.230.0
+ >=dev-perl/XML-SAX-Writer-0.530.0
+ )
+"
+
+src_test() {
+ perl_rm_files "t/pod.t" "t/pod_coverage.t" "t/test_changes.t" \
+ "t/test_kwalitee.t" "t/test_meta_json.t"
+ perl-module_src_test
+}
diff --git a/dev-perl/XML-Twig/metadata.xml b/dev-perl/XML-Twig/metadata.xml
index 8026d8601b6c5..99fd748d3c341 100644
--- a/dev-perl/XML-Twig/metadata.xml
+++ b/dev-perl/XML-Twig/metadata.xml
@@ -11,11 +11,11 @@
XML::Twig::Elt
XML::Twig::Entity
XML::Twig::Entity_list
+ XML::Twig::Notation
+ XML::Twig::Notation_list
XML::Twig::XPath
XML::Twig::XPath::Attribute
XML::Twig::XPath::Elt
XML::Twig::XPath::Namespace
- XML::XPath::NodeSet
- XML::XPathEngine::NodeSet