dev-python/pyjwt/pyjwt-9999.ebuild
changeset 112 78ed8648e21d
child 151 1abc0aae9e43
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/pyjwt/pyjwt-9999.ebuild	Tue Nov 12 12:09:01 2013 +0100
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
+
+inherit distutils-r1 git-r3
+
+EGIT_REPO_URI="https://github.com/mandus/pyjwt.git"
+
+MY_PN="PyJWT"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Python implementation of JSON Web Token"
+HOMEPAGE="http://pypi.python.org/pypi/PyJWT"
+
+if [ $PV != 9999 ] ; then
+	SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+#TODO add pycrypto dep
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]"