summaryrefslogtreecommitdiff
path: root/dev-python/pygments
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygments')
-rw-r--r--dev-python/pygments/Manifest4
-rw-r--r--dev-python/pygments/pygments-2.7.4.ebuild (renamed from dev-python/pygments/pygments-2.7.3.ebuild)10
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index fd7c579d0e13..a1f917543606 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,3 @@
-DIST Pygments-2.7.3.tar.gz 2355381 BLAKE2B a7ae0ce7fefd8e2ec707ca8cf2d01d1b746d233e36c78ec51055f750e1a508240b706be50e5f1260f93fe19e15dc27d8de8c614260783713dc61c3c683b86c57 SHA512 fe58ce0beb3d2fd88b374d7864e93dba41e4e2ad6dca570e284fd76615c5bb4e78459a4b8c4dd5f61603d4bccd5705cebafd7274369d158af149e838ec63f7eb
-EBUILD pygments-2.7.3.ebuild 946 BLAKE2B bc779c3136b9df401d5083619a6f28e9f60d021062fd4c0435b44350e1983f9aef221a7d484cdf3c5531a638e09994100e1884641899bc7da1c39ebb84860a9d SHA512 4f4f339de5aefdcfc1723411967e46e7a7d6d820a6ca564d89a42d948af1c1a5716eb8dfa76c5d88c9aa6d6ccc4908d892f59536af999d5c933c4bf728a4657d
+DIST Pygments-2.7.4.tar.gz 2325473 BLAKE2B 48e45f8d58e4d06be71cacbfbcbee57c69fe0b4c344c1dde2054912f1b74c67db19c24de2661acab7026ea78420ff90e4596e1a89b783ce79ebea12c8d3a7a60 SHA512 84fb2e0c52e4683d52524ee1d70c11a9ff6cc0b21fe6aa3e1a6c4fac393f87267756b1c04b7c2555799e387b2e9ca7d2e7703ddc1690a642aa263ed27510e030
+EBUILD pygments-2.7.4.ebuild 1236 BLAKE2B 5fd235b382de6224b8958289243666236d1ee4ba8e2bbd22bb0812027d26b81f64db9131d882c604c9d83699402a405e2b16caad816203a721dce013a75de196 SHA512 dac5160a45335154dbd080464cf5aee7b864461874b527b41af1e9eaf8b037fe8f408809a5693f93648590483c87ec069c06d8491c3b464498a98f91c4d739fe
MISC metadata.xml 556 BLAKE2B 87120b6aafeefb97b45a6895b23d08c6443cb177d5bc337845bec55ebdb59ee9eb19ef41c10b3ce4d61452c602f925b4120a441959b5b5d5fea26e15de4a1510 SHA512 b5f4491bb714e2abef07da4e960609aae651ceae3153102467e19bc4d06b9006418729f0b915cc026842253287786faa083d608c0ad5bd7f5c423922740580bd
diff --git a/dev-python/pygments/pygments-2.7.3.ebuild b/dev-python/pygments/pygments-2.7.4.ebuild
index 0ac9a8b410b2..e80a67cac2a6 100644
--- a/dev-python/pygments/pygments-2.7.3.ebuild
+++ b/dev-python/pygments/pygments-2.7.4.ebuild
@@ -29,6 +29,16 @@ BDEPEND="
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