summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-01-01 20:14:04 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-01-01 20:14:04 +0000
commitd65b12e941e3195711a28254448dd5dae782c2a8 (patch)
tree63d224a1d2ecc217497a05d68e308362d8068579 /dev-python
parentTransfer Prefix keywords (diff)
downloadgentoo-2-d65b12e941e3195711a28254448dd5dae782c2a8.tar.gz
gentoo-2-d65b12e941e3195711a28254448dd5dae782c2a8.tar.bz2
gentoo-2-d65b12e941e3195711a28254448dd5dae782c2a8.zip
Bump dev-python/pygments to 1.2.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pygments/ChangeLog9
-rw-r--r--dev-python/pygments/pygments-1.2.ebuild42
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-python/pygments/ChangeLog b/dev-python/pygments/ChangeLog
index 4f8a66c33802..14167b5508ce 100644
--- a/dev-python/pygments/ChangeLog
+++ b/dev-python/pygments/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygments
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.46 2009/11/14 16:47:06 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.47 2010/01/01 20:14:04 djc Exp $
+
+*pygments-1.2 (01 Jan 2010)
+
+ 01 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> +pygments-1.2.ebuild:
+ Version bump to 1.2.
14 Nov 2009; Raúl Porcel <armin76@gentoo.org> pygments-1.1.1.ebuild:
arm/ia64/s390/sh/sparc stable wrt #289434
diff --git a/dev-python/pygments/pygments-1.2.ebuild b/dev-python/pygments/pygments-1.2.ebuild
new file mode 100644
index 000000000000..d7627aa7153c
--- /dev/null
+++ b/dev-python/pygments/pygments-1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.2.ebuild,v 1.1 2010/01/01 20:14:04 djc Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+MY_PN="Pygments"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pygments is a syntax highlighting package written in Python."
+HOMEPAGE="http://pygments.org/ http://pypi.python.org/pypi/Pygments"
+SRC_URI="http://pypi.python.org/packages/source/P/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+SLOT="0"
+IUSE="doc test"
+
+DEPEND="test? ( media-fonts/ttf-bitstream-vera
+ dev-python/nose )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+DOCS="CHANGES"
+
+src_test() {
+ testing() {
+ # A future version of dev-python/nose will support Python 3.
+ [[ "${PYTHON_ABI}" == 3* ]] && return
+
+ "$(PYTHON)" tests/run.py
+ }
+ python_execute_function testing
+}
+
+src_install(){
+ distutils_src_install
+ use doc && dohtml -r docs/build/
+}