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