diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2014-11-16 15:58:01 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2014-11-16 15:58:01 +0000 |
commit | f7f52db4e6e4c0cdcad20a0dc09986cdd6b83be2 (patch) | |
tree | cb5739c19d03c8ccacad3636e7e9376d7cab309b /dev-python | |
parent | Version bump pygments to 2.0.1 (fixes bug 529330) (diff) | |
download | historical-f7f52db4e6e4c0cdcad20a0dc09986cdd6b83be2.tar.gz historical-f7f52db4e6e4c0cdcad20a0dc09986cdd6b83be2.tar.bz2 historical-f7f52db4e6e4c0cdcad20a0dc09986cdd6b83be2.zip |
Remove old version of pygments
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x30380381
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygments/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pygments/Manifest | 35 | ||||
-rw-r--r-- | dev-python/pygments/files/pygments-1.4-fix_tests.patch | 14 | ||||
-rw-r--r-- | dev-python/pygments/pygments-1.4.ebuild | 50 | ||||
-rw-r--r-- | dev-python/pygments/pygments-1.5-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-python/pygments/pygments-1.5.ebuild | 47 | ||||
-rw-r--r-- | dev-python/pygments/pygments-1.6-r1.ebuild | 50 |
7 files changed, 20 insertions, 232 deletions
diff --git a/dev-python/pygments/ChangeLog b/dev-python/pygments/ChangeLog index ce050d003dfd..0a34a73fe852 100644 --- a/dev-python/pygments/ChangeLog +++ b/dev-python/pygments/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pygments # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.137 2014/11/16 15:55:14 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.138 2014/11/16 15:57:55 djc Exp $ + + 16 Nov 2014; Dirkjan Ochtman <djc@gentoo.org> + -files/pygments-1.4-fix_tests.patch, -pygments-1.4.ebuild, + -pygments-1.5-r1.ebuild, -pygments-1.5.ebuild, -pygments-1.6-r1.ebuild: + Remove old version of pygments *pygments-2.0.1 (16 Nov 2014) diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 10a2e86c5246..e432b08eae5c 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1,36 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX pygments-1.4-fix_tests.patch 425 SHA256 9bc75c600f24643f6ec47b17c499bb35045a8485d7c09ad9515e9043347a82cd SHA512 8726a6f9ffa1a0f9f6363b4bb060ca607dac2a0544a84f0cf29617fb61a5d2cfba2d34757d89a07463e2091c6fa05e608e7ea4405e0a1958364e23535b15fa29 WHIRLPOOL fabc5ac008453f82f38a566cab66d4d981f16129053501cdd08d481133044ce38e9284324b6d31d8a6ca687344af262783fd98f2d416f5237422a1a9599d81d3 -DIST Pygments-1.4.tar.gz 3533757 SHA256 bbff02dc309e52846dd963d29483a7295fcc021624738d33359c43971080f9ab SHA512 65fdd52dae809cee1fdb81fd664b82657f8d14a724b84f9138d58ff60d91897799ae0c93e6ed3ded0b792b7077908fa903d24203ed3fb51002c5f62fb273d939 WHIRLPOOL 7a666bcdc82c5159cc0b98fa00513fac82fa54cde666d7cc75b417428ff05a6a8bec5affd278163a1b8c69bc3faa73ef02dc3f6c30e904011d940ef4cbc21510 -DIST Pygments-1.5.tar.gz 3712566 SHA256 fe183e3886f597e41f8c88d0e53c796cefddc879bfdf45f2915a383060436740 SHA512 b194cb3a043c63b63a6c6a1603883db805d4241b76de7ae80d3da52e079274d616fbf782fd57058db25b5079332b346e572696f03d144520ffdad9e5e68e35f8 WHIRLPOOL 330533bbb2f6502c48f07748ecc080e289783fed381e2a15826863af7ac1dd4e527e3d74c6bde9b84072fc2ef382e3a54dbed0d76092c8d0b6701dda2b8786bc DIST Pygments-1.6.tar.gz 1423161 SHA256 799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0 SHA512 552d0c2a1296773a5482122bd5cbec0ce91a497cd86ee105e1c5ddf2bfa9c206fcc7de504c6da480344c6e1bee30d7b26012fd061dcb2091d8b2b21bcd163bf0 WHIRLPOOL babf6e638529a902fab37c17fb1215aca3c04c3e2a00d00bdff7e8049ca6a46c238282c088e79816f7c6879fc9b13e3de9824ae93d3f184f4d9aae58af0c9c8d DIST pygments-1.6_p20140324.tar.gz 1641814 SHA256 f762d1104ab38a4e870824113e3be3fedc918900622f1e73b9c34386ee7be14a SHA512 de84977f346b41a60a849e681581b36787712d39010e0e23624cc2d9741cb5afbbb0a4e860b5120e3cb77eb5fc68ddf11d0f6c1d15e0bb4d7c56d800017b19bf WHIRLPOOL 7531e7a2483f3c043967d32848694324007c5a1a7e206472a17f5515eb6960dc1bec774851d75bc4ccc4615594db0c5218713da22da6c2d1cbfdf995827746be DIST pygments-2.0.1.tar.gz 1641814 SHA256 f762d1104ab38a4e870824113e3be3fedc918900622f1e73b9c34386ee7be14a SHA512 de84977f346b41a60a849e681581b36787712d39010e0e23624cc2d9741cb5afbbb0a4e860b5120e3cb77eb5fc68ddf11d0f6c1d15e0bb4d7c56d800017b19bf WHIRLPOOL 7531e7a2483f3c043967d32848694324007c5a1a7e206472a17f5515eb6960dc1bec774851d75bc4ccc4615594db0c5218713da22da6c2d1cbfdf995827746be -EBUILD pygments-1.4.ebuild 1232 SHA256 df4f9d0184369edbf1da6ad4af5ea9fdb5a16fada6d9e978c1ab111a00a052d7 SHA512 288d36488410aea5dd4bd5769886d341990d5c801fbcd6bac949c763852c419cf1c94b00c90d6b697ac27c3f26cdbf9f2f17499d922196d742b0e2d1adef95c4 WHIRLPOOL 2002425cdf6267f9be3173e8459c71bd7f29ecd66351c29197f97d30ed21f482534a23141557adebe021a7e789509040a57b02e38de017d03f566f4514d1842f -EBUILD pygments-1.5-r1.ebuild 1427 SHA256 b5244859c8eba53dc44ee6524826c8eb411aaa5c0710665bd3aa926d8ffd0b4e SHA512 1110551a26c6284fdbc7ad9ea8138ba419a92fae2493b7e0ec79c8a227946b63ccecd81bc4ffd115ed4de3eafbb8a691a2c1be31b0a8f733c0425824d1c03a1c WHIRLPOOL 4b8e048577fd0ae35ffe18f052a8c229a6df63209764c0ac5060df2068645d9adf6c259e06a621a1af053a6680d99e0112799b9818ef6c2497e6318ec5efb595 -EBUILD pygments-1.5.ebuild 1225 SHA256 1d7da7355c1455ed56d03658775458fdb48f961c6d8763601e6004ea6962a023 SHA512 d79ea595d7cb799e3c1308c495f366527160f28209e92af3e96f302a827224ab45261c492c4dc07b739d14fc7483e192b140c5770a3b7d86e661066d015d3c6b WHIRLPOOL 2f31f7bdf571133db5b71f155de2f77cf05f295520dcf63110da7dcaf2e58f025f9236e4b50baab20e34b5af7aacde2cb5acd052d5569fac94c2b6f13d16e3b2 -EBUILD pygments-1.6-r1.ebuild 1531 SHA256 b3b147a92a7ea454ed5a3d78b90f576ab411938c7dd80f6a8d55b978642a5746 SHA512 024c7168487a246105c19df540ffea0de5c4c0f1e16c853627ab5e6e842b4e4837e3607b316183c7c60c7160a52388aaca80ed68708fdb353cd9e11965e7a4ec WHIRLPOOL f862da8e70c73ba1dba78343706cd70a4bbeb824eae1da055578c5b573cba4a0dcadcd13cdc5a015be6a13fe8b89b5af216f68fdb9682f1b9593348be171d3b7 EBUILD pygments-1.6.ebuild 1453 SHA256 3c4c2025679027cd6549b34469cb134f311d081535ea6105e202c84ca599a359 SHA512 827dc3b1c634091204125236f3c787b85e53599322d482dd322a09517f530798a6a0d0c1679c417e72458f9235ec5500ac9b7cf54e1b69405f1868ca1e09b345 WHIRLPOOL b4685d63ca72e3c5f9245237a185c2a95557ccdb681315c93914d64fda339aaefca4a5864929380a0d15d9ca03d7250f6ca9d17c27359556d3af4aea15b8f468 EBUILD pygments-1.6_p20140324-r1.ebuild 1972 SHA256 caa7dafb60cb952687da1794f4ebc79da5dc7fc82d0a569608c65479c927059e SHA512 6a43491e3d80dc7309c48e221cdfd8761475903912f50d04ad4a6909738984beea48452dd3ce4656a772b43f0eca3bea46624a431f8fdeb99cde4538b7cca517 WHIRLPOOL c910b993b283ee0c76fa261da779471820749490d21110caadbe41a3da4564794d80e81bcd7a569d74bf81dc667b96f6d02f15a4d54fb5ab58f75cadebb0d815 EBUILD pygments-1.6_p20140324.ebuild 1967 SHA256 2923024eba95da86ec5a0e005eaf5f6f93f2b157e8c0a559a518ad2d9dd3fd01 SHA512 d39262ea4f2905c15553610a8d59c80e0a5cd10adcdb9f8035ab3a0891d325662b87bfb14cff4fb6afe99c06d7b57162902ea2f0333fe7d1f476c260e89c98a5 WHIRLPOOL 1c91c50fa9f66d3d0f4c1df79cedaf5ee856ced0248335fa96faffca4c90a1ffbe2fac8c838f620de952a5ef99f353ff5ed286cfe3d1d3fbb4c015648301093b EBUILD pygments-2.0.1.ebuild 1963 SHA256 56526c576f654157a9e94dcdc0c60e2e7975d54877b6b529db824ef07ca23f9c SHA512 d91f800f0103c54d4f45032cf723bb5db2278a448ed101e90ab5e2ae574986729d154f1e60ff8ee36936c984392002eb9bc8cabc54584e6eaa0dc7924d583c26 WHIRLPOOL a7de4bfe06db084aab98fac356612fbf338fa2cc211309cd4a221fb8a259aded2e1917f252c53a633962f61329260625c0623f1d25726fe104e8145bae831881 -MISC ChangeLog 17344 SHA256 75447f29b7a51c6a576c675e45f4b463ccee54ca1c765487ac557150fde68787 SHA512 e8e2d162ce57672c34b6cf138aa7172ad3bb49fc14bc9ee8f779ce78e407a603cf5116f7a62e95767f8a9b7e8aaef1c4e27ee417a54b9965c278aee1f2d21bd3 WHIRLPOOL 076cef2af112391b22ee52d594d3da8fa149690de383e07d6b59bbb0d50bd1d1f8dd5792ca9637fe128c2d1ab7bc351f23a18a97849dcae4bfa35650f4b28a4f +MISC ChangeLog 17561 SHA256 eb1319c8cc3e7da9c2542a47f19eea7b9e0dcfb27577a98d17c775d61d3411f2 SHA512 5042ed68d6792ca3737a8bca37d98c00eae5da371b9566218719a5fa47886d4f0bce15c7baf8ea791e576ce79eb49aa7e9a944cfa0d336fab49737f981e31777 WHIRLPOOL 09f9b8b60631fc2db5cb892862e0b5a979baacb8a2606fdc2418f20618308a2ce66f0fa4c7a9045833bc410ae04409cc993a5d1a922a99548c64272b1e45522a MISC metadata.xml 395 SHA256 fa28f657c40a4f24af13aa584d1e103e5d02996a48c135833199c3f62c0d140b SHA512 ab5d25b7e1a8a14097cde99e12c4146c58de8ae581ea8595f497aa085c34437fbc12ff379a26d99bcd43a623152ec84f207cc2abf452f405a0d6209697520401 WHIRLPOOL a83e096d6c89277a1c28e35f595ecf5406f04e30885ba0d0e611f3d9ea36eda5bc175075260e5dabe70d5e2a8b0fb54682234bf9f88c69a13b975cce1838970c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUaMnuAAoJEJ+WuSkwOAOBzgUP/2Xq5iHxp2788+zV/WNNWfwj -1QKmDNz1XSxyIAir1S43KYECnd+ovp4332dr7gi00r1U3lFBp5b2XwTOxhEcevgx -mC+B2YyZs3bXdnqfEl03NV+pnpeosBBuqWZol6G5QL4PWt66CtbGBEDcuioLlvmU -EoC+OzSj7mN0H1gAnoSG8IEFrgWZ1J5Rh9MrftjdvHkbiLmhXFngZyvyrXQ4sEMT -olX8bUuOUlL2Nhb4P+CTZ2VFlF+oB9G6nj8MGquxfhyCHhI9HuiO4HoUus+goJhe -9SIY96l6PtaUjBXtdGgad/zD4357NAVd0r8mePBMihBNWzdaKNc+B7i+w/DNnsPf -C1mgjwiFy8nT93ulUoLyMCxUD5bh0JbAvhijdcsxHIDrDRFf+xozX06dDHxxahJx -60wmEgysDAhvbprfGirN+b2CTwBgsAlJVCNzngSwxZinjHgleNZ4RORi0IX/8+UE -ReN9hO1K2qazn2ichqV/2qonatCb+s6zAjpRgBqLujQyGQZkvPGIxAUt6GThG1wR -9olRZQunv9S5bXac9HOn1s+ZQEbytUnrvsKetGuwmaq3FH0if84qYETQd6RF3LX0 -tp4UP6ZXiW+P4G33xA7/3tl5Dx37E5n9zf4fobTwqX4XJ7GGYx4cAeou4EMa5dbv -tfcf5wzG8sknxEvQLKkn -=+D5d +iQIcBAEBCAAGBQJUaMqQAAoJEJ+WuSkwOAOBcGIQAKMWNiZlbKMmcbaYTOURFibw +xpVMBU3ActcplNywErjHvt3ZO9lHQ9u4vVLJNOIQVX3rU9JHtoIsBblrSwXSa2i1 +GV3h7MUgJ6HsBiV6oirUAbPImqUG+5xF4JleHSaAitTvS+gg2lpCtXxjPfBx6+A0 +bjr/Kvocw+eg40Pi+SBgpEVEZ4xBEc8QaWk/d3Z+4Ytz6Kpo0c0xda6bftGCJdtP +GFwuHeLMktsa704kaM0ssrX7H29zQTRlIEVfgg4Phy1/UpGqPrSh57ZRd7hH/wRO +TmvzoBoRhLNN+ZAhak/rvS5X9KOEWEi47tE7nyB0rHTrb0T8n1B/Z6b5gFZWIldh +Bkl1Aj74Uhm7RC+27WLnV+iN7b/N9bzHdlZCqpVLvEWNgLlB1nN0+/7rh8lQs4D+ +2TbWLwYapCS7BMZfM2iNOIRKGe5W+SOkAe+t6w/bLya+QRoKZ7ApIh+cKnvKoUrj +eV/oAjKCJMD/dpDl3z6rL73TjXSzpEa0xjxCHJYYiB4PWcWbhOCRP8O6ZLRYlYkB +emUxrstQ9nVTL+I51sD8TwaTTB64VGBhteugLJUiKJNsLySUmZncbHDAiFWsoAWn +s3/1lJISHJvyMo3idu8O2IvL8+RR4jqKrm0sBbXBnkVsQ/sRAzapXOGIWKX1uW7t +s6YwvkyhggDB/M3kBx3h +=Rqau -----END PGP SIGNATURE----- diff --git a/dev-python/pygments/files/pygments-1.4-fix_tests.patch b/dev-python/pygments/files/pygments-1.4-fix_tests.patch deleted file mode 100644 index d579dab02c23..000000000000 --- a/dev-python/pygments/files/pygments-1.4-fix_tests.patch +++ /dev/null @@ -1,14 +0,0 @@ -https://bitbucket.org/birkenfeld/pygments-main/changeset/da2cb64f569c - ---- tests/test_basic_api.py -+++ tests/test_basic_api.py -@@ -55,6 +55,9 @@ - assert 'root' in cls._tokens, \ - '%s has no root state' % cls - -+ if cls.name == 'XQuery': # XXX temporary -+ return -+ - tokens = list(inst.get_tokens(test_content)) - txt = "" - for token in tokens: diff --git a/dev-python/pygments/pygments-1.4.ebuild b/dev-python/pygments/pygments-1.4.ebuild deleted file mode 100644 index 1fe80e5b6180..000000000000 --- a/dev-python/pygments/pygments-1.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.4.ebuild,v 1.9 2014/08/10 21:16:43 slyfox Exp $ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils eutils - -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="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc test" - -DEPEND="test? ( - dev-python/nose - virtual/ttf-fonts - )" -RDEPEND="" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_prepare() { - distutils_src_prepare - epatch "${FILESDIR}/${P}-fix_tests.patch" -} - -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/run.py - } - python_execute_function testing -} - -src_install(){ - distutils_src_install - - if use doc; then - dohtml -r docs/build || die "Installation of documentation failed" - fi -} diff --git a/dev-python/pygments/pygments-1.5-r1.ebuild b/dev-python/pygments/pygments-1.5-r1.ebuild deleted file mode 100644 index 4c13345073e3..000000000000 --- a/dev-python/pygments/pygments-1.5-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.5-r1.ebuild,v 1.19 2014/08/10 21:16:43 slyfox Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) - -inherit distutils-r1 - -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="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -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" -IUSE="doc test" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - dev-python/nose[${PYTHON_USEDEP}] - virtual/ttf-fonts - dev-texlive/texlive-latexrecommended - )" - -S="${WORKDIR}/${MY_P}" - -python_test() { - cp -r -l tests "${BUILD_DIR}"/ || die - - if [[ ${EPYTHON} == python3.* ]]; then - # Notes: - # -W is not supported by python3.1 - # -n causes Python to write into hardlinked files - 2to3 --no-diffs -w "${BUILD_DIR}"/tests/*.py || die - fi - - nosetests -w "${BUILD_DIR}"/tests || die -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/pygments/pygments-1.5.ebuild b/dev-python/pygments/pygments-1.5.ebuild deleted file mode 100644 index e44ea618cc47..000000000000 --- a/dev-python/pygments/pygments-1.5.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.5.ebuild,v 1.13 2014/08/10 21:16:43 slyfox Exp $ - -EAPI="3" -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="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -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" -IUSE="doc test" - -RDEPEND="dev-python/setuptools" -DEPEND="${RDEPEND} - test? ( - dev-python/nose - virtual/ttf-fonts - dev-texlive/texlive-latexrecommended - )" - -S="${WORKDIR}/${MY_P}" - -DOCS="CHANGES" - -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/run.py - } - python_execute_function testing -} - -src_install(){ - distutils_src_install - - if use doc; then - dohtml -r docs/build || die "Installation of documentation failed" - fi -} diff --git a/dev-python/pygments/pygments-1.6-r1.ebuild b/dev-python/pygments/pygments-1.6-r1.ebuild deleted file mode 100644 index 74f22398e4d9..000000000000 --- a/dev-python/pygments/pygments-1.6-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/pygments-1.6-r1.ebuild,v 1.3 2014/08/10 21:16:43 slyfox Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) - -inherit distutils-r1 bash-completion-r1 - -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="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -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" -IUSE="doc test" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - dev-python/nose[${PYTHON_USEDEP}] - virtual/ttf-fonts - dev-texlive/texlive-latexrecommended - )" - -S="${WORKDIR}/${MY_P}" - -python_test() { - cp -r -l tests "${BUILD_DIR}"/ || die - - if [[ ${EPYTHON} == python3.* ]]; then - # Notes: - # -W is not supported by python3.1 - # -n causes Python to write into hardlinked files - 2to3 --no-diffs -w "${BUILD_DIR}"/tests/*.py || die - fi - - nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/. ) - - distutils-r1_python_install_all - newbashcomp external/pygments.bashcomp ${PN} -} |