[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2021-01-18 Thread Michał Górny
commit: a3c067283758bb28bb35b59357c1bed1d863c02c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 18 08:53:25 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 18 09:09:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c06728

dev-python/pygments: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.7.3.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 9fad8f2c4ea..a4bb8287291 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1 @@
-DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B 
a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57
 SHA512 
fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb
 DIST Pygments-2.7.4.tar.gz 2325473 BLAKE2B 
48e45f8d58e4d06be71cacbfbcbee57c69fe0b4c344c1dde2054912f1b74c67db19c24de2661acab7026ea78420ff90e4596e1a89b783ce79ebea12c8d3a7a60
 SHA512 
84fb2e0c52e4683d52524ee1d70c11a9ff6cc0b21fe6aa3e1a6c4fac393f87267756b1c04b7c2555799e387b2e9ca7d2e7703ddc1690a642aa263ed27510e030

diff --git a/dev-python/pygments/pygments-2.7.3.ebuild 
b/dev-python/pygments/pygments-2.7.3.ebuild
deleted file mode 100644
index 0ac9a8b410b..000
--- a/dev-python/pygments/pygments-2.7.3.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2021-01-17 Thread Sam James
commit: e42e1072824ae6bdf472a666305f6dc615568585
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 18 02:53:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 18 02:53:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42e1072

dev-python/pygments: Stabilize 2.7.4 ALLARCHES, #765112

Signed-off-by: Sam James  gentoo.org>

 dev-python/pygments/pygments-2.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.7.4.ebuild 
b/dev-python/pygments/pygments-2.7.4.ebuild
index 20b5e4dc643..e80a67cac2a 100644
--- a/dev-python/pygments/pygments-2.7.4.ebuild
+++ b/dev-python/pygments/pygments-2.7.4.ebuild
@@ -19,7 +19,7 @@ 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"
+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? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2021-01-12 Thread Michał Górny
commit: 014ed7c4085c853715bf6f8e75dec3aa75000773
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 12 08:41:07 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 12 09:48:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014ed7c4

dev-python/pygments: Bump to 2.7.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.7.4.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 2b17749bd63..9fad8f2c4ea 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1 +1,2 @@
 DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B 
a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57
 SHA512 
fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb
+DIST Pygments-2.7.4.tar.gz 2325473 BLAKE2B 
48e45f8d58e4d06be71cacbfbcbee57c69fe0b4c344c1dde2054912f1b74c67db19c24de2661acab7026ea78420ff90e4596e1a89b783ce79ebea12c8d3a7a60
 SHA512 
84fb2e0c52e4683d52524ee1d70c11a9ff6cc0b21fe6aa3e1a6c4fac393f87267756b1c04b7c2555799e387b2e9ca7d2e7703ddc1690a642aa263ed27510e030

diff --git a/dev-python/pygments/pygments-2.7.4.ebuild 
b/dev-python/pygments/pygments-2.7.4.ebuild
new file mode 100644
index 000..20b5e4dc643
--- /dev/null
+++ b/dev-python/pygments/pygments-2.7.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,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_test() {
+   local deselect=()
+   # there is a known bug in regex engine of pypy3.7
+   [[ ${EPYTHON} == pypy3 && $(pypy3 --version) == "Python 3.7"* ]] &&
+   deselect+=( tests/test_crystal.py::test_macro )
+
+   pytest -vv ${deselect[@]/#/--deselect } ||
+   die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newbashcomp external/pygments.bashcomp pygmentize
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2021-01-05 Thread Michał Górny
commit: f6e825d103313776a9b1860fc7f19e2ac40df30b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan  5 21:22:59 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan  5 21:22:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e825d1

dev-python/pygments: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.7.2.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index d39a8757bbb..2b17749bd63 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1 @@
-DIST Pygments-2.7.2.tar.gz 2350457 BLAKE2B 
4a67cd34cc41402e485e2bbb827a00f5184c00d26ca6f341c190457134598bd187a995eee85eb007a98b6d7b9e3e33585d0c1c0bba4289bedb36d22f351d
 SHA512 
cd667e2cb33261060c316e3b92934dae735e2aa6c427b77852d4d18f28941cb369da05adb8540dd9fe3262b3e30e2fd6456e345bccc848be9dbdba20e97ef157
 DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B 
a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57
 SHA512 
fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb

diff --git a/dev-python/pygments/pygments-2.7.2.ebuild 
b/dev-python/pygments/pygments-2.7.2.ebuild
deleted file mode 100644
index f28df2b31bf..000
--- a/dev-python/pygments/pygments-2.7.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,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 ~x86-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2021-01-05 Thread Sam James
commit: 062fa0776ef8ebc18933a8fbf012bb286f4d4308
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan  5 20:59:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  5 20:59:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062fa077

dev-python/pygments: Stabilize 2.7.3 ALLARCHES, #763744

Signed-off-by: Sam James  gentoo.org>

 dev-python/pygments/pygments-2.7.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygments/pygments-2.7.3.ebuild 
b/dev-python/pygments/pygments-2.7.3.ebuild
index d821d49619e..90359f12aa2 100644
--- a/dev-python/pygments/pygments-2.7.3.ebuild
+++ b/dev-python/pygments/pygments-2.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-12-06 Thread Michał Górny
commit: d08de6991687d82971cf6566004552c88f679e75
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec  6 17:22:43 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec  6 17:39:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08de699

dev-python/pygments: Bump to 2.7.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.7.3.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 1d758ef2228..d39a8757bbb 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1 +1,2 @@
 DIST Pygments-2.7.2.tar.gz 2350457 BLAKE2B 
4a67cd34cc41402e485e2bbb827a00f5184c00d26ca6f341c190457134598bd187a995eee85eb007a98b6d7b9e3e33585d0c1c0bba4289bedb36d22f351d
 SHA512 
cd667e2cb33261060c316e3b92934dae735e2aa6c427b77852d4d18f28941cb369da05adb8540dd9fe3262b3e30e2fd6456e345bccc848be9dbdba20e97ef157
+DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B 
a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57
 SHA512 
fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb

diff --git a/dev-python/pygments/pygments-2.7.3.ebuild 
b/dev-python/pygments/pygments-2.7.3.ebuild
new file mode 100644
index 000..d821d49619e
--- /dev/null
+++ b/dev-python/pygments/pygments-2.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,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 
~x86-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-11-26 Thread Michał Górny
commit: 3319d2679ade6ea1ddf25eddd10df39fb9815dfd
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 26 08:21:04 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 26 08:25:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3319d267

dev-python/pygments: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.7.1.ebuild | 44 ---
 2 files changed, 45 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index af759d0e15d..1d758ef2228 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1 @@
-DIST Pygments-2.7.1.tar.gz 2323072 BLAKE2B 
ee55bb47369caca78d180659c2f62af18c1b1c6bfd803148ed88254f33c7261bf8acd29d193be2ac9c04d022a1c0c14c0fe9ff3cfcf8a5dc1d4dec90d3f1ee43
 SHA512 
95d1109cd53092fafa2f1d5c21a135c426700fc92e39bb22a27f47e63d10bdcb9e52593cd282339a3b501430ededbccea4f8d5970ba1171204579b964a6771c8
 DIST Pygments-2.7.2.tar.gz 2350457 BLAKE2B 
4a67cd34cc41402e485e2bbb827a00f5184c00d26ca6f341c190457134598bd187a995eee85eb007a98b6d7b9e3e33585d0c1c0bba4289bedb36d22f351d
 SHA512 
cd667e2cb33261060c316e3b92934dae735e2aa6c427b77852d4d18f28941cb369da05adb8540dd9fe3262b3e30e2fd6456e345bccc848be9dbdba20e97ef157

diff --git a/dev-python/pygments/pygments-2.7.1.ebuild 
b/dev-python/pygments/pygments-2.7.1.ebuild
deleted file mode 100644
index 7e1d16a8924..000
--- a/dev-python/pygments/pygments-2.7.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-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="
-   https://pygments.org/
-   https://github.com/pygments/pygments/
-   https://pypi.org/project/Pygments/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   virtual/ttf-fonts
-   )"
-
-distutils_enable_sphinx doc
-
-python_test() {
-   cp -r -l tests "${BUILD_DIR}"/ || die
-   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-   newbashcomp external/pygments.bashcomp pygmentize
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-11-25 Thread Agostino Sarubbo
commit: a0ff7989d39e80c0eb71ccf7b31fe59e3a7b0c8e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 26 06:55:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 26 06:55:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ff7989

dev-python/pygments: amd64/arm64/arm/hppa/ppc64/ppc/s390/sparc/x86 stable 
(ALLARCHES policy) wrt bug #756553

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.7.2.ebuild 
b/dev-python/pygments/pygments-2.7.2.ebuild
index d821d49619e..f28df2b31bf 100644
--- a/dev-python/pygments/pygments-2.7.2.ebuild
+++ b/dev-python/pygments/pygments-2.7.2.ebuild
@@ -19,7 +19,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-10-24 Thread Michał Górny
commit: 24665a703d78a29fd34b0b9a4b9f64edc4b05f1b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 24 17:44:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 24 17:45:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24665a70

dev-python/pygments: Bump to 2.7.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.7.2.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 336a274d3d2..af759d0e15d 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1 +1,2 @@
 DIST Pygments-2.7.1.tar.gz 2323072 BLAKE2B 
ee55bb47369caca78d180659c2f62af18c1b1c6bfd803148ed88254f33c7261bf8acd29d193be2ac9c04d022a1c0c14c0fe9ff3cfcf8a5dc1d4dec90d3f1ee43
 SHA512 
95d1109cd53092fafa2f1d5c21a135c426700fc92e39bb22a27f47e63d10bdcb9e52593cd282339a3b501430ededbccea4f8d5970ba1171204579b964a6771c8
+DIST Pygments-2.7.2.tar.gz 2350457 BLAKE2B 
4a67cd34cc41402e485e2bbb827a00f5184c00d26ca6f341c190457134598bd187a995eee85eb007a98b6d7b9e3e33585d0c1c0bba4289bedb36d22f351d
 SHA512 
cd667e2cb33261060c316e3b92934dae735e2aa6c427b77852d4d18f28941cb369da05adb8540dd9fe3262b3e30e2fd6456e345bccc848be9dbdba20e97ef157

diff --git a/dev-python/pygments/pygments-2.7.2.ebuild 
b/dev-python/pygments/pygments-2.7.2.ebuild
new file mode 100644
index 000..d821d49619e
--- /dev/null
+++ b/dev-python/pygments/pygments-2.7.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,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 
~x86-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-10-22 Thread Michał Górny
commit: 8194879c076d3a5416533367038730b14d25fad7
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 22 19:52:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 22 21:06:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8194879c

dev-python/pygments: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.7.0.ebuild | 41 ---
 2 files changed, 42 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 47d73ee3982..336a274d3d2 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1 @@
-DIST Pygments-2.7.0.tar.gz 2358072 BLAKE2B 
a9c4753f62589a676300d366804aecc9349de2367b609919518f11be3ea40c3fb264d68c5da515cf80aaa42fb4e4dd9dd362d58945148a21c81a214c7e6c6b58
 SHA512 
b70714dd33cac725e0b32678971ab5902895c7d2fd8c9548f69110af32c82ba46a2d366dbbc9c4017e91c39120abe3e5d28e69893e8d92058f0bcbf579909db5
 DIST Pygments-2.7.1.tar.gz 2323072 BLAKE2B 
ee55bb47369caca78d180659c2f62af18c1b1c6bfd803148ed88254f33c7261bf8acd29d193be2ac9c04d022a1c0c14c0fe9ff3cfcf8a5dc1d4dec90d3f1ee43
 SHA512 
95d1109cd53092fafa2f1d5c21a135c426700fc92e39bb22a27f47e63d10bdcb9e52593cd282339a3b501430ededbccea4f8d5970ba1171204579b964a6771c8

diff --git a/dev-python/pygments/pygments-2.7.0.ebuild 
b/dev-python/pygments/pygments-2.7.0.ebuild
deleted file mode 100644
index 89bb177bba4..000
--- a/dev-python/pygments/pygments-2.7.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-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="https://pygments.org/ https://pypi.org/project/Pygments/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   virtual/ttf-fonts
-   )"
-
-distutils_enable_sphinx doc
-
-python_test() {
-   cp -r -l tests "${BUILD_DIR}"/ || die
-   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-   newbashcomp external/pygments.bashcomp pygmentize
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-10-22 Thread Sam James
commit: 86b2dfccf3f54a78f66f2c3d0fe66e3b9548baa1
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 22 07:10:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 22 07:18:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b2dfcc

dev-python/pygments: Stabilize 2.7.1 ALLARCHES, #750647

Signed-off-by: Sam James  gentoo.org>

 dev-python/pygments/pygments-2.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.7.1.ebuild 
b/dev-python/pygments/pygments-2.7.1.ebuild
index 490e9a55d2d..7e1d16a8924 100644
--- a/dev-python/pygments/pygments-2.7.1.ebuild
+++ b/dev-python/pygments/pygments-2.7.1.ebuild
@@ -21,7 +21,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-10-18 Thread Sam James
commit: d991b8b764b4f9efde5ba9e00c8a2561e7847f27
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 18 19:17:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 18 19:17:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d991b8b7

dev-python/pygments: Stabilize 2.7.0 ALLARCHES, #749492

Signed-off-by: Sam James  gentoo.org>

 dev-python/pygments/pygments-2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.7.0.ebuild 
b/dev-python/pygments/pygments-2.7.0.ebuild
index 071fd77faf5..89bb177bba4 100644
--- a/dev-python/pygments/pygments-2.7.0.ebuild
+++ b/dev-python/pygments/pygments-2.7.0.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-10-18 Thread Thomas Deutschmann
commit: 873e36a47b149678552e67451006a8d9a3323b44
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 18 18:45:27 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 18 18:51:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873e36a4

dev-python/pygments: x86 stable (bug #749492)

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/pygments/pygments-2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.7.0.ebuild 
b/dev-python/pygments/pygments-2.7.0.ebuild
index d203e4246cb..071fd77faf5 100644
--- a/dev-python/pygments/pygments-2.7.0.ebuild
+++ b/dev-python/pygments/pygments-2.7.0.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-09-20 Thread Michał Górny
commit: 37f65ff3edf33a015b8848ee35ca3a6669cd88a1
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 20 14:33:01 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 20 14:36:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f65ff3

dev-python/pygments: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.5.2.ebuild | 41 ---
 2 files changed, 42 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 0024397c3a5..44a065c8251 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,4 +1,3 @@
-DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859
 DIST Pygments-2.6.1.tar.gz 3303050 BLAKE2B 
105f43301d2e7348937345519fe04817fa5baa5de4d0b9b0e9096d34612018bb992721df58a24008b009c0690054ac02c18c57b6b1a8a68039f9b4d20b5900a6
 SHA512 
0d793bb6eabe43645541347e44932ee50ccd4309f40e7a327422bcbe57d40a7cb8bbf2fb0911744ed6f316c6c08f4216462be88d79192a2ea004d6da51329932
 DIST Pygments-2.7.0.tar.gz 2358072 BLAKE2B 
a9c4753f62589a676300d366804aecc9349de2367b609919518f11be3ea40c3fb264d68c5da515cf80aaa42fb4e4dd9dd362d58945148a21c81a214c7e6c6b58
 SHA512 
b70714dd33cac725e0b32678971ab5902895c7d2fd8c9548f69110af32c82ba46a2d366dbbc9c4017e91c39120abe3e5d28e69893e8d92058f0bcbf579909db5
 DIST Pygments-2.7.1.tar.gz 2323072 BLAKE2B 
ee55bb47369caca78d180659c2f62af18c1b1c6bfd803148ed88254f33c7261bf8acd29d193be2ac9c04d022a1c0c14c0fe9ff3cfcf8a5dc1d4dec90d3f1ee43
 SHA512 
95d1109cd53092fafa2f1d5c21a135c426700fc92e39bb22a27f47e63d10bdcb9e52593cd282339a3b501430ededbccea4f8d5970ba1171204579b964a6771c8

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
deleted file mode 100644
index 8771025bd72..000
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
-
-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="https://pygments.org/ https://pypi.org/project/Pygments/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   virtual/ttf-fonts
-   )"
-
-distutils_enable_sphinx doc
-
-python_test() {
-   cp -r -l tests "${BUILD_DIR}"/ || die
-   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-   newbashcomp external/pygments.bashcomp pygmentize
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-09-18 Thread Michał Górny
commit: 051bb577fea902dca26f1938da5ddcd81bbe2cec
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 18 07:17:22 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 18 07:23:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051bb577

dev-python/pygments: Update metadata for GitHub move

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/metadata.xml  | 2 +-
 dev-python/pygments/pygments-2.7.1.ebuild | 5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygments/metadata.xml b/dev-python/pygments/metadata.xml
index 1af0e3d5058..f0c75b1c9be 100644
--- a/dev-python/pygments/metadata.xml
+++ b/dev-python/pygments/metadata.xml
@@ -9,6 +9,6 @@


Pygments
-   birkenfeld/pygments-main
+   pygments/pygments

 

diff --git a/dev-python/pygments/pygments-2.7.1.ebuild 
b/dev-python/pygments/pygments-2.7.1.ebuild
index d203e4246cb..490e9a55d2d 100644
--- a/dev-python/pygments/pygments-2.7.1.ebuild
+++ b/dev-python/pygments/pygments-2.7.1.ebuild
@@ -12,7 +12,10 @@ MY_PN="Pygments"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="Pygments is a syntax highlighting package written in Python"
-HOMEPAGE="https://pygments.org/ https://pypi.org/project/Pygments/;
+HOMEPAGE="
+   https://pygments.org/
+   https://github.com/pygments/pygments/
+   https://pypi.org/project/Pygments/;
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-09-18 Thread Michał Górny
commit: 8e7f6d299dfc55c3388f53b01b4048a02f2e9214
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 18 07:07:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 18 07:23:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7f6d29

dev-python/pygments: Bump to 2.7.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.7.1.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 50ed4869fa6..0024397c3a5 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,4 @@
 DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859
 DIST Pygments-2.6.1.tar.gz 3303050 BLAKE2B 
105f43301d2e7348937345519fe04817fa5baa5de4d0b9b0e9096d34612018bb992721df58a24008b009c0690054ac02c18c57b6b1a8a68039f9b4d20b5900a6
 SHA512 
0d793bb6eabe43645541347e44932ee50ccd4309f40e7a327422bcbe57d40a7cb8bbf2fb0911744ed6f316c6c08f4216462be88d79192a2ea004d6da51329932
 DIST Pygments-2.7.0.tar.gz 2358072 BLAKE2B 
a9c4753f62589a676300d366804aecc9349de2367b609919518f11be3ea40c3fb264d68c5da515cf80aaa42fb4e4dd9dd362d58945148a21c81a214c7e6c6b58
 SHA512 
b70714dd33cac725e0b32678971ab5902895c7d2fd8c9548f69110af32c82ba46a2d366dbbc9c4017e91c39120abe3e5d28e69893e8d92058f0bcbf579909db5
+DIST Pygments-2.7.1.tar.gz 2323072 BLAKE2B 
ee55bb47369caca78d180659c2f62af18c1b1c6bfd803148ed88254f33c7261bf8acd29d193be2ac9c04d022a1c0c14c0fe9ff3cfcf8a5dc1d4dec90d3f1ee43
 SHA512 
95d1109cd53092fafa2f1d5c21a135c426700fc92e39bb22a27f47e63d10bdcb9e52593cd282339a3b501430ededbccea4f8d5970ba1171204579b964a6771c8

diff --git a/dev-python/pygments/pygments-2.7.1.ebuild 
b/dev-python/pygments/pygments-2.7.1.ebuild
new file mode 100644
index 000..d203e4246cb
--- /dev/null
+++ b/dev-python/pygments/pygments-2.7.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+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="https://pygments.org/ https://pypi.org/project/Pygments/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   virtual/ttf-fonts
+   )"
+
+distutils_enable_sphinx doc
+
+python_test() {
+   cp -r -l tests "${BUILD_DIR}"/ || die
+   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newbashcomp external/pygments.bashcomp pygmentize
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-09-12 Thread Michał Górny
commit: 0d0d84d5985df743bfb4e77050228f0d4ca90af6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 12 18:20:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 12 18:52:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0d84d5

dev-python/pygments: Bump to 2.7.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.7.0.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 7a18ca65096..50ed4869fa6 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1,3 @@
 DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859
 DIST Pygments-2.6.1.tar.gz 3303050 BLAKE2B 
105f43301d2e7348937345519fe04817fa5baa5de4d0b9b0e9096d34612018bb992721df58a24008b009c0690054ac02c18c57b6b1a8a68039f9b4d20b5900a6
 SHA512 
0d793bb6eabe43645541347e44932ee50ccd4309f40e7a327422bcbe57d40a7cb8bbf2fb0911744ed6f316c6c08f4216462be88d79192a2ea004d6da51329932
+DIST Pygments-2.7.0.tar.gz 2358072 BLAKE2B 
a9c4753f62589a676300d366804aecc9349de2367b609919518f11be3ea40c3fb264d68c5da515cf80aaa42fb4e4dd9dd362d58945148a21c81a214c7e6c6b58
 SHA512 
b70714dd33cac725e0b32678971ab5902895c7d2fd8c9548f69110af32c82ba46a2d366dbbc9c4017e91c39120abe3e5d28e69893e8d92058f0bcbf579909db5

diff --git a/dev-python/pygments/pygments-2.7.0.ebuild 
b/dev-python/pygments/pygments-2.7.0.ebuild
new file mode 100644
index 000..d203e4246cb
--- /dev/null
+++ b/dev-python/pygments/pygments-2.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+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="https://pygments.org/ https://pypi.org/project/Pygments/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   virtual/ttf-fonts
+   )"
+
+distutils_enable_sphinx doc
+
+python_test() {
+   cp -r -l tests "${BUILD_DIR}"/ || die
+   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newbashcomp external/pygments.bashcomp pygmentize
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-26 Thread Michał Górny
commit: 9f80f8828b4a8ba78a9c147c036008c8978c78da
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 26 12:18:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 26 12:58:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f80f882

dev-python/pygments: Port to py39

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.5.2.ebuild | 4 ++--
 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
index 4f0d6aff821..8771025bd72 100644
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1 bash-completion-r1
 
@@ -32,7 +32,7 @@ distutils_enable_sphinx doc
 
 python_test() {
cp -r -l tests "${BUILD_DIR}"/ || die
-   pytest "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
+   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
 }
 
 python_install_all() {

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index eef8f5251bf..89bb177bba4 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1 bash-completion-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-11 Thread Mart Raudsepp
commit: d269a8b8b913918e956c5bf96f0b6611624da749
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon May 11 13:21:57 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon May 11 15:30:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d269a8b8

dev-python/pygments: s390 stable via arm64 (ALLARCHES, bug #720558)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index 4305b86d23e..eef8f5251bf 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -18,7 +18,7 @@ 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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-11 Thread Mart Raudsepp
commit: 8d07063b8179a1fe684e761c3c22477348e6e3c1
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sun May 10 21:55:30 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon May 11 06:18:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d07063b

dev-python/pygments: arm64 stable (bug #720558)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index 8ef03f74324..4305b86d23e 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-08 Thread Sergei Trofimovich
commit: 612100485f1d7026ec0a224b76923ee875c4a5c7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri May  8 09:27:02 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri May  8 09:30:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61210048

dev-python/pygments: stable 2.6.1 for hppa, bug #720558

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index 894993595a3..8ef03f74324 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-04 Thread Agostino Sarubbo
commit: 8c5d555a031ceabaf9c5f14da8bee24b480b99dc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May  4 16:50:33 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May  4 16:50:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5d555a

dev-python/pygments: ppc stable wrt bug #720558

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index 31c368606d2..894993595a3 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-03 Thread Agostino Sarubbo
commit: af548328c1706b6d8af6fd62ef75e1611f536a28
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 15:11:35 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 15:11:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af548328

dev-python/pygments: ppc64 stable wrt bug #720558

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index ee380b7997f..eb5cffc0faf 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-05-03 Thread Agostino Sarubbo
commit: 471ee6046839607a047237cd23d0c267df9f77bd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 10:24:19 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 10:25:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=471ee604

dev-python/pygments: sparc stable wrt bug #720558

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
index fb82db991e6..ee380b7997f 100644
--- a/dev-python/pygments/pygments-2.6.1.ebuild
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-03-28 Thread Michał Górny
commit: 63c7a09b27bf4ecd061b2bae5a4d9d1022a0877b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 17:33:41 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 17:43:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c7a09b

dev-python/pygments: Stabilize 2.5.2 ALLARCHES

Bug: https://bugs.gentoo.org/710566
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
index 78623806f39..ea1d0519ad9 100644
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -18,7 +18,7 @@ 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 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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 ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/files/, dev-python/pygments/

2020-03-28 Thread Michał Górny
commit: 7a11479f7a96cee817b13aa634bfdfd12ad6f0f5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 17:34:01 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 17:43:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a11479f

dev-python/pygments: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest   |  2 -
 .../pygments/files/pygments-2.2.0-pep479.patch | 46 
 .../pygments/files/pygments-2.2.0-sphinx17.patch   | 22 --
 dev-python/pygments/pygments-2.3.1.ebuild  | 50 --
 dev-python/pygments/pygments-2.4.2.ebuild  | 42 --
 5 files changed, 162 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 63a00627e86..7a18ca65096 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,4 +1,2 @@
-DIST Pygments-2.3.1.tar.gz 3124216 BLAKE2B 
99a5f96a2d2f9deb1a6b6ad94a21ab7f517cde47b1e91b67ce594732004cf99db51b1240e0270473f87f5d8a435172545b9fa3449a2ddc113faf5aaef6c34f73
 SHA512 
2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e
-DIST Pygments-2.4.2.tar.gz 9405880 BLAKE2B 
20a955fce2b06ab12bd4ede4da9308f1cc5f2286391146fd83f3d598cd38ae66e7df3c1d779c8f6f5de67ad92d032ff02fef8f41141edb007e2f24d3586d82e6
 SHA512 
c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66
 DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859
 DIST Pygments-2.6.1.tar.gz 3303050 BLAKE2B 
105f43301d2e7348937345519fe04817fa5baa5de4d0b9b0e9096d34612018bb992721df58a24008b009c0690054ac02c18c57b6b1a8a68039f9b4d20b5900a6
 SHA512 
0d793bb6eabe43645541347e44932ee50ccd4309f40e7a327422bcbe57d40a7cb8bbf2fb0911744ed6f316c6c08f4216462be88d79192a2ea004d6da51329932

diff --git a/dev-python/pygments/files/pygments-2.2.0-pep479.patch 
b/dev-python/pygments/files/pygments-2.2.0-pep479.patch
deleted file mode 100644
index 28d40e9566a..000
--- a/dev-python/pygments/files/pygments-2.2.0-pep479.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-# HG changeset patch
-# User Miro Hrončok 
-# Date 1530720528 -7200
-# Branch py37
-# Node ID 933b5f6afe35e6d554f46085a4e62dc5bf413c87
-# Parent  7941677dc77d4f2bf0bbd6140ade85a9454b8b80
-PEP 479: Raising StopIteration from a generator is now an error
-
-So we return instead. Fix needed for Python 3.7.
-
-Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1457
-
-diff --git a/pygments/lexers/lisp.py b/pygments/lexers/lisp.py
 a/pygments/lexers/lisp.py
-+++ b/pygments/lexers/lisp.py
-@@ -2327,13 +2327,13 @@
- token = Name.Function if token == Literal else token
- yield index, token, value
- 
--raise StopIteration
-+return
- 
- def _process_signature(self, tokens):
- for index, token, value in tokens:
- if token == Literal and value == '}':
- yield index, Punctuation, value
--raise StopIteration
-+return
- elif token in (Literal, Name.Function):
- token = Name.Variable if value.istitle() else Keyword.Type
- yield index, token, value
-diff --git a/pygments/lexers/sql.py b/pygments/lexers/sql.py
 a/pygments/lexers/sql.py
-+++ b/pygments/lexers/sql.py
-@@ -347,7 +347,10 @@
- # Emit the output lines
- out_token = Generic.Output
- while 1:
--line = next(lines)
-+try:
-+line = next(lines)
-+except StopIteration:
-+return
- mprompt = re_prompt.match(line)
- if mprompt is not None:
- # push the line back to have it processed by the prompt

diff --git a/dev-python/pygments/files/pygments-2.2.0-sphinx17.patch 
b/dev-python/pygments/files/pygments-2.2.0-sphinx17.patch
deleted file mode 100644
index bb7c6074ff9..000
--- a/dev-python/pygments/files/pygments-2.2.0-sphinx17.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-# HG changeset patch
-# User WAKAYAMA Shirou 
-# Date 1500298269 -32400
-# Node ID 1a78f58afb5066cf35b04676d0d5ffbb18d5d540
-# Parent  7941677dc77d4f2bf0bbd6140ade85a9454b8b80
-Change to docutils.parsers in sphinxext.
-
-From Sphinx 1.7, sphinx.utils.compat will be removed.
-
-diff --git a/pygments/sphinxext.py b/pygments/sphinxext.py
 a/pygments/sphinxext.py
-+++ b/pygments/sphinxext.py
-@@ -16,7 +16,7 @@
- 
- from docutils import nodes
- from docutils.statemachine import ViewList
--from sphinx.util.compat import 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-03-28 Thread Michał Górny
commit: 636e42f46442b5f42634cc8de05cb2f257af7629
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 17:32:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 17:43:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=636e42f4

dev-python/pygments: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pygments/metadata.xml b/dev-python/pygments/metadata.xml
index c3ac451b5ed..1af0e3d5058 100644
--- a/dev-python/pygments/metadata.xml
+++ b/dev-python/pygments/metadata.xml
@@ -6,6 +6,7 @@
Python

Pygments is a syntax highlighting package written in 
Python. Pygments can output to html, bbcode, latex, rtf and other 
formats.
+   

Pygments
birkenfeld/pygments-main



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-03-08 Thread Michał Górny
commit: 2ad008f2cc2cf63f9478ab86ef2cbee5d14ecc2f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar  8 13:05:01 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar  8 14:25:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad008f2

dev-python/pygments: Bump to 2.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.6.1.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index bd7ec3912cd..63a00627e86 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,4 @@
 DIST Pygments-2.3.1.tar.gz 3124216 BLAKE2B 
99a5f96a2d2f9deb1a6b6ad94a21ab7f517cde47b1e91b67ce594732004cf99db51b1240e0270473f87f5d8a435172545b9fa3449a2ddc113faf5aaef6c34f73
 SHA512 
2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e
 DIST Pygments-2.4.2.tar.gz 9405880 BLAKE2B 
20a955fce2b06ab12bd4ede4da9308f1cc5f2286391146fd83f3d598cd38ae66e7df3c1d779c8f6f5de67ad92d032ff02fef8f41141edb007e2f24d3586d82e6
 SHA512 
c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66
 DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859
+DIST Pygments-2.6.1.tar.gz 3303050 BLAKE2B 
105f43301d2e7348937345519fe04817fa5baa5de4d0b9b0e9096d34612018bb992721df58a24008b009c0690054ac02c18c57b6b1a8a68039f9b4d20b5900a6
 SHA512 
0d793bb6eabe43645541347e44932ee50ccd4309f40e7a327422bcbe57d40a7cb8bbf2fb0911744ed6f316c6c08f4216462be88d79192a2ea004d6da51329932

diff --git a/dev-python/pygments/pygments-2.6.1.ebuild 
b/dev-python/pygments/pygments-2.6.1.ebuild
new file mode 100644
index 000..3dfa248ba15
--- /dev/null
+++ b/dev-python/pygments/pygments-2.6.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+
+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="https://pygments.org/ https://pypi.org/project/Pygments/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   virtual/ttf-fonts
+   )"
+
+distutils_enable_sphinx doc
+
+python_test() {
+   cp -r -l tests "${BUILD_DIR}"/ || die
+   pytest -vv "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newbashcomp external/pygments.bashcomp pygmentize
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-03-07 Thread Michał Górny
commit: 5dc52e7bdd8569d0a508b259e1279a432c8a3baa
Author: Roy Bamford  gentoo  org>
AuthorDate: Fri Mar  6 11:31:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  7 15:10:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc52e7b

dev-python/pygments: stable on arm64

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Roy Bamford  gentoo.org>

Bug: https://bugs.gentoo.org/710566
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
index 5406c0facff..5740f275a08 100644
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-02-24 Thread Agostino Sarubbo
commit: 42897feea66c359a8449f6b8c479dd6ac58b6e85
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 24 12:53:11 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 24 12:53:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42897fee

dev-python/pygments: amd64 stable wrt bug #710566

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
index b8a4f616a8e..5406c0facff 100644
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-02-24 Thread Sergei Trofimovich
commit: 43e466f6d1ce1e668145ffbd7f921a687e27c117
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Feb 24 06:40:25 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Feb 24 08:20:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e466f6

dev-python/pygments: stable 2.5.2 for sparc, bug #710566

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
index aa1872f0c30..b8a4f616a8e 100644
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-02-23 Thread Mikle Kolyada
commit: cfa64d138e85ab8ba13ecb2aa1d0b8c06577a834
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Feb 23 12:12:07 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Feb 23 12:12:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa64d13

dev-python/pygments: arm stable wrt bug #710566

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/pygments/pygments-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
index a10df584c1e..aa1872f0c30 100644
--- a/dev-python/pygments/pygments-2.5.2.ebuild
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2020-02-22 Thread Andreas Sturmlechner
commit: 71bd46bafe35ce3c784db72739970daf631897fa
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Feb 22 17:09:35 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 22 20:22:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bd46ba

dev-python/pygments: Drop 2.2.0, 2.2.0-r1

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-python/pygments/Manifest |  1 -
 dev-python/pygments/pygments-2.2.0-r1.ebuild | 56 ---
 dev-python/pygments/pygments-2.2.0.ebuild| 58 
 3 files changed, 115 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 9378b39aa4f..bd7ec3912cd 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,4 +1,3 @@
-DIST Pygments-2.2.0.tar.gz 2113944 BLAKE2B 
58d5f2fa0e6d97f5b7d7a17314b82ef219f23b72f8da49b4f8ce9b892d54ffbc1b490e87e87efe8d727dab297f775d0d8abfc4a31a734c5a7f8df885e5eda82f
 SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
 DIST Pygments-2.3.1.tar.gz 3124216 BLAKE2B 
99a5f96a2d2f9deb1a6b6ad94a21ab7f517cde47b1e91b67ce594732004cf99db51b1240e0270473f87f5d8a435172545b9fa3449a2ddc113faf5aaef6c34f73
 SHA512 
2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e
 DIST Pygments-2.4.2.tar.gz 9405880 BLAKE2B 
20a955fce2b06ab12bd4ede4da9308f1cc5f2286391146fd83f3d598cd38ae66e7df3c1d779c8f6f5de67ad92d032ff02fef8f41141edb007e2f24d3586d82e6
 SHA512 
c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66
 DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859

diff --git a/dev-python/pygments/pygments-2.2.0-r1.ebuild 
b/dev-python/pygments/pygments-2.2.0-r1.ebuild
deleted file mode 100644
index f3d2d7fd663..000
--- a/dev-python/pygments/pygments-2.2.0-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
-
-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/ https://pypi.org/project/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-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-   test? (
-   dev-python/nose[${PYTHON_USEDEP}]
-   virtual/ttf-fonts )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   # fix generators for python3.7+
-   "${FILESDIR}"/pygments-2.2.0-pep479.patch
-   # Fixing USE="doc" with sphinx1.7+. bug #662640
-   "${FILESDIR}"/pygments-2.2.0-sphinx17.patch
-)
-
-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
deleted file mode 100644
index b9217c8d5c3..000
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} 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.org/project/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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-12-27 Thread Sebastian Pipping
commit: ca5a774d8febbaceeb696fc51dd88d0efb6e0a7b
Author: Guillaume Seren  gmail  com>
AuthorDate: Fri Dec 27 19:52:00 2019 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Fri Dec 27 21:32:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5a774d

dev-python/pygments: Add version bump 2.5.2

Signed-off-by: Guillaume Seren  gmail.com>
Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-2.3.79, Repoman-2.3.16

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.5.2.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 275757f2041..9378b39aa4f 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,4 @@
 DIST Pygments-2.2.0.tar.gz 2113944 BLAKE2B 
58d5f2fa0e6d97f5b7d7a17314b82ef219f23b72f8da49b4f8ce9b892d54ffbc1b490e87e87efe8d727dab297f775d0d8abfc4a31a734c5a7f8df885e5eda82f
 SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
 DIST Pygments-2.3.1.tar.gz 3124216 BLAKE2B 
99a5f96a2d2f9deb1a6b6ad94a21ab7f517cde47b1e91b67ce594732004cf99db51b1240e0270473f87f5d8a435172545b9fa3449a2ddc113faf5aaef6c34f73
 SHA512 
2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e
 DIST Pygments-2.4.2.tar.gz 9405880 BLAKE2B 
20a955fce2b06ab12bd4ede4da9308f1cc5f2286391146fd83f3d598cd38ae66e7df3c1d779c8f6f5de67ad92d032ff02fef8f41141edb007e2f24d3586d82e6
 SHA512 
c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66
+DIST Pygments-2.5.2.tar.gz 20263984 BLAKE2B 
fab5d11458bcb3bd9a825026f119c0bde6f672b00704f3d5db24ce050b959f0c1a34544642fc1b5911f6ae12a9b595a2cbedadc791d6a3e8c83da1a1add60471
 SHA512 
d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859

diff --git a/dev-python/pygments/pygments-2.5.2.ebuild 
b/dev-python/pygments/pygments-2.5.2.ebuild
new file mode 100644
index 000..c74e33c5dd7
--- /dev/null
+++ b/dev-python/pygments/pygments-2.5.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
+
+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="https://pygments.org/ https://pypi.org/project/Pygments/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   virtual/ttf-fonts
+   )"
+
+distutils_enable_sphinx doc
+
+python_test() {
+   cp -r -l tests "${BUILD_DIR}"/ || die
+   pytest "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   newbashcomp external/pygments.bashcomp pygmentize
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-12-16 Thread Michał Górny
commit: 69176a230bc29314de0aa8b4b2d4ee47d381397e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 16 09:57:00 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 16 10:14:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69176a23

dev-python/pygments: Migrate to DISTUTILS_USE_SETUPTOOLS

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
index 41541677e93..27f768acdbc 100644
--- a/dev-python/pygments/pygments-2.4.2.ebuild
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 
 inherit distutils-r1 bash-completion-r1
@@ -21,8 +22,7 @@ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+DEPEND="
test? (
dev-python/nose[${PYTHON_USEDEP}]
virtual/ttf-fonts



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-12-16 Thread Michał Górny
commit: 89f0c3147fd61fd09140abfda5525c1b5a328219
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 16 10:12:06 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 16 10:14:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f0c314

dev-python/pygments: Use https

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
index 27f768acdbc..13393f067ff 100644
--- a/dev-python/pygments/pygments-2.4.2.ebuild
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -12,7 +12,7 @@ MY_PN="Pygments"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="Pygments is a syntax highlighting package written in Python"
-HOMEPAGE="http://pygments.org/ https://pypi.org/project/Pygments/;
+HOMEPAGE="https://pygments.org/ https://pypi.org/project/Pygments/;
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments-github-lexers/

2019-12-07 Thread Patrick McLean
commit: 318387de1bbe3b38ce98fcf1bfc19d03b5a520aa
Author: Patrick McLean  gentoo  org>
AuthorDate: Sat Dec  7 21:43:28 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Dec  7 21:55:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318387de

dev-python/pygments-github-lexers: New package

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pygments-github-lexers/Manifest  |  1 +
 dev-python/pygments-github-lexers/metadata.xml  | 12 
 .../pygments-github-lexers-0.0.5.ebuild | 21 +
 3 files changed, 34 insertions(+)

diff --git a/dev-python/pygments-github-lexers/Manifest 
b/dev-python/pygments-github-lexers/Manifest
new file mode 100644
index 000..cf833a13220
--- /dev/null
+++ b/dev-python/pygments-github-lexers/Manifest
@@ -0,0 +1 @@
+DIST pygments-github-lexers-0.0.5.tar.gz 6337 BLAKE2B 
21fb1a0627c9ebf42d86d6cceea3ebec4339ef29b1d881d8b3bd5f90060ec2ba76a69ae4bf9e92420a10950ae20c7ea7ff44d5fccf8add06be1f1353cd8b7800
 SHA512 
429a8a81eb0228c806b6fafe5e1c64be92e719170b1af666aa9c9c7923ff4058972a167193dd0ab1ace0395fa1f6621212f800b07dcce4e59970fd905e046d71

diff --git a/dev-python/pygments-github-lexers/metadata.xml 
b/dev-python/pygments-github-lexers/metadata.xml
new file mode 100644
index 000..a3d3849c687
--- /dev/null
+++ b/dev-python/pygments-github-lexers/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+chutz...@gentoo.org
+Patrick McLean
+  
+  
+pygments-github-lexers 
+liluo/pygments-github-lexers
+  
+

diff --git 
a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild 
b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild
new file mode 100644
index 000..33275a6e114
--- /dev/null
+++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
+inherit distutils-r1
+
+DESCRIPTION="Pygments Github custom lexers"
+HOMEPAGE="https://github.com/liluo/pygments-github-lexers;
+SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}"
+
+# no tests



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-11-30 Thread Matthew Thode
commit: 157c9b732b00b82c7425c0ed04dbdaa367760c8c
Author: Matthew Thode  gentoo  org>
AuthorDate: Sat Nov 30 22:42:28 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Sat Nov 30 22:48:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157c9b73

dev-python/pygments: 2.4.2 stable amd64/x86

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/pygments/pygments-2.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
index 41ee50f5a5e..41541677e93 100644
--- a/dev-python/pygments/pygments-2.4.2.ebuild
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-11-25 Thread Michał Górny
commit: 0c22d7078f31852123a5006ca7929ef3a213b06c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 25 12:25:12 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 25 12:35:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c22d707

dev-python/pygments: Use distutils_enable_sphinx

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.4.2.ebuild | 17 +++--
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
index 04253a224e2..41ee50f5a5e 100644
--- a/dev-python/pygments/pygments-2.4.2.ebuild
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -13,31 +13,22 @@ MY_P="${MY_PN}-${PV}"
 DESCRIPTION="Pygments is a syntax highlighting package written in Python"
 HOMEPAGE="http://pygments.org/ https://pypi.org/project/Pygments/;
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_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 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc test"
+IUSE="test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
-   doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
test? (
dev-python/nose[${PYTHON_USEDEP}]
virtual/ttf-fonts
)"
 
-S="${WORKDIR}/${MY_P}"
-
-python_check_deps() {
-   use doc || return 0
-   has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-}
-
-python_compile_all() {
-   use doc && emake -C doc html
-}
+distutils_enable_sphinx doc
 
 python_test() {
cp -r -l tests "${BUILD_DIR}"/ || die
@@ -46,8 +37,6 @@ python_test() {
 }
 
 python_install_all() {
-   use doc && local HTML_DOCS=( doc/_build/html/. )
-
distutils-r1_python_install_all
newbashcomp external/pygments.bashcomp pygmentize
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-11-24 Thread Michał Górny
commit: 61cc1512314948fe693f870dff58096ab4690b91
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 24 17:03:26 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 24 17:03:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61cc1512

dev-python/pygments: Fix MissingTestRestrict

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.2.0-r1.ebuild | 1 +
 dev-python/pygments/pygments-2.2.0.ebuild| 1 +
 dev-python/pygments/pygments-2.3.1.ebuild| 1 +
 dev-python/pygments/pygments-2.4.2.ebuild| 1 +
 4 files changed, 4 insertions(+)

diff --git a/dev-python/pygments/pygments-2.2.0-r1.ebuild 
b/dev-python/pygments/pygments-2.2.0-r1.ebuild
index e4c425181ab..5bd14604f25 100644
--- a/dev-python/pygments/pygments-2.2.0-r1.ebuild
+++ b/dev-python/pygments/pygments-2.2.0-r1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="doc test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 2452e52b9f9..f57a47742fb 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="doc test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 4521b7f1a9c..393608490df 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="doc test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
index b7c7753df88..4c819c2a047 100644
--- a/dev-python/pygments/pygments-2.4.2.ebuild
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -18,6 +18,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="doc test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-11-24 Thread Michał Górny
commit: c21acf65a2f9adf153a6e4992ef04a44b4fb32c6
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 24 17:07:53 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 24 17:07:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21acf65

dev-python/pygments: Enable py3.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/pygments-2.4.2.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
index 4c819c2a047..04253a224e2 100644
--- a/dev-python/pygments/pygments-2.4.2.ebuild
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 
 inherit distutils-r1 bash-completion-r1
 
@@ -22,7 +22,7 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
test? (
dev-python/nose[${PYTHON_USEDEP}]
virtual/ttf-fonts
@@ -30,6 +30,11 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_P}"
 
+python_check_deps() {
+   use doc || return 0
+   has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
 python_compile_all() {
use doc && emake -C doc html
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-07-28 Thread Mikle Kolyada
commit: 9327de1a31d39314108c1c32627cfb36da300a63
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jul 28 19:56:50 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jul 28 19:56:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9327de1a

dev-python/pygments: arm stable wrt bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 69c57625ade..274d8cf60dd 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 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"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv 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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-07-28 Thread Mikle Kolyada
commit: 39bd1666f6838f8e092c13f39c4b6cb4427f4402
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jul 28 19:57:30 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jul 28 19:57:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bd1666

dev-python/pygments: sh stable wrt bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="sh"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 4a909ecfe2e..33d52f25e29 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 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"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv 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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-07-28 Thread Mikle Kolyada
commit: b785ecda1b6625d676bbc953ea8ed3b39c67eb9f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jul 28 19:57:11 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jul 28 19:57:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b785ecda

dev-python/pygments: m68k stable wrt bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="m68k"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 274d8cf60dd..4a909ecfe2e 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 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"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv 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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-07-07 Thread Michał Górny
commit: 32f93e674f0cec0a38760aa01b2e63d88a3d8466
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul  7 13:03:48 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul  7 13:04:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f93e67

dev-python/pygments: Bump to 2.4.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.4.2.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index a1c9d3383dc..275757f2041 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1,3 @@
 DIST Pygments-2.2.0.tar.gz 2113944 BLAKE2B 
58d5f2fa0e6d97f5b7d7a17314b82ef219f23b72f8da49b4f8ce9b892d54ffbc1b490e87e87efe8d727dab297f775d0d8abfc4a31a734c5a7f8df885e5eda82f
 SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
 DIST Pygments-2.3.1.tar.gz 3124216 BLAKE2B 
99a5f96a2d2f9deb1a6b6ad94a21ab7f517cde47b1e91b67ce594732004cf99db51b1240e0270473f87f5d8a435172545b9fa3449a2ddc113faf5aaef6c34f73
 SHA512 
2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e
+DIST Pygments-2.4.2.tar.gz 9405880 BLAKE2B 
20a955fce2b06ab12bd4ede4da9308f1cc5f2286391146fd83f3d598cd38ae66e7df3c1d779c8f6f5de67ad92d032ff02fef8f41141edb007e2f24d3586d82e6
 SHA512 
c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66

diff --git a/dev-python/pygments/pygments-2.4.2.ebuild 
b/dev-python/pygments/pygments-2.4.2.ebuild
new file mode 100644
index 000..490a253a0d4
--- /dev/null
+++ b/dev-python/pygments/pygments-2.4.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+
+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/ https://pypi.org/project/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 ~riscv 
~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
+   )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+   use doc && emake -C doc html
+}
+
+python_test() {
+   cp -r -l tests "${BUILD_DIR}"/ || die
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-06-04 Thread Agostino Sarubbo
commit: ff02f4015edc270fe81e8cb11cc5d2ac35eb7584
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun  4 18:50:22 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun  4 18:51:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff02f401

dev-python/pygments: s390 stable wrt bug #686274

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index af22fcf8f76..b7aedfb83c3 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv ~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"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv 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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-26 Thread Thomas Deutschmann
commit: 7bb1f01483e0ee4b9134c656fd3ee4e944ec7d64
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun May 26 22:15:08 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun May 26 22:26:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb1f014

dev-python/pygments: x86 stable (bug #686274)

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index aee726875c5..af22fcf8f76 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv ~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"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-26 Thread Sergei Trofimovich
commit: 8bff99f85bcb1b6c734789760a04156c64886b8f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 26 07:02:37 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 26 07:03:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bff99f8

dev-python/pygments: stable 2.3.1 for hppa, bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 73473645e1e..aee726875c5 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-25 Thread Aaron Bauman
commit: 369ed6deef1e5e4072440465b113f55c37c95b1f
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat May 25 18:26:27 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat May 25 18:26:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369ed6de

dev-python/pygments: arm64 stable (bug #686274)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index ca6e1c0d1b5..73473645e1e 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-24 Thread Sergei Trofimovich
commit: 065c2ff2de11e78f5431ca514ba308e7aeb8a6ca
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri May 24 22:14:47 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri May 24 22:50:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065c2ff2

dev-python/pygments: stable 2.3.1 for ppc64, bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index e3e0d5e7982..ca6e1c0d1b5 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-24 Thread Sergei Trofimovich
commit: 0b05875fbd706c98430c12031a46547a5db028d3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri May 24 21:43:08 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri May 24 22:08:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b05875f

dev-python/pygments: stable 2.3.1 for ppc, bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 411218d4fee..e3e0d5e7982 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-23 Thread Mikle Kolyada
commit: dc04eb50dc6c500c345ec9813dc427612f826922
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu May 23 12:48:25 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu May 23 12:48:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc04eb50

dev-python/pygments: amd64 stable wrt bug #686274

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index ce5985e3be7..411218d4fee 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-22 Thread Sergei Trofimovich
commit: a8691eed5932638d305bc3a39a1c82b3a2460c3a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed May 22 07:34:14 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May 22 07:35:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8691eed

dev-python/pygments: stable 2.3.1 for ia64, bug #686274

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 9f067d1aa5e..ce5985e3be7 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-20 Thread Sergei Trofimovich
commit: b71403d4c1e947dc6cbef23c5fb20858185211a7
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun May 19 16:08:55 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 20 17:25:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71403d4

dev-python/pygments: stable 2.3.1 for sparc, bug #686274

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 9aceff85df7..9f067d1aa5e 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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 ~riscv 
~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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2019-05-05 Thread Mikle Kolyada
commit: 55f0968665642573360d23b082f84194cb1d88f5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  5 17:08:31 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  5 17:08:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f09686

dev-python/pygments: Add ~riscv keyword

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/pygments/pygments-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
index 72c6b551837..9aceff85df7 100644
--- a/dev-python/pygments/pygments-2.3.1.ebuild
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -16,7 +16,7 @@ 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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-12-22 Thread Tim Harder
commit: ddb74b3032e0a9cd48f256ebf66dd7b5bc5aadbe
Author: Tim Harder  gentoo  org>
AuthorDate: Sat Dec 22 19:33:34 2018 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat Dec 22 19:38:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb74b30

dev-python/pygments: version bump to 2.3.1

Closes: https://bugs.gentoo.org/673550

Signed-off-by: Tim Harder  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.3.1.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 36ccac029d6..a1c9d3383dc 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1 +1,2 @@
 DIST Pygments-2.2.0.tar.gz 2113944 BLAKE2B 
58d5f2fa0e6d97f5b7d7a17314b82ef219f23b72f8da49b4f8ce9b892d54ffbc1b490e87e87efe8d727dab297f775d0d8abfc4a31a734c5a7f8df885e5eda82f
 SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
+DIST Pygments-2.3.1.tar.gz 3124216 BLAKE2B 
99a5f96a2d2f9deb1a6b6ad94a21ab7f517cde47b1e91b67ce594732004cf99db51b1240e0270473f87f5d8a435172545b9fa3449a2ddc113faf5aaef6c34f73
 SHA512 
2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e

diff --git a/dev-python/pygments/pygments-2.3.1.ebuild 
b/dev-python/pygments/pygments-2.3.1.ebuild
new file mode 100644
index 000..7d246ca5ef7
--- /dev/null
+++ b/dev-python/pygments/pygments-2.3.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+
+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/ https://pypi.org/project/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
+   )"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/, dev-python/pygments/files/

2018-10-30 Thread Virgil Dupras
commit: af40b12d48b507c99b68cd41aa0bd936cbd299f0
Author: Virgil Dupras  gentoo  org>
AuthorDate: Wed Oct 31 02:18:26 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Wed Oct 31 02:18:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af40b12d

dev-python/pygments: fix build with USE="doc"

Closes: https://bugs.gentoo.org/662640
Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../pygments/files/pygments-2.2.0-sphinx17.patch   | 22 +
 dev-python/pygments/pygments-2.2.0-r1.ebuild   | 55 ++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/pygments/files/pygments-2.2.0-sphinx17.patch 
b/dev-python/pygments/files/pygments-2.2.0-sphinx17.patch
new file mode 100644
index 000..bb7c6074ff9
--- /dev/null
+++ b/dev-python/pygments/files/pygments-2.2.0-sphinx17.patch
@@ -0,0 +1,22 @@
+# HG changeset patch
+# User WAKAYAMA Shirou 
+# Date 1500298269 -32400
+# Node ID 1a78f58afb5066cf35b04676d0d5ffbb18d5d540
+# Parent  7941677dc77d4f2bf0bbd6140ade85a9454b8b80
+Change to docutils.parsers in sphinxext.
+
+From Sphinx 1.7, sphinx.utils.compat will be removed.
+
+diff --git a/pygments/sphinxext.py b/pygments/sphinxext.py
+--- a/pygments/sphinxext.py
 b/pygments/sphinxext.py
+@@ -16,7 +16,7 @@
+ 
+ from docutils import nodes
+ from docutils.statemachine import ViewList
+-from sphinx.util.compat import Directive
++from docutils.parsers.rst import Directive
+ from sphinx.util.nodes import nested_parse_with_titles
+ 
+ 
+

diff --git a/dev-python/pygments/pygments-2.2.0-r1.ebuild 
b/dev-python/pygments/pygments-2.2.0-r1.ebuild
new file mode 100644
index 000..617820a1b61
--- /dev/null
+++ b/dev-python/pygments/pygments-2.2.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+
+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/ https://pypi.org/project/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 )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   # fix generators for python3.7+
+   "${FILESDIR}"/pygments-2.2.0-pep479.patch
+   # Fixing USE="doc" with sphinx1.7+. bug #662640
+   "${FILESDIR}"/pygments-2.2.0-sphinx17.patch
+)
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-10-30 Thread Virgil Dupras
commit: ba613e9363f949cc2d185a01ebdb0ea418d57193
Author: Virgil Dupras  gentoo  org>
AuthorDate: Wed Oct 31 02:20:45 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Wed Oct 31 02:20:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba613e93

dev-python/pygments: remove old

Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.1.1.ebuild | 52 ---
 2 files changed, 53 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 2369915a009..36ccac029d6 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1 @@
-DIST Pygments-2.1.1.tar.gz 2114190 BLAKE2B 
b0e5d5a62849c97aaac6f0edf26230d5573715fb759667ca88837234ab68da4580b1337ec4ada013b643411c221c572651c6fca6745b976794d5c6246e5d
 SHA512 
7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807
 DIST Pygments-2.2.0.tar.gz 2113944 BLAKE2B 
58d5f2fa0e6d97f5b7d7a17314b82ef219f23b72f8da49b4f8ce9b892d54ffbc1b490e87e87efe8d727dab297f775d0d8abfc4a31a734c5a7f8df885e5eda82f
 SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
deleted file mode 100644
index 82cfec6da8f..000
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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.org/project/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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/files/, dev-python/pygments/

2018-07-12 Thread Michał Górny
commit: 9e75380f3945567172af1e2487ce4d1d1aeae81f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul 12 22:06:43 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 12 22:25:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e75380f

dev-python/pygments: Backport python3.7 generator fix

 .../pygments/files/pygments-2.2.0-pep479.patch | 46 ++
 dev-python/pygments/pygments-2.2.0.ebuild  |  5 +++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/pygments/files/pygments-2.2.0-pep479.patch 
b/dev-python/pygments/files/pygments-2.2.0-pep479.patch
new file mode 100644
index 000..28d40e9566a
--- /dev/null
+++ b/dev-python/pygments/files/pygments-2.2.0-pep479.patch
@@ -0,0 +1,46 @@
+# HG changeset patch
+# User Miro Hrončok 
+# Date 1530720528 -7200
+# Branch py37
+# Node ID 933b5f6afe35e6d554f46085a4e62dc5bf413c87
+# Parent  7941677dc77d4f2bf0bbd6140ade85a9454b8b80
+PEP 479: Raising StopIteration from a generator is now an error
+
+So we return instead. Fix needed for Python 3.7.
+
+Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1457
+
+diff --git a/pygments/lexers/lisp.py b/pygments/lexers/lisp.py
+--- a/pygments/lexers/lisp.py
 b/pygments/lexers/lisp.py
+@@ -2327,13 +2327,13 @@
+ token = Name.Function if token == Literal else token
+ yield index, token, value
+ 
+-raise StopIteration
++return
+ 
+ def _process_signature(self, tokens):
+ for index, token, value in tokens:
+ if token == Literal and value == '}':
+ yield index, Punctuation, value
+-raise StopIteration
++return
+ elif token in (Literal, Name.Function):
+ token = Name.Variable if value.istitle() else Keyword.Type
+ yield index, token, value
+diff --git a/pygments/lexers/sql.py b/pygments/lexers/sql.py
+--- a/pygments/lexers/sql.py
 b/pygments/lexers/sql.py
+@@ -347,7 +347,10 @@
+ # Emit the output lines
+ out_token = Generic.Output
+ while 1:
+-line = next(lines)
++try:
++line = next(lines)
++except StopIteration:
++return
+ mprompt = re_prompt.match(line)
+ if mprompt is not None:
+ # push the line back to have it processed by the prompt

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 07dcfb61841..d9da923f8cd 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -32,6 +32,11 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+   # fix generators for python3.7+
+   "${FILESDIR}"/pygments-2.2.0-pep479.patch
+)
+
 python_compile_all() {
use doc && emake -C doc html
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-07-02 Thread Sergei Trofimovich
commit: ea8c05a9a328b892ec16475cd790815854f30c20
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jul  2 20:29:07 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  2 21:24:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea8c05a9

dev-python/pygments: stable 2.2.0 for sparc

Bug: https://bugs.gentoo.org/641298
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="sparc"

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 856b4051e57..07dcfb61841 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-06-05 Thread Mike Frysinger
commit: 1dd00d01076cac244fc1b3db67d30c530e39b4af
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Jun  5 17:17:36 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jun  5 17:17:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd00d01

dev-python/pygments: mark 2.1.1/2.2.0 m68k/s390/sh stable

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index 2f23f9db6c7..82cfec6da8f 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 413fa9ed07c..856b4051e57 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-05-06 Thread Mart Raudsepp
commit: 6ca2bca8816cd76205dba1f5baf07984e3336acc
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sun May  6 23:58:38 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon May  7 00:12:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca2bca8

dev-python/pygments-2.2.0: arm64 stable

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 0ea8a1b1dce..413fa9ed07c 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-02-01 Thread Thomas Deutschmann
commit: 041d007b905bf29a03e2254101733bee447c78e8
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Feb  1 20:30:43 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Feb  1 20:36:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041d007b

dev-python/pygments: x86 stable (bug #641298)

Package-Manager: Portage-2.3.21, Repoman-2.3.6

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 5a1a8cc83ab..f593de1c1bf 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-01-29 Thread Tobias Klausmann
commit: 86391faccb5ca803bafe0ef1e2787921a575f6f5
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Jan 29 08:21:47 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Jan 29 08:21:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86391fac

dev-python/pygments-2.2.0-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/641298

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index cde3649dec9..5a1a8cc83ab 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2018-01-28 Thread Markus Meier
commit: f93e87c07bb9b8a9aa4f07c89a4194cf18bafee2
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Jan 28 20:40:58 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Jan 28 20:40:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93e87c0

dev-python/pygments: arm stable, bug #641298

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="arm"

 dev-python/pygments/pygments-2.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 9e8fbe328a5..cde3649dec9 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-12-28 Thread Sergei Trofimovich
commit: cee8ec22acfa18fddf9e6082a075a7198d4cc942
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Dec 28 18:02:24 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 28 18:02:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee8ec22

dev-python/pygments: stable 2.2.0 for hppa, bug #641298

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 64b4185585a..9e8fbe328a5 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-12-26 Thread Jason Zaman
commit: a4a2427bab1343f28dd7bce8c60cd769b1456543
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Dec 26 16:13:44 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Dec 26 16:16:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a2427b

dev-python/pygments: amd64 stable

Gentoo-bug: 641298
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 28d1cf2e709..64b4185585a 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-12-24 Thread Sergei Trofimovich
commit: 76847f1ec6bd99710c61f84047c6855a4580faa2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 24 11:09:00 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 24 11:11:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76847f1e

dev-python/pygments: stable 2.2.0 for ppc/ppc64, bug #641298

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc ppc64"

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 91bb81f985e..28d1cf2e709 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-12-24 Thread Sergei Trofimovich
commit: 05ac6172c2ca6a13f3d86deafbe31b6e4684c4a7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 24 09:56:57 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 24 09:59:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ac6172

dev-python/pygments: stable 2.2.0 for ia64, bug #641298

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 dev-python/pygments/pygments-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.2.0.ebuild 
b/dev-python/pygments/pygments-2.2.0.ebuild
index 9c011757b62..91bb81f985e 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-05-03 Thread Michał Górny
commit: e3f3c93eb256d864da10e3e85414429741cc6d88
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  3 10:42:15 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  3 11:02:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f3c93e

dev-python/pygments: Clean old versions up

 dev-python/pygments/Manifest  |  1 -
 dev-python/pygments/pygments-2.1.3.ebuild | 52 ---
 2 files changed, 53 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 8f623f02bdf..691307d3596 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,2 @@
 DIST Pygments-2.1.1.tar.gz 2114190 SHA256 
2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b SHA512 
7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807
 WHIRLPOOL 
6b1ebed4b3c456ada335be87d184bfe197f489b445c362c8f1326229e137e859388e1812290bf1d7f6ed19b780dc8487fe9744863833889d961604fb9489b381
-DIST Pygments-2.1.3.tar.gz 2116434 SHA256 
88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81 SHA512 
f6885abfa0033dc2b8894649c7a4626165af01e69268344f002efdfc536c776a9af86be4e76e5905bd31cb78096e1ed3c16d9dd4b29c6a97b4c9cc1bfd7a5b67
 WHIRLPOOL 
c2315b8be55adc65f48675e58f946af6bf2118661beb0ab7ac149325a2d7f7b19aedef7b1ea6e070b5405c80c3b212cbe520ef23969bffb63bee1d7d6f589f41
 DIST Pygments-2.2.0.tar.gz 2113944 SHA256 
dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
 WHIRLPOOL 
f0562ce0b92245050657b6b8b0952bbd719ad8789434a2c87bb45594787839405bc2fcb05ed125fe1801a71739462be5be96263d27075427a4bafaa5b44e3fe7

diff --git a/dev-python/pygments/pygments-2.1.3.ebuild 
b/dev-python/pygments/pygments-2.1.3.ebuild
deleted file mode 100644
index a3cb534039f..000
--- a/dev-python/pygments/pygments-2.1.3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-03-29 Thread Michael Weber
commit: f00aabb45e553d2e9086881c9f68b1b52abe4766
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Mar 29 21:25:50 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 29 21:25:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00aabb4

dev-python/pygments: arm64 stable.

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="arm arm64 ppc ppc64"

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index bf63ab1acf8..165fa998814 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -16,7 +16,7 @@ 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"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/, dev-python/pygments/files/

2017-01-30 Thread Lars Wendler
commit: 41385422ef4d6ac2dced5aa38352343702b26772
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan 30 17:45:28 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan 30 18:56:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41385422

dev-python/pygments: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/pygments/Manifest   |  2 -
 dev-python/pygments/files/2.0.2-bytes-decode.patch | 16 --
 .../files/2.0.2-shell-injection-backport.patch | 29 ---
 .../files/2.0.2-shell-injection-backport2.patch| 56 -
 dev-python/pygments/pygments-2.0.2-r2.ebuild   | 58 --
 dev-python/pygments/pygments-2.1.ebuild| 52 ---
 6 files changed, 213 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index fb8c2a3..8f623f0 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,5 +1,3 @@
-DIST Pygments-2.0.2.tar.gz 3462280 SHA256 
7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51 SHA512 
b58e2cc535ba3f1fda7cb147e12af128bc2755de56cf465f8f1d642730eaef50c06551cc4cc44f25f726b00f3f1c9c2078977233b11c0b6a7e1add6a4069c27e
 WHIRLPOOL 
4c98134f27dd29c89e4d6157284bdeecaa81c53d823e089292be21a6c418ba4ccfd458ced50326d5a356a7b6cb761a1990440096f5f3d820f776bb19fc0da09d
 DIST Pygments-2.1.1.tar.gz 2114190 SHA256 
2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b SHA512 
7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807
 WHIRLPOOL 
6b1ebed4b3c456ada335be87d184bfe197f489b445c362c8f1326229e137e859388e1812290bf1d7f6ed19b780dc8487fe9744863833889d961604fb9489b381
 DIST Pygments-2.1.3.tar.gz 2116434 SHA256 
88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81 SHA512 
f6885abfa0033dc2b8894649c7a4626165af01e69268344f002efdfc536c776a9af86be4e76e5905bd31cb78096e1ed3c16d9dd4b29c6a97b4c9cc1bfd7a5b67
 WHIRLPOOL 
c2315b8be55adc65f48675e58f946af6bf2118661beb0ab7ac149325a2d7f7b19aedef7b1ea6e070b5405c80c3b212cbe520ef23969bffb63bee1d7d6f589f41
-DIST Pygments-2.1.tar.gz 2078224 SHA256 
13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b SHA512 
4103a636a23d4a7f26c1eb98dc0d2386be17031715ceabb0f1dafb78f2635d8a7f2fe02ff7659c63fbc5c778dff9053c8ef2d916bbbab53841e2b0fafe64c213
 WHIRLPOOL 
81c5c5d110d2813acc12b7fb1800560189a37b51a2720dae2c9b612ec7c694fa381953491eab336a92ebf290fec505bea850fc0a8288f4b0964cfab0134dae8b
 DIST Pygments-2.2.0.tar.gz 2113944 SHA256 
dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
 WHIRLPOOL 
f0562ce0b92245050657b6b8b0952bbd719ad8789434a2c87bb45594787839405bc2fcb05ed125fe1801a71739462be5be96263d27075427a4bafaa5b44e3fe7

diff --git a/dev-python/pygments/files/2.0.2-bytes-decode.patch 
b/dev-python/pygments/files/2.0.2-bytes-decode.patch
deleted file mode 100644
index 35f2e26..
--- a/dev-python/pygments/files/2.0.2-bytes-decode.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- pygments/formatters/img.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
-index db5bee3..12d53cd 100644
 a/pygments/formatters/img.py
-+++ b/pygments/formatters/img.py
-@@ -84,7 +84,7 @@ class FontManager(object):
- if not exit:
- lines = out.splitlines()
- if lines:
--path = lines[0].strip().strip(':')
-+path = lines[0].decode().strip().strip(':')
- return path
- 
- def _create_nix(self):

diff --git a/dev-python/pygments/files/2.0.2-shell-injection-backport.patch 
b/dev-python/pygments/files/2.0.2-shell-injection-backport.patch
deleted file mode 100644
index 0a23adc..
--- a/dev-python/pygments/files/2.0.2-shell-injection-backport.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-# HG changeset patch
-# User Javantea 
-# Date 1443460403 25200
-# Node ID 6b4baae517b6aaff7142e66f1dbadf7b9b871f61
-# Parent  655dbebddc23943b8047b3c139c51c22ef18fd91
-Fix Shell Injection in FontManager._get_nix_font_path
-
-diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
 a/pygments/formatters/img.py
-+++ b/pygments/formatters/img.py
-@@ -10,6 +10,7 @@
- """
- 
- import sys
-+import shlex
- 
- from pygments.formatter import Formatter
- from pygments.util import get_bool_opt, get_int_opt, get_list_opt, \
-@@ -79,8 +80,8 @@
- from commands import getstatusoutput
- except ImportError:
- from subprocess import getstatusoutput
--exit, out = getstatusoutput('fc-list "%s:style=%s" file' %
--(name, style))
-+exit, out = getstatusoutput('fc-list %s file' % 
-+

[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-01-30 Thread Lars Wendler
commit: 50458f337c6fe3fcff8a65be100f9d8f196b21a6
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan 30 17:42:57 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan 30 18:56:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50458f33

dev-python/pygments: Bump to version 2.2.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.2.0.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index a1de4dc..fb8c2a3 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -2,3 +2,4 @@ DIST Pygments-2.0.2.tar.gz 3462280 SHA256 
7320919084e6dac8f4540638a46447a3bd730f
 DIST Pygments-2.1.1.tar.gz 2114190 SHA256 
2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b SHA512 
7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807
 WHIRLPOOL 
6b1ebed4b3c456ada335be87d184bfe197f489b445c362c8f1326229e137e859388e1812290bf1d7f6ed19b780dc8487fe9744863833889d961604fb9489b381
 DIST Pygments-2.1.3.tar.gz 2116434 SHA256 
88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81 SHA512 
f6885abfa0033dc2b8894649c7a4626165af01e69268344f002efdfc536c776a9af86be4e76e5905bd31cb78096e1ed3c16d9dd4b29c6a97b4c9cc1bfd7a5b67
 WHIRLPOOL 
c2315b8be55adc65f48675e58f946af6bf2118661beb0ab7ac149325a2d7f7b19aedef7b1ea6e070b5405c80c3b212cbe520ef23969bffb63bee1d7d6f589f41
 DIST Pygments-2.1.tar.gz 2078224 SHA256 
13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b SHA512 
4103a636a23d4a7f26c1eb98dc0d2386be17031715ceabb0f1dafb78f2635d8a7f2fe02ff7659c63fbc5c778dff9053c8ef2d916bbbab53841e2b0fafe64c213
 WHIRLPOOL 
81c5c5d110d2813acc12b7fb1800560189a37b51a2720dae2c9b612ec7c694fa381953491eab336a92ebf290fec505bea850fc0a8288f4b0964cfab0134dae8b
+DIST Pygments-2.2.0.tar.gz 2113944 SHA256 
dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc SHA512 
cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29
 WHIRLPOOL 
f0562ce0b92245050657b6b8b0952bbd719ad8789434a2c87bb45594787839405bc2fcb05ed125fe1801a71739462be5be96263d27075427a4bafaa5b44e3fe7

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 ..4900fb9
--- /dev/null
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2017-01-29 Thread Fabian Groffen
commit: 390386b2521f57f56c4e4d92ae2f399da47beea4
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 17:14:21 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 17:15:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390386b2

dev-python/pygments: dropped ~x86-interix

Package-Manager: portage-2.3.3

 dev-python/pygments/pygments-2.0.2-r2.ebuild | 4 ++--
 dev-python/pygments/pygments-2.1.1.ebuild| 4 ++--
 dev-python/pygments/pygments-2.1.3.ebuild| 4 ++--
 dev-python/pygments/pygments-2.1.ebuild  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-python/pygments/pygments-2.0.2-r2.ebuild 
b/dev-python/pygments/pygments-2.0.2-r2.ebuild
index 25d5d1c..ccc5206 100644
--- a/dev-python/pygments/pygments-2.0.2-r2.ebuild
+++ b/dev-python/pygments/pygments-2.0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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}]"

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index 5e74f27..57b5f9d 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+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}]"

diff --git a/dev-python/pygments/pygments-2.1.3.ebuild 
b/dev-python/pygments/pygments-2.1.3.ebuild
index 6a23c98..4900fb9 100644
--- a/dev-python/pygments/pygments-2.1.3.ebuild
+++ b/dev-python/pygments/pygments-2.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+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}]"

diff --git a/dev-python/pygments/pygments-2.1.ebuild 
b/dev-python/pygments/pygments-2.1.ebuild
index 012652a..1736ed9 100644
--- a/dev-python/pygments/pygments-2.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-10-01 Thread Jeroen Roovers
commit: 1baeab0ad1f32537d8e3eb578d2cfa1a7cd38653
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct  1 13:58:48 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct  1 13:58:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1baeab0a

dev-python/pygments: Stable for HPPA (bug #577140).

Package-Manager: portage-2.3.1
RepoMan-Options: --ignore-arches

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index 64e314d..d971e99 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-05-27 Thread Tobias Klausmann
commit: ff52ed1b0fcb4a295b4815d8c2bec706305a4498
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri May 27 09:47:08 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri May 27 09:47:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff52ed1b

dev-python/pygments-2.1.1-r0: add alpha keyword

Gentoo-Bug: 577140

Package-Manager: portage-2.3.0_rc1

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index cfe9dda..64e314d 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-03-29 Thread Markus Meier
commit: a012a611db9604168b606065b7bab37b1eeafdd6
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Mar 29 20:45:50 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Mar 29 20:45:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a012a611

dev-python/pygments: arm stable, bug #577140

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="arm"

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index e02c7db..cfe9dda 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-03-20 Thread Agostino Sarubbo
commit: ec4bcd441af139ec0e3f8d9c207764d52bb5c8b1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 20 11:52:35 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 20 11:52:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4bcd44

dev-python/pygments: ia64 stable wrt bug #577140

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index 91f385d..e02c7db 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-03-14 Thread Agostino Sarubbo
commit: 70af321fa74d5ae4bd14fdd848fddab106b01f65
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 14 22:12:37 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 14 22:12:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70af321f

dev-python/pygments: amd64 stable wrt bug #577140

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pygments/pygments-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.1.1.ebuild 
b/dev-python/pygments/pygments-2.1.1.ebuild
index ee306bf..71efc45 100644
--- a/dev-python/pygments/pygments-2.1.1.ebuild
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-03-12 Thread Dirkjan Ochtman
commit: 4249f00fe143e415389933be9fb7655f2d713da1
Author: Dirkjan Ochtman  gentoo  org>
AuthorDate: Sat Mar 12 12:27:49 2016 +
Commit: Dirkjan Ochtman  gentoo  org>
CommitDate: Sat Mar 12 12:28:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4249f00f

dev-python/pygments: version bump to 2.1.3

Package-Manager: portage-2.2.26

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.1.3.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 6b84d53..a1de4dc 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,4 @@
 DIST Pygments-2.0.2.tar.gz 3462280 SHA256 
7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51 SHA512 
b58e2cc535ba3f1fda7cb147e12af128bc2755de56cf465f8f1d642730eaef50c06551cc4cc44f25f726b00f3f1c9c2078977233b11c0b6a7e1add6a4069c27e
 WHIRLPOOL 
4c98134f27dd29c89e4d6157284bdeecaa81c53d823e089292be21a6c418ba4ccfd458ced50326d5a356a7b6cb761a1990440096f5f3d820f776bb19fc0da09d
 DIST Pygments-2.1.1.tar.gz 2114190 SHA256 
2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b SHA512 
7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807
 WHIRLPOOL 
6b1ebed4b3c456ada335be87d184bfe197f489b445c362c8f1326229e137e859388e1812290bf1d7f6ed19b780dc8487fe9744863833889d961604fb9489b381
+DIST Pygments-2.1.3.tar.gz 2116434 SHA256 
88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81 SHA512 
f6885abfa0033dc2b8894649c7a4626165af01e69268344f002efdfc536c776a9af86be4e76e5905bd31cb78096e1ed3c16d9dd4b29c6a97b4c9cc1bfd7a5b67
 WHIRLPOOL 
c2315b8be55adc65f48675e58f946af6bf2118661beb0ab7ac149325a2d7f7b19aedef7b1ea6e070b5405c80c3b212cbe520ef23969bffb63bee1d7d6f589f41
 DIST Pygments-2.1.tar.gz 2078224 SHA256 
13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b SHA512 
4103a636a23d4a7f26c1eb98dc0d2386be17031715ceabb0f1dafb78f2635d8a7f2fe02ff7659c63fbc5c778dff9053c8ef2d916bbbab53841e2b0fafe64c213
 WHIRLPOOL 
81c5c5d110d2813acc12b7fb1800560189a37b51a2720dae2c9b612ec7c694fa381953491eab336a92ebf290fec505bea850fc0a8288f4b0964cfab0134dae8b

diff --git a/dev-python/pygments/pygments-2.1.3.ebuild 
b/dev-python/pygments/pygments-2.1.3.ebuild
new file mode 100644
index 000..ee306bf
--- /dev/null
+++ b/dev-python/pygments/pygments-2.1.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} 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 ~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
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-02-14 Thread Justin Lecher
commit: cef38a7029127492fc29860b2df9a52232060f45
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Feb 14 17:40:30 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Feb 14 17:54:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef38a70

dev-python/pygments: Version Bump

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pygments/Manifest  |  1 +
 dev-python/pygments/pygments-2.1.1.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 867492f..6b84d53 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,2 +1,3 @@
 DIST Pygments-2.0.2.tar.gz 3462280 SHA256 
7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51 SHA512 
b58e2cc535ba3f1fda7cb147e12af128bc2755de56cf465f8f1d642730eaef50c06551cc4cc44f25f726b00f3f1c9c2078977233b11c0b6a7e1add6a4069c27e
 WHIRLPOOL 
4c98134f27dd29c89e4d6157284bdeecaa81c53d823e089292be21a6c418ba4ccfd458ced50326d5a356a7b6cb761a1990440096f5f3d820f776bb19fc0da09d
+DIST Pygments-2.1.1.tar.gz 2114190 SHA256 
2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b SHA512 
7eb35865074f573ef7d41a1f1ee7576a83c32855018d03570eb70fd6864ddfbbc3f93ae082c4ac7e4a274a0ef387ea4ccb0909423e01efb6bb8e4fefea8f2807
 WHIRLPOOL 
6b1ebed4b3c456ada335be87d184bfe197f489b445c362c8f1326229e137e859388e1812290bf1d7f6ed19b780dc8487fe9744863833889d961604fb9489b381
 DIST Pygments-2.1.tar.gz 2078224 SHA256 
13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b SHA512 
4103a636a23d4a7f26c1eb98dc0d2386be17031715ceabb0f1dafb78f2635d8a7f2fe02ff7659c63fbc5c778dff9053c8ef2d916bbbab53841e2b0fafe64c213
 WHIRLPOOL 
81c5c5d110d2813acc12b7fb1800560189a37b51a2720dae2c9b612ec7c694fa381953491eab336a92ebf290fec505bea850fc0a8288f4b0964cfab0134dae8b

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 000..ee306bf
--- /dev/null
+++ b/dev-python/pygments/pygments-2.1.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} 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 ~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
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2016-01-18 Thread Dirkjan Ochtman
commit: 45c0de8fa6ee02f85d2039698e0b882fd362ccee
Author: Dirkjan Ochtman  gentoo  org>
AuthorDate: Mon Jan 18 18:23:20 2016 +
Commit: Dirkjan Ochtman  gentoo  org>
CommitDate: Mon Jan 18 18:23:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c0de8f

dev-python/pygments: version bump to 2.1

Package-Manager: portage-2.2.26

 dev-python/pygments/Manifest|  1 +
 dev-python/pygments/pygments-2.1.ebuild | 52 +
 2 files changed, 53 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 35a8030..867492f 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1 +1,2 @@
 DIST Pygments-2.0.2.tar.gz 3462280 SHA256 
7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51 SHA512 
b58e2cc535ba3f1fda7cb147e12af128bc2755de56cf465f8f1d642730eaef50c06551cc4cc44f25f726b00f3f1c9c2078977233b11c0b6a7e1add6a4069c27e
 WHIRLPOOL 
4c98134f27dd29c89e4d6157284bdeecaa81c53d823e089292be21a6c418ba4ccfd458ced50326d5a356a7b6cb761a1990440096f5f3d820f776bb19fc0da09d
+DIST Pygments-2.1.tar.gz 2078224 SHA256 
13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b SHA512 
4103a636a23d4a7f26c1eb98dc0d2386be17031715ceabb0f1dafb78f2635d8a7f2fe02ff7659c63fbc5c778dff9053c8ef2d916bbbab53841e2b0fafe64c213
 WHIRLPOOL 
81c5c5d110d2813acc12b7fb1800560189a37b51a2720dae2c9b612ec7c694fa381953491eab336a92ebf290fec505bea850fc0a8288f4b0964cfab0134dae8b

diff --git a/dev-python/pygments/pygments-2.1.ebuild 
b/dev-python/pygments/pygments-2.1.ebuild
new file mode 100644
index 000..4e0af7e
--- /dev/null
+++ b/dev-python/pygments/pygments-2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} 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 ~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
+# 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 -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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/files/, dev-python/pygments/

2015-12-04 Thread Justin Lecher
commit: 1df3cf378b95f59d76c98bfca0f23648cbabce2b
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Dec  4 08:34:28 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Dec  4 08:34:28 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df3cf37

dev-python/pygments: Fix byte decoding in py3

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564478

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pygments/files/2.0.2-bytes-decode.patch   | 16 
 ...pygments-2.0.2-r1.ebuild => pygments-2.0.2-r2.ebuild} |  1 +
 2 files changed, 17 insertions(+)

diff --git a/dev-python/pygments/files/2.0.2-bytes-decode.patch 
b/dev-python/pygments/files/2.0.2-bytes-decode.patch
new file mode 100644
index 000..35f2e26
--- /dev/null
+++ b/dev-python/pygments/files/2.0.2-bytes-decode.patch
@@ -0,0 +1,16 @@
+ pygments/formatters/img.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
+index db5bee3..12d53cd 100644
+--- a/pygments/formatters/img.py
 b/pygments/formatters/img.py
+@@ -84,7 +84,7 @@ class FontManager(object):
+ if not exit:
+ lines = out.splitlines()
+ if lines:
+-path = lines[0].strip().strip(':')
++path = lines[0].decode().strip().strip(':')
+ return path
+ 
+ def _create_nix(self):

diff --git a/dev-python/pygments/pygments-2.0.2-r1.ebuild 
b/dev-python/pygments/pygments-2.0.2-r2.ebuild
similarity index 97%
rename from dev-python/pygments/pygments-2.0.2-r1.ebuild
rename to dev-python/pygments/pygments-2.0.2-r2.ebuild
index b2de015..adef7af 100644
--- a/dev-python/pygments/pygments-2.0.2-r1.ebuild
+++ b/dev-python/pygments/pygments-2.0.2-r2.ebuild
@@ -36,6 +36,7 @@ S="${WORKDIR}/${MY_P}"
 PATCHES=(
"${FILESDIR}"/${PV}-shell-injection-backport.patch
"${FILESDIR}"/${PV}-shell-injection-backport2.patch
+   "${FILESDIR}"/${PV}-bytes-decode.patch
 )
 
 python_compile_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2015-10-31 Thread Jeroen Roovers
commit: 48f2457d085a56ceac230604f86443b37546fe16
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct 31 06:39:44 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct 31 06:39:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f2457d

dev-python/pygments: Stable for HPPA PPC64 (bug #564478).

Package-Manager: portage-2.2.23
RepoMan-Options: --ignore-arches

 dev-python/pygments/pygments-2.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.0.2-r1.ebuild 
b/dev-python/pygments/pygments-2.0.2-r1.ebuild
index 3ee352b..e6f7636 100644
--- a/dev-python/pygments/pygments-2.0.2-r1.ebuild
+++ b/dev-python/pygments/pygments-2.0.2-r1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2015-10-31 Thread Justin Lecher
commit: 425575947d9a71a5aed0426a76ea8c1cc0f889da
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Oct 31 07:36:32 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Oct 31 07:36:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42557594

dev-python/pygments: Stable for ALLARCHES

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564478

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pygments/pygments-2.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.0.2-r1.ebuild 
b/dev-python/pygments/pygments-2.0.2-r1.ebuild
index e6f7636..b2de015 100644
--- a/dev-python/pygments/pygments-2.0.2-r1.ebuild
+++ b/dev-python/pygments/pygments-2.0.2-r1.ebuild
@@ -17,7 +17,7 @@ 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 ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2015-10-31 Thread Justin Lecher
commit: 8f3132b9389eef8f0674406cdd36baac8737581f
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Oct 31 07:39:17 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Oct 31 07:39:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3132b9

dev-python/pygments: Drop vulnerable versions

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564478

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pygments/Manifest   |  4 --
 dev-python/pygments/pygments-1.6.ebuild| 49 -
 .../pygments/pygments-1.6_p20140324-r1.ebuild  | 64 --
 dev-python/pygments/pygments-2.0.1-r1.ebuild   | 51 -
 dev-python/pygments/pygments-2.0.1.ebuild  | 62 -
 dev-python/pygments/pygments-2.0.2.ebuild  | 52 --
 6 files changed, 282 deletions(-)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 53ea331..35a8030 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,5 +1 @@
-DIST Pygments-1.6.tar.gz 1423161 SHA256 
799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0 SHA512 
552d0c2a1296773a5482122bd5cbec0ce91a497cd86ee105e1c5ddf2bfa9c206fcc7de504c6da480344c6e1bee30d7b26012fd061dcb2091d8b2b21bcd163bf0
 WHIRLPOOL 
babf6e638529a902fab37c17fb1215aca3c04c3e2a00d00bdff7e8049ca6a46c238282c088e79816f7c6879fc9b13e3de9824ae93d3f184f4d9aae58af0c9c8d
-DIST Pygments-2.0.1.tar.gz 2739480 SHA256 
5e039e1d40d232981ed58914b6d1ac2e453a7e83ddea22ef9f3eeadd01de45cb SHA512 
7c11c7dc09f6a5d964a512eb4c31f34fc0422b29e3124bd4ed0f4ab594c750d39f990e86f65287f499ea1051a27c1087e445332f6b23ad021d6e2d41c6092f3e
 WHIRLPOOL 
7f5d31f86183b230f54d1f08b5e4cb942d38f28d8868ed94b4d129601aa845864cd0f45d5edb2102f655c2800b2e54335d6f4f61975b2f3a8ceeb0b7e5e13217
 DIST Pygments-2.0.2.tar.gz 3462280 SHA256 
7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51 SHA512 
b58e2cc535ba3f1fda7cb147e12af128bc2755de56cf465f8f1d642730eaef50c06551cc4cc44f25f726b00f3f1c9c2078977233b11c0b6a7e1add6a4069c27e
 WHIRLPOOL 
4c98134f27dd29c89e4d6157284bdeecaa81c53d823e089292be21a6c418ba4ccfd458ced50326d5a356a7b6cb761a1990440096f5f3d820f776bb19fc0da09d
-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

diff --git a/dev-python/pygments/pygments-1.6.ebuild 
b/dev-python/pygments/pygments-1.6.ebuild
deleted file mode 100644
index ae7b8a2..000
--- a/dev-python/pygments/pygments-1.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3} pypy )
-
-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/ 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 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
-}

diff --git a/dev-python/pygments/pygments-1.6_p20140324-r1.ebuild 
b/dev-python/pygments/pygments-1.6_p20140324-r1.ebuild
deleted file mode 100644
index d781b67..000

[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/files/, dev-python/pygments/

2015-10-30 Thread Justin Lecher
commit: 0bd80b2412af7bd1143f9bb9a3426ebdfab5c333
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Oct 30 11:14:00 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Oct 30 12:03:49 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bd80b24

dev-python/pygments: Backport fix for shell injection

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564478

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 .../files/2.0.2-shell-injection-backport.patch | 29 +++
 .../files/2.0.2-shell-injection-backport2.patch| 56 +
 dev-python/pygments/metadata.xml   |  2 +-
 dev-python/pygments/pygments-2.0.2-r1.ebuild   | 57 ++
 4 files changed, 143 insertions(+), 1 deletion(-)

diff --git a/dev-python/pygments/files/2.0.2-shell-injection-backport.patch 
b/dev-python/pygments/files/2.0.2-shell-injection-backport.patch
new file mode 100644
index 000..0a23adc
--- /dev/null
+++ b/dev-python/pygments/files/2.0.2-shell-injection-backport.patch
@@ -0,0 +1,29 @@
+# HG changeset patch
+# User Javantea 
+# Date 1443460403 25200
+# Node ID 6b4baae517b6aaff7142e66f1dbadf7b9b871f61
+# Parent  655dbebddc23943b8047b3c139c51c22ef18fd91
+Fix Shell Injection in FontManager._get_nix_font_path
+
+diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
+--- a/pygments/formatters/img.py
 b/pygments/formatters/img.py
+@@ -10,6 +10,7 @@
+ """
+ 
+ import sys
++import shlex
+ 
+ from pygments.formatter import Formatter
+ from pygments.util import get_bool_opt, get_int_opt, get_list_opt, \
+@@ -79,8 +80,8 @@
+ from commands import getstatusoutput
+ except ImportError:
+ from subprocess import getstatusoutput
+-exit, out = getstatusoutput('fc-list "%s:style=%s" file' %
+-(name, style))
++exit, out = getstatusoutput('fc-list %s file' % 
++shlex.quote("%s:style=%s" % (name, 
style)))
+ if not exit:
+ lines = out.splitlines()
+ if lines:

diff --git a/dev-python/pygments/files/2.0.2-shell-injection-backport2.patch 
b/dev-python/pygments/files/2.0.2-shell-injection-backport2.patch
new file mode 100644
index 000..78bf447
--- /dev/null
+++ b/dev-python/pygments/files/2.0.2-shell-injection-backport2.patch
@@ -0,0 +1,56 @@
+# HG changeset patch
+# User Tim Hatch 
+# Date 1445007300 25200
+# Node ID 0036ab1c99e256298094505e5e92fdacdfc5b0a8
+# Parent  c0c0d4049a7c325cd69b764c6ceb7747d319212d
+Avoid the shell entirely when finding fonts.
+
+Manually tested on OS X.
+
+diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
+--- a/pygments/formatters/img.py
 b/pygments/formatters/img.py
+@@ -10,12 +10,13 @@
+ """
+ 
+ import sys
+-import shlex
+ 
+ from pygments.formatter import Formatter
+ from pygments.util import get_bool_opt, get_int_opt, get_list_opt, \
+ get_choice_opt, xrange
+ 
++import subprocess
++
+ # Import this carefully
+ try:
+ from PIL import Image, ImageDraw, ImageFont
+@@ -76,14 +77,11 @@
+ self._create_nix()
+ 
+ def _get_nix_font_path(self, name, style):
+-try:
+-from commands import getstatusoutput
+-except ImportError:
+-from subprocess import getstatusoutput
+-exit, out = getstatusoutput('fc-list %s file' % 
+-shlex.quote("%s:style=%s" % (name, 
style)))
+-if not exit:
+-lines = out.splitlines()
++proc = subprocess.Popen(['fc-list', "%s:style=%s" % (name, style), 
'file'],
++stdout=subprocess.PIPE, stderr=None)
++stdout, _ = proc.communicate()
++if proc.returncode == 0:
++lines = stdout.splitlines()
+ if lines:
+ path = lines[0].strip().strip(':')
+ return path
+@@ -198,7 +196,7 @@
+ bold and italic fonts will be generated.  This really should be a
+ monospace font to look sane.
+ 
+-Default: "Bitstream Vera Sans Mono"
++Default: "Bitstream Vera Sans Mono" on Windows, Courier New on *nix
+ 
+ `font_size`
+ The font size in points to be used.

diff --git a/dev-python/pygments/metadata.xml b/dev-python/pygments/metadata.xml
index 10b24d2..f91efd2 100644
--- a/dev-python/pygments/metadata.xml
+++ b/dev-python/pygments/metadata.xml
@@ -1,4 +1,4 @@
-
+
 http://www.gentoo.org/dtd/metadata.dtd;>
 
python

diff --git a/dev-python/pygments/pygments-2.0.2-r1.ebuild 
b/dev-python/pygments/pygments-2.0.2-r1.ebuild
new file mode 100644
index 000..3ee352b
--- /dev/null
+++ b/dev-python/pygments/pygments-2.0.2-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2015-10-14 Thread Justin Lecher
commit: 9412c7afed5d3f346b04737731ae07542aea6a1f
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Oct 14 12:15:24 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Oct 14 12:15:24 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9412c7af

dev-python/pygments: Keyword under ALLARCHES policy

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pygments/pygments-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pygments/pygments-2.0.2.ebuild 
b/dev-python/pygments/pygments-2.0.2.ebuild
index 2ea5783..cbb8a41 100644
--- a/dev-python/pygments/pygments-2.0.2.ebuild
+++ b/dev-python/pygments/pygments-2.0.2.ebuild
@@ -17,7 +17,7 @@ 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 ~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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/

2015-10-11 Thread Justin Lecher
commit: 72de70a94e4f730877948ccb9ebdeef75aeaf61f
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Oct 11 10:35:44 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Oct 11 11:24:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72de70a9

dev-python/pygments: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pygments/pygments-2.0.2-r1.ebuild | 52 
 1 file changed, 52 insertions(+)

diff --git a/dev-python/pygments/pygments-2.0.2-r1.ebuild 
b/dev-python/pygments/pygments-2.0.2-r1.ebuild
new file mode 100644
index 000..33077c7
--- /dev/null
+++ b/dev-python/pygments/pygments-2.0.2-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} 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="~amd64 ~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
+# 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 -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
+}