summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-12-09 13:16:33 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-12-09 13:16:33 +0000
commit1a7135414c491bf7fcc93268e75ca8c7bfcf1c2f (patch)
treebb2aa3e230d2ff2d79ecfd1444ffbfe819b54ae9 /dev-python/pygments
parentdrop bsd patch that doesnt apply anymore, bug #231910 (diff)
downloadhistorical-1a7135414c491bf7fcc93268e75ca8c7bfcf1c2f.tar.gz
historical-1a7135414c491bf7fcc93268e75ca8c7bfcf1c2f.tar.bz2
historical-1a7135414c491bf7fcc93268e75ca8c7bfcf1c2f.zip
Version bump
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.21-gentoo-r1 i686
Diffstat (limited to 'dev-python/pygments')
-rw-r--r--dev-python/pygments/ChangeLog7
-rw-r--r--dev-python/pygments/Manifest4
-rw-r--r--dev-python/pygments/pygments-1.0.ebuild54
3 files changed, 63 insertions, 2 deletions
diff --git a/dev-python/pygments/ChangeLog b/dev-python/pygments/ChangeLog
index 7666dfbf3f28..7feb2492965e 100644
--- a/dev-python/pygments/ChangeLog
+++ b/dev-python/pygments/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pygments
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.22 2008/10/07 12:21:10 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.23 2008/12/09 13:16:33 caleb Exp $
+
+*pygments-1.0 (09 Dec 2008)
+
+ 09 Dec 2008; Caleb Tennis <caleb@gentoo.org> +pygments-1.0.ebuild:
+ Version bump
*pygments-0.11.1 (07 Oct 2008)
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 116a23504fa8..4610a5b58631 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,8 +1,10 @@
DIST Pygments-0.10.tar.gz 836229 RMD160 8bfe3e3f9267f8f9366ff4dd2c3ae9b10fa778d8 SHA1 09ca526b40655db993fdc9f1c1b89de525f32080 SHA256 62a73fd3a009804910398aac2c5850609b7528d3e04dd003b0abd0f068bf684d
DIST Pygments-0.11.1.tar.gz 865977 RMD160 a0ff959c56a4754ec17141f59c0679e7f2a073da SHA1 1209029a1b06c779c523e71a33d096ec7f1237d1 SHA256 fa34ceda25194cba7eec566a8480ce3ee5cfd139ce828450cc366b95a951ddef
DIST Pygments-0.9.tar.gz 780966 RMD160 17d1e3ca9a2986593c773a1b66cb5eae4032c6cf SHA1 2d5a3186a6b9c6f6e05c147eeb18af37b7937708 SHA256 5013074493a2df39024b1367b2e1184a5eb2306bdb57cd2098f89d0fd32912b9
+DIST Pygments-1.0.tar.gz 930751 RMD160 aa9d4816bb1bd1b67a5e6ac0f94d9ae3410df71b SHA1 b71e33147fc402e361227b30e1f589eecafd42a7 SHA256 bbd1e8661e674b359a1717f13bfa9b2ff84991469b4fc3c1fa5c4d78b40766ff
EBUILD pygments-0.10.ebuild 1425 RMD160 fff117a94ed24ef23103199f235c50e72df9db29 SHA1 c149a9aaeb61670b425f9c34716df5b4d79b2fb5 SHA256 0d7fbc64a1cf57039bdf30dabb45d1d4a2d9b89b5d6bb015f71aa2e5598ecb68
EBUILD pygments-0.11.1.ebuild 1432 RMD160 175ef630be6601e5b5a69c129bd026d67bf48d9c SHA1 9a95134558faf0c1b2f4cc302cd4d9e64fb31581 SHA256 356f5d32d87f96657e1c2ccdbee7eb32f45d249c38a8d914a557090fd6749285
EBUILD pygments-0.9.ebuild 1430 RMD160 91e1d1801999e2630df3ac0f4ad055015000ff02 SHA1 f58f4e6d6321f7681cd8b0bfe870f2b439a6e5ee SHA256 c75529c7c3e0a789c2c717c12030fe5660aafcaee0a19788082d1d111035819e
-MISC ChangeLog 3540 RMD160 decb63850770f388a6d102a4bdaa6daec968700e SHA1 ac078a7172337e4af9cd31ac016ac82c8acbd59a SHA256 b7d2738c6df9f441376386a0068180a295af5d1085d8c20c5992873242dcb4dd
+EBUILD pygments-1.0.ebuild 1429 RMD160 bf32fcbe6ff385fe9ceea48e37a9ba3bb9fd6fdd SHA1 82c4e25d9c2fe012e55ef14fdf77a44ecaf34275 SHA256 d240a96c422fc8169d454c03c64bed8a91ab4e5136a5b303122b95dbb6bf32e1
+MISC ChangeLog 3654 RMD160 23d511341f56987609e63102d4634323d10a8d69 SHA1 7c1fa81f0a9056f9ca6a512e3f44f1233671dd5a SHA256 112257b0b156a2586542f75df2ea38be1abbbda8aae29ecf4b25e716abaa433c
MISC metadata.xml 324 RMD160 e99bd87525fcbccf3a5b10eae160832ae26a013c SHA1 330d20ed94f6607bb7293f935789dcf3f1151cc7 SHA256 83404c337ddbe4445d64859a64e352d02b7e3fd9929e4a265c06880d7938da3e
diff --git a/dev-python/pygments/pygments-1.0.ebuild b/dev-python/pygments/pygments-1.0.ebuild
new file mode 100644
index 000000000000..741ebed549c5
--- /dev/null
+++ b/dev-python/pygments/pygments-1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.0.ebuild,v 1.1 2008/12/09 13:16:33 caleb Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils
+
+MY_PN="Pygments"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Pygments is a syntax highlighting package written in Python."
+HOMEPAGE="http://pygments.org/"
+SRC_URI="http://cheeseshop.python.org/packages/source/P/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="doc test"
+
+DEPEND="test? ( media-fonts/ttf-bitstream-vera )"
+RDEPEND="dev-python/setuptools"
+
+S="${WORKDIR}/${MY_P}"
+DOCS="CHANGES"
+
+src_unpack() {
+ distutils_src_unpack
+
+ # Make lexer recognize ebuilds as bash input
+ sed -i \
+ -e "/\(BashLexer\|aliases\)/s/\('sh'\)/\1, 'ebuild', 'eclass'/" \
+ -e "/\(BashLexer\|filenames\)/s/\('\*\.sh'\)/\1, '*.ebuild', '*.eclass'/" \
+ ${PN}/lexers/_mapping.py ${PN}/lexers/other.py ||\
+ die "sed failed."
+
+ #Our usual PYTHONPATH manipulation trick doesn't work, it will try to run
+ #tests on the installed version:
+ if use test ; then
+ sed -i \
+ -e "s/import pygments/sys.path.insert(0, '.');import pygments/" \
+ tests/run.py || \
+ die "sed failed"
+ fi
+}
+
+src_install(){
+ distutils_src_install
+ use doc && dohtml -r docs/build/
+}
+
+src_test() {
+ "${python}" tests/run.py || die "tests failed"
+}