diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-04 13:54:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-04 14:41:25 +0200 |
commit | 5b9a816afbfec8332eedace2aae44cd2138b8bc4 (patch) | |
tree | 7163e929a1230bae7304875e2187b4f5cf6216b3 /dev-python/pygments | |
parent | dev-lang/python: Bump to 3.9.5 (diff) | |
download | gentoo-5b9a816afbfec8332eedace2aae44cd2138b8bc4.tar.gz gentoo-5b9a816afbfec8332eedace2aae44cd2138b8bc4.tar.bz2 gentoo-5b9a816afbfec8332eedace2aae44cd2138b8bc4.zip |
dev-python/pygments: Bump to 2.9.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pygments')
-rw-r--r-- | dev-python/pygments/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pygments/pygments-2.9.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 8d6669272d3b..da34d5d7f0a1 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1 +1,2 @@ DIST Pygments-2.8.1.tar.gz 4000119 BLAKE2B d88a3a3b4626a33c375b85ec076120e3561d1719ce45f9f85595bf87f7e813416be934f7ea0022fbfbf1a8ba3f2be1c76f693ab9ece5325fe527a4922cf46318 SHA512 223835c78615207ad590d364ba9a0f4bc9b5815baa080e60b9b71ce7b8e1ebfcc7a292d2a2b1cd358c08d820fc89e02c4060876d37ee17fd9e2759c9a0dcc80c +DIST Pygments-2.9.0.tar.gz 4048049 BLAKE2B 3531aa35d875296694dcfea267c3922c94d73959de82a34329b7582b35c8b76310cfd364bf22066be5251ee61bff996e44d8c8ca82e9e34af879f3f2ba734120 SHA512 60a8b38e9ea941e4f10d1c4a547be81b8545202d11e2162c6aec0f95014a5c2f718adab8780017be7f49e1f220f731d57ec26dadbd543bfd6a8a7d016c01d772 diff --git a/dev-python/pygments/pygments-2.9.0.ebuild b/dev-python/pygments/pygments-2.9.0.ebuild new file mode 100644 index 000000000000..bbf823020e28 --- /dev/null +++ b/dev-python/pygments/pygments-2.9.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} pypy3 ) +inherit distutils-r1 bash-completion-r1 + +MY_P=${P^} +DESCRIPTION="Pygments is a syntax highlighting package written in Python" +HOMEPAGE=" + https://pygments.org/ + https://github.com/pygments/pygments/ + https://pypi.org/project/Pygments/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + virtual/ttf-fonts + )" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + newbashcomp external/pygments.bashcomp pygmentize +} |