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/pygments: pygments-2.0.2.ebuild ChangeLog pygments-1.6_p20140324.ebuild
Date: Sun, 08 Feb 2015 08:58:34
Message-Id: 20150208085827.BD58E114F5@oystercatcher.gentoo.org
1 idella4 15/02/08 08:58:27
2
3 Modified: ChangeLog
4 Added: pygments-2.0.2.ebuild
5 Removed: pygments-1.6_p20140324.ebuild
6 Log:
7 bump; reset SRC_URI to pypi for this version, drop unused resource hungry dep from test phase, update test phase, rm 1 old
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.149 dev-python/pygments/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/ChangeLog?rev=1.149&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/ChangeLog?rev=1.149&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/ChangeLog?r1=1.148&r2=1.149
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v
21 retrieving revision 1.148
22 retrieving revision 1.149
23 diff -u -r1.148 -r1.149
24 --- ChangeLog 5 Jan 2015 09:13:16 -0000 1.148
25 +++ ChangeLog 8 Feb 2015 08:58:27 -0000 1.149
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-python/pygments
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.148 2015/01/05 09:13:16 dlan Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.149 2015/02/08 08:58:27 idella4 Exp $
31 +
32 +*pygments-2.0.2 (08 Feb 2015)
33 +
34 + 08 Feb 2015; Ian Delaney <idella4@g.o> +pygments-2.0.2.ebuild,
35 + -pygments-1.6_p20140324.ebuild:
36 + bump; reset SRC_URI to pypi for this version, drop unused resource hungry dep
37 + from test phase, update test phase, rm 1 old
38
39 05 Jan 2015; Yixun Lan <dlan@g.o> pygments-2.0.1.ebuild:
40 keyword ~arm64, test on board
41
42
43
44 1.1 dev-python/pygments/pygments-2.0.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/pygments-2.0.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/pygments-2.0.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: pygments-2.0.2.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-2.0.2.ebuild,v 1.1 2015/02/08 08:58:27 idella4 Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
57
58 inherit distutils-r1 bash-completion-r1 vcs-snapshot
59
60 MY_PN="Pygments"
61 MY_P="${MY_PN}-${PV}"
62
63 DESCRIPTION="Pygments is a syntax highlighting package written in Python"
64 HOMEPAGE="http://pygments.org/ http://pypi.python.org/pypi/Pygments"
65 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
66
67 LICENSE="BSD"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
70 IUSE="doc test"
71
72 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
73 DEPEND="${RDEPEND}
74 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
75 test? (
76 dev-python/nose[${PYTHON_USEDEP}]
77 virtual/ttf-fonts )"
78 # dev-texlive/texlive-latexrecommended
79 # Removing / commenting out this dep. I can find no mention of it in tests other than
80 # importing pygment's own tex module. If it's there and I missed it just uncomment and re-add
81 # Tests pass without it
82
83 S="${WORKDIR}/${MY_P}"
84
85 python_compile_all() {
86 use doc && emake -C doc html
87 }
88
89 python_test() {
90 cp -r -l tests "${BUILD_DIR}"/ || die
91 # With pypy3 there is 1 error out of 1556 tests when run as is and
92 # (SKIP=8, errors=1, failures=1) when run with 2to3; meh
93 nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
94 }
95
96 python_install_all() {
97 use doc && local HTML_DOCS=( doc/_build/html/. )
98
99 distutils-r1_python_install_all
100 newbashcomp external/pygments.bashcomp pygmentize
101 }