Updates for portage-2.3.40 release
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index e243142..f74bb3d 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -1,6 +1,12 @@
 Release Notes; upgrade information mainly.
 Features/major bugfixes are listed in NEWS
 
+portage-2.3.40
+==================================
+* Bug Fixes:
+    - Bug 656492 AttributeError: 'set' object has no attribute 'items'
+
+
 portage-2.3.39
 ==================================
 * Bug Fixes:
diff --git a/setup.py b/setup.py
index f3f45f4..4fb26ae 100755
--- a/setup.py
+++ b/setup.py
@@ -662,7 +662,7 @@
 
 setup(
 	name = 'portage',
-	version = '2.3.39',
+	version = '2.3.40',
 	url = 'https://wiki.gentoo.org/wiki/Project:Portage',
 	author = 'Gentoo Portage Development Team',
 	author_email = 'dev-portage@gentoo.org',