1 |
idella4 14/03/21 14:58:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygments-1.6-r1.ebuild |
5 |
Log: |
6 |
revbump; update to install bundled bash-completion, patch by E. Uggedal, fixes Bug 01972 by E. Uggedal |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.118 dev-python/pygments/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/ChangeLog?rev=1.118&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/ChangeLog?rev=1.118&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/ChangeLog?r1=1.117&r2=1.118 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v |
20 |
retrieving revision 1.117 |
21 |
retrieving revision 1.118 |
22 |
diff -u -r1.117 -r1.118 |
23 |
--- ChangeLog 5 Sep 2013 18:47:03 -0000 1.117 |
24 |
+++ ChangeLog 21 Mar 2014 14:58:55 -0000 1.118 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/pygments |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.117 2013/09/05 18:47:03 mgorny Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.118 2014/03/21 14:58:55 idella4 Exp $ |
31 |
+ |
32 |
+*pygments-1.6-r1 (21 Mar 2014) |
33 |
+ |
34 |
+ 21 Mar 2014; Ian Delaney <idella4@g.o> +pygments-1.6-r1.ebuild: |
35 |
+ revbump; update to install bundled bash-completion, patch by E. Uggedal, fixes |
36 |
+ Bug 01972 by E. Uggedal |
37 |
|
38 |
05 Sep 2013; Michał Górny <mgorny@g.o> pygments-1.5-r1.ebuild, |
39 |
pygments-1.6.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/pygments/pygments-1.6-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/pygments-1.6-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygments/pygments-1.6-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: pygments-1.6-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.6-r1.ebuild,v 1.1 2014/03/21 14:58:55 idella4 Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) |
56 |
|
57 |
inherit distutils-r1 bash-completion-r1 |
58 |
|
59 |
MY_PN="Pygments" |
60 |
MY_P="${MY_PN}-${PV}" |
61 |
|
62 |
DESCRIPTION="Pygments is a syntax highlighting package written in Python." |
63 |
HOMEPAGE="http://pygments.org/ http://pypi.python.org/pypi/Pygments" |
64 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="BSD" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~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" |
69 |
IUSE="doc test" |
70 |
|
71 |
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
72 |
DEPEND="${RDEPEND} |
73 |
test? ( |
74 |
dev-python/nose[${PYTHON_USEDEP}] |
75 |
virtual/ttf-fonts |
76 |
dev-texlive/texlive-latexrecommended |
77 |
)" |
78 |
|
79 |
S="${WORKDIR}/${MY_P}" |
80 |
|
81 |
python_test() { |
82 |
cp -r -l tests "${BUILD_DIR}"/ || die |
83 |
|
84 |
if [[ ${EPYTHON} == python3.* ]]; then |
85 |
# Notes: |
86 |
# -W is not supported by python3.1 |
87 |
# -n causes Python to write into hardlinked files |
88 |
2to3 --no-diffs -w "${BUILD_DIR}"/tests/*.py || die |
89 |
fi |
90 |
|
91 |
nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}" |
92 |
} |
93 |
|
94 |
python_install_all() { |
95 |
use doc && local HTML_DOCS=( docs/build/. ) |
96 |
|
97 |
distutils-r1_python_install_all |
98 |
newbashcomp external/pygments.bashcomp ${PN} |
99 |
} |