Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyxattr: pyxattr-0.5.3.ebuild ChangeLog
Date: Tue, 03 Jun 2014 03:02:42
Message-Id: 20140603030237.842432004F@flycatcher.gentoo.org
1 idella4 14/06/03 03:02:37
2
3 Modified: ChangeLog
4 Added: pyxattr-0.5.3.ebuild
5 Log:
6 bump; drop py2.6 pypy2_0 add py3.4 support, add IUSE doc, dep, doc build
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.62 dev-python/pyxattr/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyxattr/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 31 Mar 2014 21:03:55 -0000 1.61
24 +++ ChangeLog 3 Jun 2014 03:02:37 -0000 1.62
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pyxattr
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxattr/ChangeLog,v 1.61 2014/03/31 21:03:55 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxattr/ChangeLog,v 1.62 2014/06/03 03:02:37 idella4 Exp $
30 +
31 +*pyxattr-0.5.3 (03 Jun 2014)
32 +
33 + 03 Jun 2014; Ian Delaney <idella4@g.o> +pyxattr-0.5.3.ebuild:
34 + bump; drop py2.6 pypy2_0 add py3.4 support, add IUSE doc, dep, doc build
35
36 31 Mar 2014; Michał Górny <mgorny@g.o> pyxattr-0.5.2.ebuild,
37 pyxattr-9999.ebuild:
38
39
40
41 1.1 dev-python/pyxattr/pyxattr-0.5.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/pyxattr-0.5.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyxattr/pyxattr-0.5.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pyxattr-0.5.3.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyxattr/pyxattr-0.5.3.ebuild,v 1.1 2014/06/03 03:02:37 idella4 Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
54
55 inherit distutils-r1 eutils
56
57 DESCRIPTION="Python interface to xattr"
58 HOMEPAGE="http://pyxattr.k1024.org/"
59 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
60 http://pyxattr.k1024.org/downloads/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
65 IUSE="doc test"
66
67 RDEPEND="sys-apps/attr"
68 DEPEND="${RDEPEND}
69 dev-python/setuptools[${PYTHON_USEDEP}]
70 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
71 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
72
73 python_prepare_all() {
74 sed -i -e 's:, "-Werror"::' setup.py || die
75
76 distutils-r1_python_prepare_all
77 }
78
79 python_compile_all() {
80 use doc && emake doc
81 }
82
83 src_test() {
84 # Perform the tests in /var/tmp; that location is more likely
85 # to have xattr support than /tmp which is often tmpfs.
86 export TESTDIR=/var/tmp
87
88 einfo 'Please note that the tests fail if xattrs are not supported'
89 einfo 'by the filesystem used for /var/tmp.'
90 distutils-r1_src_test
91 }
92
93 python_test() {
94 nosetests || die "Tests fail with ${EPYTHON}"
95 }
96
97 python_install_all() {
98 use doc && local HTML_DOCS=( doc/html/. )
99 distutils-r1_python_install_all
100 }