diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pygments |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pygments')
-rw-r--r-- | dev-python/pygments/Manifest | 7 | ||||
-rw-r--r-- | dev-python/pygments/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/pygments/pygments-2.1.1.ebuild | 52 | ||||
-rw-r--r-- | dev-python/pygments/pygments-2.2.0.ebuild | 52 |
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest new file mode 100644 index 000000000000..b6e02cb6303b --- /dev/null +++ b/dev-python/pygments/Manifest @@ -0,0 +1,7 @@ +DIST Pygments-2.1.1.tar.gz 2114190 SHA256 2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b SHA512 7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807 WHIRLPOOL 6b1ebed4b3c456ada335be87d184bfe197f489b445c362c8f1326229e137e859388e1812290bf1d7f6ed19b780dc8487fe9744863833889d961604fb9489b381 +DIST Pygments-2.2.0.tar.gz 2113944 SHA256 dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc SHA512 cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29 WHIRLPOOL f0562ce0b92245050657b6b8b0952bbd719ad8789434a2c87bb45594787839405bc2fcb05ed125fe1801a71739462be5be96263d27075427a4bafaa5b44e3fe7 +EBUILD pygments-2.1.1.ebuild 1676 SHA256 030f837065a820d7029103e7502c1899a30f4a47a9dbcf5ed31c492537d34cc7 SHA512 bb269a3dcdc643453ca34323245411d396e27ad0580880312e869585511fe23571d1c6c1f71adb5ce41e5b9b7fad00bc48228d73705e4aa1011cf52cea60b7dc WHIRLPOOL 2ca69ff65b159c8e66af73eb1a50975b7b5822a478c64ab0a4792da41630e0166d7231cc9cda76ff1f18f32e87ab0b61f86c7fc7a2cd531e6cce06682dac9041 +EBUILD pygments-2.2.0.ebuild 1698 SHA256 2ef9687fce869daabd63ac82fc82c4e3a352282db8eaa05f7602f3e97f5d8d95 SHA512 587cec2cbbd83d77333e378c9d041cdac47ef274da0c604c2031fc84fe44a1b22b7ff126d437fe5cc42e977e8a423f208feacb786785e828a990e5bb1c1f3e92 WHIRLPOOL cc4949622ed10ac9f2e10baea93999a81b947d1fff57f5fd366af602ee6783ac4b3f70168265a16958dbfbc411cd0524fd2bd57366d552427466ecf2cdadd16d +MISC ChangeLog 7918 SHA256 be4b49328128e69af066e8fac89f37a52ebdfd1d0f798c4c2609b61241dfaeef SHA512 41a5e65391cfd5a8cb475417c09f3d72d4bf6661a0cf4ae8b60990f4339425382f15158f03884cf09105c3f584a43ae52bfedb1e5bbbd8084152d1af815125a2 WHIRLPOOL 28d9a130b4212bca7c0eb9e203a7c3c36570f67d8596b9f4a0885a78b6985f9c9f6335f51c648bc435a86fba15099226dd9639ca8573c49d0354315aaf4f4ff9 +MISC ChangeLog-2015 19560 SHA256 70c84251d476ca3eac0eac22f6bfdb5faa9516149f6dc68155fc26a558af349e SHA512 b0c2d5e3deab15d695368e15f457198881f86691e5e636fb92d7a56ea99a1c73e5a37c589d91c2166d607cfa11e22bb949e41d4446f03b53b4535c604315f780 WHIRLPOOL ba4e36058ff3810f89c17cef2c78cd42cd4777cd9571caa833532ab19afcfa5883723d07b58878dad81ddf9af562ed4e2d6c0d0d7e417c18d9615348bfba8151 +MISC metadata.xml 542 SHA256 6d5740a53ecddfc87bf7cffb8268b388bda1f23d5b58c0b883a46d97e6b11d3a SHA512 f15732bb743ed5ad4049036c7b87118c89be09e260ae483b4c7e25155a31c0ab8844f8a1050386a0ee81d2b1e55d240f90cab3e28749b8f943baf64ec176814b WHIRLPOOL 9fe93599eba59543200bf2ea28d612299fd3d3a942a08935cd66c8eaffe4daa1b1ae4fdd2608c28e46902b41cd4294c283e867094340e1078e98e857252ca94c diff --git a/dev-python/pygments/metadata.xml b/dev-python/pygments/metadata.xml new file mode 100644 index 000000000000..c3ac451b5ed0 --- /dev/null +++ b/dev-python/pygments/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription>Pygments is a syntax highlighting package written in Python. Pygments can output to html, bbcode, latex, rtf and other formats.</longdescription> + <upstream> + <remote-id type="pypi">Pygments</remote-id> + <remote-id type="bitbucket">birkenfeld/pygments-main</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pygments/pygments-2.1.1.ebuild b/dev-python/pygments/pygments-2.1.1.ebuild new file mode 100644 index 000000000000..165fa998814f --- /dev/null +++ b/dev-python/pygments/pygments-2.1.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +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/ https://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 arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~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 +# Removing / commenting out this dep. I can find no mention of it in tests other than +# importing pygment's own tex module. If it's there and I missed it just uncomment and re-add +# Tests pass without it + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + cp -r -l tests "${BUILD_DIR}"/ || die + # With pypy3 there is 1 error out of 1556 tests when run as is and + # (SKIP=8, errors=1, failures=1) when run with 2to3; meh + nosetests --verbosity=3 -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 pygmentize +} diff --git a/dev-python/pygments/pygments-2.2.0.ebuild b/dev-python/pygments/pygments-2.2.0.ebuild new file mode 100644 index 000000000000..9c011757b626 --- /dev/null +++ b/dev-python/pygments/pygments-2.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +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/ https://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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~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 +# Removing / commenting out this dep. I can find no mention of it in tests other than +# importing pygment's own tex module. If it's there and I missed it just uncomment and re-add +# Tests pass without it + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + cp -r -l tests "${BUILD_DIR}"/ || die + # With pypy3 there is 1 error out of 1556 tests when run as is and + # (SKIP=8, errors=1, failures=1) when run with 2to3; meh + nosetests --verbosity=3 -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 pygmentize +} |