Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyjwt: pyjwt-1.3.0.ebuild ChangeLog
Date: Sat, 30 May 2015 11:58:05
Message-Id: 20150530115800.7C483A07@oystercatcher.gentoo.org
1 maksbotan 15/05/30 11:58:00
2
3 Modified: ChangeLog
4 Added: pyjwt-1.3.0.ebuild
5 Log:
6 Bump to 1.3.0. Dropped arm keyword as dev-python/pytest-runner doesn't have it
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.7 dev-python/pyjwt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyjwt/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyjwt/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyjwt/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyjwt/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 8 Apr 2015 08:05:18 -0000 1.6
24 +++ ChangeLog 30 May 2015 11:58:00 -0000 1.7
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pyjwt
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyjwt/ChangeLog,v 1.6 2015/04/08 08:05:18 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyjwt/ChangeLog,v 1.7 2015/05/30 11:58:00 maksbotan Exp $
30 +
31 +*pyjwt-1.3.0 (30 May 2015)
32 +
33 + 30 May 2015; Maxim Koltsov <maksbotan@g.o> +pyjwt-1.3.0.ebuild:
34 + Bump to 1.3.0. Dropped arm keyword as dev-python/pytest-runner doesn't have it
35
36 08 Apr 2015; Michał Górny <mgorny@g.o> pyjwt-0.2.1.ebuild:
37 Drop old Python implementations
38
39
40
41 1.1 dev-python/pyjwt/pyjwt-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyjwt/pyjwt-1.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyjwt/pyjwt-1.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pyjwt-1.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyjwt/pyjwt-1.3.0.ebuild,v 1.1 2015/05/30 11:58:00 maksbotan Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
54
55 inherit eutils distutils-r1
56
57 MY_PN="PyJWT"
58
59 DESCRIPTION="JSON Web Token implementation in Python"
60 HOMEPAGE="http://github.com/progrium/pyjwt https://pypi.python.org/pypi/PyJWT/"
61 #SRC_URI="https://github.com/progrium/${P}/archive/${PV}.tar.gz -> ${P}.tar.gz"
62 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
63
64 LICENSE=" MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="test"
68
69 RDEPEND=""
70 DEPEND="
71 dev-python/setuptools[${PYTHON_USEDEP}]
72 dev-python/pytest-runner[${PYTHON_USEDEP}]
73 test? (
74 dev-python/pytest[${PYTHON_USEDEP}]
75 dev-python/pytest-cov[${PYTHON_USEDEP}]
76 )
77 "
78 S="${WORKDIR}"/${MY_PN}-${PV}
79
80 python_prepare_all() {
81 find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
82 find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
83
84 distutils-r1_python_prepare_all
85 }
86
87 python_test() {
88 esetup.py test
89 }
90
91 pkg_postinst() {
92 elog "Available optional features:"
93 optfeature "cryptography" dev-python/cryptography
94 optfeature "flake8" dev-python/flake8
95
96 ewarn "flake8 feature requires 'flake8-import-order' and 'pep8-naming', which are not in portage yet"
97 }