equal
deleted
inserted
replaced
1 # Copyright 1999-2013 Gentoo Foundation |
|
2 # Distributed under the terms of the GNU General Public License v2 |
|
3 # $Header: $ |
|
4 |
|
5 EAPI=5 |
|
6 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} ) |
|
7 |
|
8 inherit distutils-r1 git-r3 |
|
9 |
|
10 EGIT_REPO_URI="https://github.com/mandus/pyjwt.git" |
|
11 |
|
12 MY_PN="PyJWT" |
|
13 MY_P="${MY_PN}-${PV}" |
|
14 |
|
15 DESCRIPTION="A Python implementation of JSON Web Token" |
|
16 HOMEPAGE="http://pypi.python.org/pypi/PyJWT" |
|
17 |
|
18 if [ $PV != 9999 ] ; then |
|
19 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
|
20 S="${WORKDIR}/${MY_P}" |
|
21 fi |
|
22 |
|
23 LICENSE="MIT" |
|
24 SLOT="0" |
|
25 KEYWORDS="" |
|
26 IUSE="" |
|
27 |
|
28 RDEPEND="" |
|
29 #TODO add pycrypto dep |
|
30 DEPEND="${RDEPEND} |
|
31 dev-python/setuptools[${PYTHON_USEDEP}]" |
|