diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-10-07 08:09:47 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-10-07 08:09:47 +0000 |
commit | 5cb05eba8cf46801cb038d0e100e6aad3120bb91 (patch) | |
tree | dc2e5bfb5263ca6fcffc335edc7a0f374ee2dbcf /dev-python | |
parent | Version bump (diff) | |
download | historical-5cb05eba8cf46801cb038d0e100e6aad3120bb91.tar.gz historical-5cb05eba8cf46801cb038d0e100e6aad3120bb91.tar.bz2 historical-5cb05eba8cf46801cb038d0e100e6aad3120bb91.zip |
revbump; rename (data) file to pygmentize to effect bash-completion, fixes Bug #521166
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygments/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pygments/Manifest | 11 | ||||
-rw-r--r-- | dev-python/pygments/pygments-1.6_p20140324-r1.ebuild | 68 |
3 files changed, 82 insertions, 6 deletions
diff --git a/dev-python/pygments/ChangeLog b/dev-python/pygments/ChangeLog index f30582003cd1..b6610f6a727f 100644 --- a/dev-python/pygments/ChangeLog +++ b/dev-python/pygments/ChangeLog @@ -1,6 +1,13 @@ # 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.126 2014/10/04 21:13:28 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygments/ChangeLog,v 1.127 2014/10/07 08:09:24 idella4 Exp $ + +*pygments-1.6_p20140324-r1 (07 Oct 2014) + + 07 Oct 2014; Ian Delaney <idella4@gentoo.org> + +pygments-1.6_p20140324-r1.ebuild: + revbump; rename (data) file to pygmentize to effect bash-completion, fixes Bug + #521166 04 Oct 2014; Jeroen Roovers <jer@gentoo.org> pygments-1.6_p20140324.ebuild: Stable for HPPA (bug #524416). diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 792a1106d717..0c2247de4d15 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -11,13 +11,14 @@ EBUILD pygments-1.5-r1.ebuild 1427 SHA256 b5244859c8eba53dc44ee6524826c8eb411aaa 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 2101 SHA256 1ce66bb315d7e474d58b9aa89bfd6d9081f6a5a50b5de9165e02be35b4d6ce4a SHA512 02e058cc973ba4d1c34d8544d2b13693f28bcdb1a08a4517a56e3e7a36c5e21949fba308f8155b339d5dff7df60843f56f0b13ed34046c17c0930a447bd51207 WHIRLPOOL a0c9c425cbb53dd448eeea23a136da6c147ce5e6b13b3ddf21f2f2a1bb0fd0f990746651afd7cdcef90fb72c1c7c5e046583db66cfe4671595e340d7ad57e124 EBUILD pygments-1.6_p20140324.ebuild 1969 SHA256 672a6c9fdb67e5ce0d6ee6dde69bb37508854971e799a20d7657d24faed7fa34 SHA512 85a549a806ec90080f22a58a33cef89a1fbeccdcc10b7ac21d2e5fe325c5aa5c530ae9265b81d1497a53db605954132e2b94f0408dd2731f8e71f3f81d2911e4 WHIRLPOOL a13f783380cfc06656ffa4d5d195697e49817d3738dbd6f3bf68f751d3de47e8a242abcc82daed3c324fe17f596cd2676234092b467e0521e508efd26487260e -MISC ChangeLog 15847 SHA256 f04cdebce1e84b45070e493a2596c84112b126a4f9bb8ab2b42d05ac3a423ade SHA512 ad1be61a763cf84d4e7af76d29db8d7832c5e4a7150e24f5e7d1c29bc28ae482c1c9d29f60d5b9a8f8e8132abd6a282453d1061e01aa52e9843fafd11bc1065e WHIRLPOOL c90e1f44ca7d72982bb9bb7d935601238ea31ee64722530ffb0a5c115cba7bfaf876d142a48be8dfddf06b3a3a067ab34799947747e991c1f269db0b60f73099 +MISC ChangeLog 16070 SHA256 69171096a0de0b2bc2860f8c7476f43a51afa68d67d0e8155b9ff8d9f0fba39f SHA512 097176acc46f47eb29b8ff2725c11522271f27b4127ae32067fadd722245753a7425366eaf8ead22d1b4bde6bd88a48348e7ff1a16c7fd6ea97d3b8e7eaeb305 WHIRLPOOL 2076dbfa401c18ba661ac3225d5a1204c512719472db144eda4060532d1b7ad78da6e5ac8018c375c15ca7612db7741885fcc1404b9f482d05e1f42db3632c0d MISC metadata.xml 395 SHA256 fa28f657c40a4f24af13aa584d1e103e5d02996a48c135833199c3f62c0d140b SHA512 ab5d25b7e1a8a14097cde99e12c4146c58de8ae581ea8595f497aa085c34437fbc12ff379a26d99bcd43a623152ec84f207cc2abf452f405a0d6209697520401 WHIRLPOOL a83e096d6c89277a1c28e35f595ecf5406f04e30885ba0d0e611f3d9ea36eda5bc175075260e5dabe70d5e2a8b0fb54682234bf9f88c69a13b975cce1838970c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlQwYvoACgkQVWmRsqeSphMMfACfRa6DSt6vI4VdUF7XAiJM8riV -A9IAn0cM37pj/7FQLfbJdAh4CcxZRwgt -=XjeC +iEYEAREIAAYFAlQzn8IACgkQso7CE7gHKw3XigCffem35leMLqwdomz6IqfgachZ +z2EAoLOfob7R5Nq9XPIOPiOhBnxEDXCd +=Jm5c -----END PGP SIGNATURE----- diff --git a/dev-python/pygments/pygments-1.6_p20140324-r1.ebuild b/dev-python/pygments/pygments-1.6_p20140324-r1.ebuild new file mode 100644 index 000000000000..b631d9f5f183 --- /dev/null +++ b/dev-python/pygments/pygments-1.6_p20140324-r1.ebuild @@ -0,0 +1,68 @@ +# 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_p20140324-r1.ebuild,v 1.1 2014/10/07 08:09:24 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 ) + +inherit distutils-r1 bash-completion-r1 vcs-snapshot + +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" +SRC_URI="https://bitbucket.org/birkenfeld/pygments-main/get/b839f47dbb3a10830db7dc3114f0ad4f470bcfa5.tar.gz -> ${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} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + virtual/ttf-fonts + dev-texlive/texlive-latexrecommended + )" + +#S="${WORKDIR}/${MY_P}" + +python_compile() { + distutils-r1_python_compile + if [[ ${EPYTHON} == python3.2 ]]; then + # python3.2 does not like u"" literals + 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die + fi +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + cp -r -l tests "${BUILD_DIR}"/ || die + + if python_is_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=( doc/_build/html/. ) + + distutils-r1_python_install_all + newbashcomp external/pygments.bashcomp ${PN} + # Bug 521166 + pushd "${D}"usr/share/bash-completion/completions/ > /dev/null + mv ${PN} pygmentize || die + popd > /dev/null +} |