diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 998ef1d..b9ad1e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,8 @@ -SOURCES/Pygments-2.2.0.tar.gz +Pygments-1.3.1.tar.gz +/Pygments-1.4.tar.gz +/Pygments-1.6.tar.gz +/Pygments-2.0.2.tar.gz +/fix-shell-injection-in-font-manager.patch +/Pygments-2.1.3.tar.gz /Pygments-2.2.0.tar.gz +/import-directive.patch diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 648918d..0000000 --- a/gating.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- !Policy -product_versions: - - rhel-9 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/get-clean-tarball.sh b/get-clean-tarball.sh deleted file mode 100755 index 1072aee..0000000 --- a/get-clean-tarball.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/bash -ex - -# You can set the version as an argument to the script, -# default is taken from the specfile -if [ "$1" = "" ]; then - VERSION=$( - rpm -q --qf "%{VERSION}\n" --specfile python-pygments.spec | head -n1 - ) -else - VERSION=$1 -fi - -SRCURL=https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-$VERSION.tar.gz -BADFILE=Pygments-$VERSION/tests/examplefiles/Intro.java -OUT=Pygments-$VERSION-clean.tar.xz - -curl -L $SRCURL | - gunzip | - tar --delete $BADFILE --delete $BADFILE.output | - xz > $OUT - -if tar tJf $OUT | grep 'Intro.java'; then - >&2 echo "Intro.java left in!" - mv $OUT $OUT.bad - exit 1 -fi diff --git a/import-directive.patch b/import-directive.patch deleted file mode 100644 index cc25063..0000000 --- a/import-directive.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur Pygments-2.2.0/pygments/sphinxext.py Pygments-2.2.0.patch/pygments/sphinxext.py ---- Pygments-2.2.0/pygments/sphinxext.py 2017-01-22 16:01:32.000000000 -0500 -+++ Pygments-2.2.0.patch/pygments/sphinxext.py 2018-03-19 12:57:52.099927570 -0400 -@@ -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/plans.fmf b/plans.fmf deleted file mode 100644 index e6427de..0000000 --- a/plans.fmf +++ /dev/null @@ -1,4 +0,0 @@ -discover: - how: fmf -execute: - how: tmt diff --git a/sources b/sources index fa8c596..65e7b13 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (Pygments-2.2.0.tar.gz) = cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29 +SHA512 (import-directive.patch) = a0ee6528a0a4ceba43c271bee25605f09729765c0cfbda73e70db4df107281bc0f59dc204796ef0cdb1369f156c44b3cfd103d7c6512dc38bd288a84b452e564 diff --git a/tests/smoke.fmf b/tests/smoke.fmf deleted file mode 100644 index 728e74d..0000000 --- a/tests/smoke.fmf +++ /dev/null @@ -1,5 +0,0 @@ -framework: shell -require: -- python3-pygments -/version: - test: pygmentize -V