1 |
patrick 15/07/06 04:04:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: imapclient-0.13.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 dev-python/imapclient/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imapclient/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imapclient/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imapclient/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/imapclient/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 8 Mar 2015 23:50:41 -0000 1.7 |
24 |
+++ ChangeLog 6 Jul 2015 04:04:43 -0000 1.8 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/imapclient |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imapclient/ChangeLog,v 1.7 2015/03/08 23:50:41 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imapclient/ChangeLog,v 1.8 2015/07/06 04:04:43 patrick Exp $ |
30 |
+ |
31 |
+*imapclient-0.13 (06 Jul 2015) |
32 |
+ |
33 |
+ 06 Jul 2015; Patrick Lauer <patrick@g.o> +imapclient-0.13.ebuild: |
34 |
+ Bump |
35 |
|
36 |
08 Mar 2015; Pacho Ramos <pacho@g.o> imapclient-0.12.ebuild: |
37 |
x86 stable, bug 540290 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/imapclient/imapclient-0.13.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imapclient/imapclient-0.13.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/imapclient/imapclient-0.13.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: imapclient-0.13.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/imapclient/imapclient-0.13.ebuild,v 1.1 2015/07/06 04:04:43 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
55 |
|
56 |
inherit distutils-r1 |
57 |
|
58 |
MY_PN="IMAPClient" |
59 |
MY_P="${MY_PN}-${PV}" |
60 |
|
61 |
DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library" |
62 |
HOMEPAGE="http://imapclient.freshfoo.com/" |
63 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="doc examples test" |
69 |
|
70 |
RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
71 |
DEPEND="${RDEPEND} |
72 |
dev-python/setuptools[${PYTHON_USEDEP}] |
73 |
test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) )" |
74 |
|
75 |
S=${WORKDIR}/${MY_P} |
76 |
|
77 |
python_prepare_all() { |
78 |
# use system setuptools |
79 |
sed -i '/use_setuptools/d' setup.py || die |
80 |
|
81 |
# drop explicit mock version test dep |
82 |
sed -i "/tests_require/s:'mock==.\+':'mock':" setup.py || die |
83 |
|
84 |
# use system six library. patch proven less preferable to use of sed (< maintenance) |
85 |
# but a copy of the working hunks from prior version works fine for now. |
86 |
rm imapclient/six.py || die |
87 |
epatch "${FILESDIR}"/0.12-tests.patch |
88 |
sed -e 's:from .six:from six:g' \ |
89 |
-e 's:from . import six:import six:g' \ |
90 |
-i ${PN}/*.py || die |
91 |
|
92 |
distutils-r1_python_prepare_all |
93 |
} |
94 |
|
95 |
python_test() { |
96 |
"${PYTHON}" -m unittest discover || die "tests failed under ${EPYTHON}" |
97 |
} |
98 |
|
99 |
python_install() { |
100 |
distutils-r1_python_install |
101 |
# don't install examples and tests in module dir |
102 |
rm -r "${D}"$(python_get_sitedir)/imapclient/{examples,test} || die |
103 |
} |
104 |
|
105 |
python_install_all() { |
106 |
# local DOCS=( AUTHORS HACKING.rst NEWS.rst README.rst THANKS ) |
107 |
use doc && local HTML_DOCS=( doc/html/. ) |
108 |
distutils-r1_python_install_all |
109 |
use examples && dodoc -r ${PN}/examples |
110 |
} |