--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5})
+
+inherit distutils-r1
+
+DESCRIPTION="RFC 7049 - Concise Binary Object Representation"
+HOMEPAGE="https://bitbucket.org/bodhisnarkva/cbor https://pypi.python.org/pypi/cbor"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dol-sen@gentoo.org</email>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>bolson@bolson.org</email>
+ <name>Brian Olson</name>
+ </maintainer>
+ <remote-id type="pypi">cbor</remote-id>
+ </upstream>
+ <longdescription>An implementation of RFC 7049 - Concise Binary Object
+ Representation (CBOR). CBOR is comparable to JSON, has a superset of
+ JSON's ability, but serializes to a binary format which is smaller and
+ faster to generate and parse. The two primary functions are
+ cbor.loads() and cbor.dumps(). This library includes a C implementation
+ which runs 3-5 times faster than the Python standard library's
+ C-accelerated implementanion of JSON. This is also includes a 100%
+ Python implementation.
+ </longdescription>
+</pkgmetadata>