86>Oct 31 10:40:55 userdel[2722273]: delete user 'rooter'
<86>Oct 31 10:40:55 userdel[2722273]: removed group 'rooter' owned by 'rooter'
<86>Oct 31 10:40:55 groupadd[2722278]: group added to /etc/group: name=rooter, GID=597
<86>Oct 31 10:40:55 groupadd[2722278]: group added to /etc/gshadow: name=rooter
<86>Oct 31 10:40:55 groupadd[2722278]: new group: name=rooter, GID=597
<86>Oct 31 10:40:55 useradd[2722282]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash
<86>Oct 31 10:40:55 userdel[2722290]: delete user 'builder'
<86>Oct 31 10:40:55 userdel[2722290]: removed group 'builder' owned by 'builder'
<86>Oct 31 10:40:55 userdel[2722290]: removed shadow group 'builder' owned by 'builder'
<86>Oct 31 10:40:55 groupadd[2722295]: group added to /etc/group: name=builder, GID=598
<86>Oct 31 10:40:55 groupadd[2722295]: group added to /etc/gshadow: name=builder
<86>Oct 31 10:40:55 groupadd[2722295]: new group: name=builder, GID=598
<86>Oct 31 10:40:55 useradd[2722299]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash
<13>Oct 31 10:40:58 rpmi: libgdbm-1.8.3-alt10 1454943334 installed
<13>Oct 31 10:40:58 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed
<13>Oct 31 10:40:58 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed
<13>Oct 31 10:40:58 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed
<13>Oct 31 10:40:58 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Oct 31 10:40:58 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Oct 31 10:40:58 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed
<13>Oct 31 10:40:58 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Oct 31 10:40:58 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed
<13>Oct 31 10:40:58 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed
<13>Oct 31 10:40:58 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed
<13>Oct 31 10:40:58 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:40:59 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:41:00 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:41:00 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed
<13>Oct 31 10:41:00 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed
<13>Oct 31 10:41:05 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed
<13>Oct 31 10:41:05 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed
<13>Oct 31 10:41:05 rpmi: python3-module-pluggy-0.13.1-alt2 sisyphus+250320.400.1.1 1588511673 installed
<13>Oct 31 10:41:05 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed
<13>Oct 31 10:41:05 rpmi: python3-module-filelock-3.0.10-alt1 sisyphus+228355.1000.1.1 1556554060 installed
<13>Oct 31 10:41:05 rpmi: python3-module-genshi-0.7.3-alt1 sisyphus+258174.100.1.1 1600287033 installed
<13>Oct 31 10:41:05 rpmi: libsqlite3-3.33.0-alt1 sisyphus+256344.100.1.1 1597522272 installed
<13>Oct 31 10:41:05 rpmi: libopenblas-0.3.9-alt1 sisyphus+238855.200.5.1 1593950422 installed
<13>Oct 31 10:41:05 rpmi: python3-modules-sqlite3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:41:05 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed
<13>Oct 31 10:41:05 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed
<13>Oct 31 10:41:05 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed
<13>Oct 31 10:41:05 rpmi: python3-module-distlib-0.3.1-alt1 sisyphus+260458.100.5.1 1603874801 installed
<13>Oct 31 10:41:05 rpmi: python3-module-attrs-20.2.0-alt1 sisyphus+258949.100.1.1 1601485093 installed
<13>Oct 31 10:41:05 rpmi: python3-module-appdirs-1.4.3-alt2 sisyphus+246664.100.1.1 1582182741 installed
<13>Oct 31 10:41:05 rpmi: python3-module-virtualenv-20.1.0-alt1 sisyphus+260458.400.5.1 1603874977 installed
<13>Oct 31 10:41:05 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed
<13>Oct 31 10:41:05 rpmi: python3-module-py-1.9.0-alt1 sisyphus+255737.100.16.1 1603346569 installed
<13>Oct 31 10:41:05 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed
<13>Oct 31 10:41:05 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed
<13>Oct 31 10:41:05 rpmi: python3-module-cffi-1.14.0-alt1 sisyphus+255743.100.1.1 1596453449 installed
<13>Oct 31 10:41:06 rpmi: python3-module-cryptography-3.2.1-alt1 sisyphus+260557.100.1.1 1603890570 installed
<13>Oct 31 10:41:06 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed
<13>Oct 31 10:41:06 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed
<13>Oct 31 10:41:06 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed
<13>Oct 31 10:41:06 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed
<13>Oct 31 10:41:06 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed
<13>Oct 31 10:41:06 rpmi: libquadmath0-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed
<13>Oct 31 10:41:06 rpmi: libgfortran5-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed
<13>Oct 31 10:41:06 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed
<13>Oct 31 10:41:07 rpmi: python3-module-numpy-1:1.19.1-alt1 sisyphus+256803.200.2.1 1598449355 installed
<13>Oct 31 10:41:07 rpmi: python3-module-toml-0.10.1-alt1 sisyphus+257632.200.4.1 1599645356 installed
<13>Oct 31 10:41:07 rpmi: python3-module-pytest-6.1.1-alt1 sisyphus+255737.340.16.1 1603346892 installed
<13>Oct 31 10:41:07 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed
<13>Oct 31 10:41:07 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed
<13>Oct 31 10:41:07 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed
<13>Oct 31 10:41:07 rpmi: python3-module-cssselect-0.9.1-alt2 sisyphus+250566.2300.6.1 1588188959 installed
<13>Oct 31 10:41:07 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed
<13>Oct 31 10:41:07 rpmi: python3-module-lxml-4.5.0-alt2 sisyphus+250566.2700.6.1 1588189778 installed
<13>Oct 31 10:41:07 rpmi: python3-module-pip-20.1.1-alt1 sisyphus+252815.100.1.1 1591282348 installed
<13>Oct 31 10:41:07 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed
<86>Oct 31 10:41:07 groupadd[2733566]: group added to /etc/group: name=_keytab, GID=499
<86>Oct 31 10:41:07 groupadd[2733566]: group added to /etc/gshadow: name=_keytab
<86>Oct 31 10:41:07 groupadd[2733566]: new group: name=_keytab, GID=499
<13>Oct 31 10:41:08 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed
<13>Oct 31 10:41:08 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed
<13>Oct 31 10:41:08 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed
<13>Oct 31 10:41:08 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-json-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-module-pkg_resources-1:42.0.0-alt3 sisyphus+257539.100.1.1 1599462744 installed
<13>Oct 31 10:41:08 rpmi: python-modules-sqlite3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-modules-xml-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:08 rpmi: python-module-coverage-5.3-alt1 sisyphus+258633.100.1.1 1601003056 installed
<13>Oct 31 10:41:08 rpmi: python3-module-tox-3.20.1-alt1 sisyphus+260250.100.2.1 1603460131 installed
<13>Oct 31 10:41:08 rpmi: python3-module-coverage-5.3-alt1 sisyphus+258633.100.1.1 1601003056 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/python-module-pyparsing-2.4.2-alt1.nosrc.rpm
<13>Oct 31 10:41:13 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-modules-bsddb-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-modules-hotshot-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-modules-curses-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-modules-distutils-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed
<13>Oct 31 10:41:13 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed
<13>Oct 31 10:41:13 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed
<13>Oct 31 10:41:13 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed
<13>Oct 31 10:41:13 rpmi: python-dev-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed
<13>Oct 31 10:41:13 rpmi: python-module-setuptools-1:42.0.0-alt3 sisyphus+257539.100.1.1 1599462744 installed
<13>Oct 31 10:41:14 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed
Installing python-module-pyparsing-2.4.2-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19636
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf python-module-pyparsing-2.4.2
+ echo 'Source #0 (python-module-pyparsing-2.4.2.tar):'
Source #0 (python-module-pyparsing-2.4.2.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/python-module-pyparsing-2.4.2.tar
+ cd python-module-pyparsing-2.4.2
+ /bin/chmod -c -Rf u+rwX,go-w .
+ sed -i -e 's/==/>=/g' -e /tox/d requirements-dev.txt
+ cp -a . ../python3
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.99831
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-pyparsing-2.4.2
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ /usr/bin/python2.7 setup.py build
running build
running build_py
creating build
creating build/lib
copying pyparsing.py -> build/lib
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pyparsing-2.4.2
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ /usr/bin/python3 setup.py build
running build
running build_py
creating build
creating build/lib
copying pyparsing.py -> build/lib
+ popd
~/RPM/BUILD/python-module-pyparsing-2.4.2
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78691
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-pyparsing-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/python-module-pyparsing-buildroot
+ cd python-module-pyparsing-2.4.2
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-pyparsing-buildroot --force
running install
running install_lib
creating /usr/src/tmp/python-module-pyparsing-buildroot
creating /usr/src/tmp/python-module-pyparsing-buildroot/usr
creating /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib
creating /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7
creating /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages
copying build/lib/pyparsing.py -> /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages
byte-compiling /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py to pyparsing.pyc
running install_egg_info
running egg_info
creating pyparsing.egg-info
writing pyparsing.egg-info/PKG-INFO
writing top-level names to pyparsing.egg-info/top_level.txt
writing dependency_links to pyparsing.egg-info/dependency_links.txt
writing manifest file 'pyparsing.egg-info/SOURCES.txt'
reading manifest file 'pyparsing.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'HowToUsePyparsing.rst'
warning: no files found matching 'pyparsingClassDiagram.*'
warning: no files found matching 'README.md'
warning: no files found matching 'modules.rst'
no previously-included directories found matching 'docs/_build/*'
writing manifest file 'pyparsing.egg-info/SOURCES.txt'
Copying pyparsing.egg-info to /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing-2.4.2-py2.7.egg-info
running install_scripts
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pyparsing-2.4.2
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-pyparsing-buildroot --force
running install
running install_lib
creating /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3
creating /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages
copying build/lib/pyparsing.py -> /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages
byte-compiling /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py to pyparsing.cpython-38.pyc
running install_egg_info
running egg_info
creating pyparsing.egg-info
writing pyparsing.egg-info/PKG-INFO
writing dependency_links to pyparsing.egg-info/dependency_links.txt
writing top-level names to pyparsing.egg-info/top_level.txt
writing manifest file 'pyparsing.egg-info/SOURCES.txt'
reading manifest file 'pyparsing.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'HowToUsePyparsing.rst'
warning: no files found matching 'pyparsingClassDiagram.*'
warning: no files found matching 'README.md'
warning: no files found matching 'modules.rst'
no previously-included directories found matching 'docs/_build/*'
writing manifest file 'pyparsing.egg-info/SOURCES.txt'
Copying pyparsing.egg-info to /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.8.egg-info
running install_scripts
+ popd
~/RPM/BUILD/python-module-pyparsing-2.4.2
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/python-module-pyparsing-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/python-module-pyparsing-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/python-module-pyparsing-buildroot/ (default)
Compressing files in /usr/src/tmp/python-module-pyparsing-buildroot (auto)
Adjusting library links in /usr/src/tmp/python-module-pyparsing-buildroot
./usr/lib:
Verifying ELF objects in /usr/src/tmp/python-module-pyparsing-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Bytecompiling python modules in /usr/src/tmp/python-module-pyparsing-buildroot using /usr/bin/python2.7
unlink /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.pyc
compile /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py
Bytecompiling python modules with optimization in /usr/src/tmp/python-module-pyparsing-buildroot using /usr/bin/python2.7 -O
compile /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py
Bytecompiling python3 modules in /usr/src/tmp/python-module-pyparsing-buildroot using /usr/bin/python3
unlink /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-38.pyc
compile /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py
Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-pyparsing-buildroot using /usr/bin/python3 -O
compile /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py
Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-pyparsing-buildroot using /usr/bin/python3 -OO
compile /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py
Hardlinking identical .pyc and .opt-?.pyc files
'./usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-38.pyc'
Hardlinking identical .pyc and .pyo files
'./usr/lib/python2.7/site-packages/pyparsing.pyo' => './usr/lib/python2.7/site-packages/pyparsing.pyc'
Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.37832
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-pyparsing-2.4.2
+ sed -i '/^\[testenv\]$/a whitelist_externals =\
\/bin\/cp\
\/bin\/sed\
setenv =\
pyunknown: _COV_BIN=/usr/bin\/coverage\
py38: _COV_BIN=/usr/bin\/coverage3\
commands_pre =\
\/bin\/cp {env:_COV_BIN:} \{envbindir\}\/coverage\
\/bin\/sed -i \x271c #!\{envpython\}\x27 \{envbindir\}\/coverage' tox.ini
+ export PIP_NO_INDEX=YES
+ PIP_NO_INDEX=YES
+ export TOXENV=pyunknown,py38
+ TOXENV=pyunknown,py38
+ tox.py3 --sitepackages -p auto -o -v
using tox.ini: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/tox.ini (pid 2755187)
using tox-3.20.1 from /usr/lib/python3/site-packages/tox/__init__.py (pid 2755187)
GLOB sdist-make: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/setup.py
[2756373] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/bin/python3 setup.py sdist --formats=zip --dist-dir /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/dist >.tox/log/GLOB-0.log
package .tmp/package/1/pyparsing-2.4.2.zip links to dist/pyparsing-2.4.2.zip (/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox)
[2757238] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/bin/python3 /usr/lib/python3/site-packages/tox/__main__.py --sitepackages -p auto -o -v --installpkg .tox/.tmp/package/1/pyparsing-2.4.2.zip
[2757242] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/bin/python3 /usr/lib/python3/site-packages/tox/__main__.py --sitepackages -p auto -o -v --installpkg .tox/.tmp/package/1/pyparsing-2.4.2.zip
using tox.ini: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/tox.ini (pid 2757242)
using tox.ini: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/tox.ini (pid 2757238)
using tox-3.20.1 from /usr/lib/python3/site-packages/tox/__init__.py (pid 2757242)
package 2/pyparsing-2.4.2.zip links to 1/pyparsing-2.4.2.zip (/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/.tmp/package)
py38 cannot reuse: no previous config /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/.tox-config1
py38 create: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38
[2758365] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox$ /usr/bin/python3 -m virtualenv --system-site-packages --no-download --python /usr/bin/python3 py38 >py38/log/py38-0.log
using tox-3.20.1 from /usr/lib/python3/site-packages/tox/__init__.py (pid 2757238)
package 3/pyparsing-2.4.2.zip links to 1/pyparsing-2.4.2.zip (/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/.tmp/package)
pyunknown cannot reuse: no previous config /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/.tox-config1
pyunknown create: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown
[2758401] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox$ /usr/bin/python3 -m virtualenv --system-site-packages --no-download --python /usr/bin/python3 pyunknown >pyunknown/log/pyunknown-0.log
py38 installdeps: -rrequirements-dev.txt
[2759355] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/python -m pip install -rrequirements-dev.txt >.tox/py38/log/py38-1.log
pyunknown installdeps: -rrequirements-dev.txt
[2759426] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/python -m pip install -rrequirements-dev.txt >.tox/pyunknown/log/pyunknown-1.log
py38 inst: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/.tmp/package/2/pyparsing-2.4.2.zip
write config to /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/.tox-config1 as 'd20406ca54ecf8d2da7681203d205ff114490c49a316615df280c472c055b4d3 /usr/bin/python3\n3.20.1 1 0 0\n00000000000000000000000000000000 -rrequirements-dev.txt'
[2761150] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/python -m pip install --exists-action w .tox/.tmp/package/2/pyparsing-2.4.2.zip >.tox/py38/log/py38-2.log
pyunknown inst: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/.tmp/package/3/pyparsing-2.4.2.zip
write config to /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/.tox-config1 as 'd20406ca54ecf8d2da7681203d205ff114490c49a316615df280c472c055b4d3 /usr/bin/python3\n3.20.1 1 0 0\n00000000000000000000000000000000 -rrequirements-dev.txt'
[2761343] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/python -m pip install --exists-action w .tox/.tmp/package/3/pyparsing-2.4.2.zip >.tox/pyunknown/log/pyunknown-2.log
[2765417] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/python -m pip freeze >.tox/py38/log/py38-3.log
[2765896] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/python -m pip freeze >.tox/pyunknown/log/pyunknown-3.log
py38 installed: apipkg==1.5,appdirs==1.4.3,attrs==20.2.0,cffi==1.14.0,coverage==5.3,cryptography==3.2.1,cssselect==0.9.1,distlib==0.3.1,filelock==3.0.10,Genshi==0.7.3,html5lib==1.0.1,iniconfig==1.0.0,lxml==4.5.0,numpy==1.19.1,packaging==19.0,pluggy==0.13.1,py==1.9.0,pycparser==2.19,pyOpenSSL==19.0.0,pyparsing @ file:///usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/.tmp/package/2/pyparsing-2.4.2.zip,pytest==6.1.1,python-ntlm==1.1.0,six==1.15.0,toml==0.10.1,tox==3.20.1,virtualenv==20.1.0,webencodings==0.5.1
py38 run-test-pre: PYTHONHASHSEED='541858653'
py38 run-test-pre: commands[0] | /bin/cp /usr/bin/coverage3 /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/coverage
[2767285] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /bin/cp /usr/bin/coverage3 /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/coverage
py38 run-test-pre: commands[1] | /bin/sed -i '1c #!/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/python' /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/coverage
[2767294] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /bin/sed -i '1c #!/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/python' .tox/py38/bin/coverage
py38 run-test: commands[0] | coverage run --parallel --branch simple_unit_tests.py
[2767298] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/coverage run --parallel --branch simple_unit_tests.py
pyunknown installed: apipkg==1.5,appdirs==1.4.3,attrs==20.2.0,cffi==1.14.0,coverage==5.3,cryptography==3.2.1,cssselect==0.9.1,distlib==0.3.1,filelock==3.0.10,Genshi==0.7.3,html5lib==1.0.1,iniconfig==1.0.0,lxml==4.5.0,numpy==1.19.1,packaging==19.0,pluggy==0.13.1,py==1.9.0,pycparser==2.19,pyOpenSSL==19.0.0,pyparsing @ file:///usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/.tmp/package/3/pyparsing-2.4.2.zip,pytest==6.1.1,python-ntlm==1.1.0,six==1.15.0,toml==0.10.1,tox==3.20.1,virtualenv==20.1.0,webencodings==0.5.1
pyunknown run-test-pre: PYTHONHASHSEED='1879160461'
pyunknown run-test-pre: commands[0] | /bin/cp /usr/bin/coverage /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/coverage
[2767446] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /bin/cp /usr/bin/coverage /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/coverage
pyunknown run-test-pre: commands[1] | /bin/sed -i '1c #!/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/python' /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/coverage
[2767448] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /bin/sed -i '1c #!/usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/python' .tox/pyunknown/bin/coverage
pyunknown run-test: commands[0] | coverage run --parallel --branch simple_unit_tests.py
[2767452] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/coverage run --parallel --branch simple_unit_tests.py
Coverage.py warning: Already imported a file that will be measured: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/lib/python3/site-packages/pkg_resources/_vendor/pyparsing.py (already-imported)
.............
----------------------------------------------------------------------
Ran 13 tests in 0.106s
OK
Simple match - Literal("xyz")
['xyz']
Simple match after skipping whitespace - Literal("xyz")
['xyz']
Simple fail - parse an empty string - Literal("xyz")
^
ParseException: Expected "xyz" (at char 0), (line:1, col:1)
__main__.TestLiteral
pyparsing.Literal - "xyz"
Simple fail - parse a mismatching string - Literal("xyz")
xyu
^
ParseException: Expected "xyz", found 'x' (at char 0), (line:1, col:1)
__main__.TestLiteral
pyparsing.Literal - "xyz"
Simple fail - parse a partially matching string - Literal("xyz")
xy
^
ParseException: Expected "xyz", found 'x' (at char 0), (line:1, col:1)
__main__.TestLiteral
pyparsing.Literal - "xyz"
Fail - parse a partially matching string by matching individual letters - And({"x" "y" "z"})
xy
^
ParseException: Expected "z", found end of text (at char 2), (line:1, col:3)
__main__.TestLiteral
pyparsing.And - {"x" "y" "z"}
pyparsing._SingleCharLiteral - "z"
Match colors, converting to consistent case - ZeroOrMore([{'RED' | 'GREEN' | 'BLUE'}]...)
['RED', 'GREEN', 'BLUE', 'BLUE', 'GREEN', 'GREEN', 'RED']
Simple Word match - _WordRegex(W:(xy))
['xxyxxyy']
Simple Word match of two separate Words - And({W:(x) W:(y)})
['xxxxx', 'yy']
Simple Word match of two separate Words - implicitly skips whitespace - And({W:(x) W:(y)})
['xxxxx', 'yy']
Parsing real numbers - fail, parsed numbers are in pieces - ZeroOrMore([{W:(0123...) "." W:(0123...)}]...)
['1', '.', '2', '2', '.', '3', '3', '.', '1416', '98', '.', '6']
Parsing real numbers - better, use Combine to combine multiple tokens into one - ZeroOrMore([Combine:({W:(0123...) "." W:(0123...)})]...)
['1.2', '2.3', '3.1416', '98.6']
Match several words - ZeroOrMore([{W:(x) | W:(y)}]...)
['xx', 'y', 'xx', 'yy', 'xx', 'y', 'x', 'y', 'xxx', 'y']
Match several words, skipping whitespace - ZeroOrMore([{W:(x) | W:(y)}]...)
['x', 'x', 'y', 'xx', 'y', 'y', 'xx', 'y', 'x', 'y', 'x', 'xx', 'y']
Match several words, skipping whitespace (old style) - OneOrMore({{W:(x) | W:(y)}}...)
['x', 'x', 'y', 'xx', 'y', 'y', 'xx', 'y', 'x', 'y', 'x', 'xx', 'y']
Match words and numbers - show use of results names to collect types of tokens - ZeroOrMore([{W:(ABCD...) | integer}]...)
['sdlfj', 23084, 'ksdfs', 8234, 'kjsdlfkjd', 934]
- alpha: ['sdlfj', 'ksdfs', 'kjsdlfkjd']
- int: [23084, 8234, 934]
Using delimitedList (comma is the default delimiter) - And(W:(ABCD...) [, W:(ABCD...)]...)
['xxyx', 'xy', 'y', 'xxyx', 'yxx', 'xy']
Using delimitedList, with ':' delimiter - Combine(W:(0123...) [: W:(0123...)]...)
['0A:4B:73:21:FE:76']
Match with results name - Literal("xyz")
['xyz']
- value: 'xyz'
Match with results name - using naming short-cut - Literal("xyz")
['xyz']
- value: 'xyz'
Define multiple results names - And({W:(ABCD..., ABCD...) "=" integer})
['range', '=', 5280]
- key: 'range'
- value: 5280
Define multiple results names in groups - ZeroOrMore([Group:({W:(ABCD...) Suppress:("=") {real number with scientific notation | real number | signed integer}})]...)
[['range', 5280], ['long', -138.52], ['lat', 46.91]]
[0]:
['range', 5280]
- key: 'range'
- value: 5280
[1]:
['long', -138.52]
- key: 'long'
- value: -138.52
[2]:
['lat', 46.91]
- key: 'lat'
- value: 46.91
Define multiple results names in groups - use Dict to define results names using parsed keys - Dict(Dict:([Group:({W:(ABCD...) Suppress:("=") {real number with scientific notation | real number | signed integer}})]...))
[['range', 5280], ['long', -138.52], ['lat', 46.91]]
- lat: 46.91
- long: -138.52
- range: 5280
Define multiple value types - Dict(Dict:([Group:({W:(ABCD...) Suppress:("=") {real number with scientific notation | real number | signed integer | True | False | quoted string, starting with ' ending with '}})]...))
[['long', -122.47], ['lat', 37.82], ['public', 'True'], ['name', 'Golden Gate Bridge']]
- lat: 37.82
- long: -122.47
- name: 'Golden Gate Bridge'
- public: 'True'
Parsing real numbers - use parse action to convert to float at parse time - ZeroOrMore([Combine:({W:(0123...) "." W:(0123...)})]...)
[1.2, 2.3, 3.1416, 98.6]
Match with numeric string converted to int - _WordRegex(W:(0123...))
[12345]
Use two parse actions to convert numeric string, then convert to datetime - _WordRegex(W:(0123...))
[datetime.datetime(2018, 9, 20, 3, 53, 48)]
Use tokenMap for parse actions that operate on a single-length token - _WordRegex(W:(0123...))
[datetime.datetime(2018, 9, 20, 3, 53, 48)]
Using a built-in function that takes a sequence of strs as a parse action - ZeroOrMore([W:(0123...)]...)
['0A:4B:73:21:FE:76']
Using a built-in function that takes a sequence of strs as a parse action - ZeroOrMore([W:(0123...)]...)
['0A', '21', '4B', '73', '76', 'FE']
A parse action that adds new key-values - ZeroOrMore([integer]...)
[27, 1, 14, 22, 89]
- ave: 30.6
- max: 89
- min: 1
- sum: 153
Parsing real numbers - using Regex instead of Combine - ZeroOrMore([Re:('\\d+\\.\\d+')]...)
[1.2, 2.3, 3.1416, 98.6]
Define a condition to only match numeric values that are multiples of 7 - ZeroOrMore([W:(0123...)]...)
['14', '35', '77']
Separate conversion to int and condition into separate parse action/conditions - ZeroOrMore([W:(0123...)]...)
[14, 35, 77]
Use transformString to convert simple markup to HTML - And({* | _ | / "(" !W:()) ")"})
Show in bold, underscore, or italic type
A comma-delimited list of words - And(W:(ABCD...) [, W:(ABCD...)]...)
['this', 'that', 'blah', 'foo', 'bar']
A counted array of words - ZeroOrMore([(len) W:(ab)...]...)
[['aaa', 'bbb'], [], ['abab', 'bbaa', 'abbab']]
[0]:
['aaa', 'bbb']
[1]:
[]
[2]:
['abab', 'bbaa', 'abbab']
skipping comments with ignore - And({identifier "=" fnumber})
['abc_100', '=', 3.1416]
- lhs: 'abc_100'
- rhs: 3.1416
some pre-defined expressions in pyparsing_common, and building a dotted identifier with delimted_list - And({{real number with scientific notation | real number | signed integer} identifier [. identifier]... IPv4 address})
[1001, 'www.google.com', '192.168.10.199']
- id_num: 1001
- ip_address: '192.168.10.199'
- name: 'www.google.com'
using oneOf (shortcut for Literal('a') | Literal('b') | Literal('c')) - ZeroOrMore([a | b | c]...)
['a', 'b', 'a', 'b', 'b', 'a', 'c', 'c', 'a', 'b', 'b']
parsing nested parentheses - Forward(nested () expression)
[['a', 'b', ['c'], 'd', ['e', 'f', 'g', []]]]
[0]:
['a', 'b', ['c'], 'd', ['e', 'f', 'g', []]]
[0]:
a
[1]:
b
[2]:
['c']
[3]:
d
[4]:
['e', 'f', 'g', []]
[0]:
e
[1]:
f
[2]:
g
[3]:
[]
parsing nested braces - And({"if" nested () expression nested {} expression})
['if', [['x', '==', 'y'], '||', '!z'], ['printf(', '"{}"', ');']]
- body: [['printf(', '"{}"', ');']]
[0]:
['printf(', '"{}"', ');']
- condition: [[['x', '==', 'y'], '||', '!z']]
[0]:
[['x', '==', 'y'], '||', '!z']
[0]:
['x', '==', 'y']
[1]:
||
[2]:
!z
Coverage.py warning: Already imported a file that will be measured: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/lib/python3/site-packages/pkg_resources/_vendor/pyparsing.py (already-imported)
.....py38 run-test: commands[1] | coverage run --parallel --branch unitTests.py
.[2768556] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/bin/coverage run --parallel --branch unitTests.py
.......
----------------------------------------------------------------------
Ran 13 tests in 0.108s
OK
Simple match - Literal("xyz")
['xyz']
Simple match after skipping whitespace - Literal("xyz")
['xyz']
Simple fail - parse an empty string - Literal("xyz")
^
ParseException: Expected "xyz" (at char 0), (line:1, col:1)
__main__.TestLiteral
pyparsing.Literal - "xyz"
Simple fail - parse a mismatching string - Literal("xyz")
xyu
^
ParseException: Expected "xyz", found 'x' (at char 0), (line:1, col:1)
__main__.TestLiteral
pyparsing.Literal - "xyz"
Simple fail - parse a partially matching string - Literal("xyz")
xy
^
ParseException: Expected "xyz", found 'x' (at char 0), (line:1, col:1)
__main__.TestLiteral
pyparsing.Literal - "xyz"
Fail - parse a partially matching string by matching individual letters - And({"x" "y" "z"})
xy
^
ParseException: Expected "z", found end of text (at char 2), (line:1, col:3)
__main__.TestLiteral
pyparsing.And - {"x" "y" "z"}
pyparsing._SingleCharLiteral - "z"
Match colors, converting to consistent case - ZeroOrMore([{'RED' | 'GREEN' | 'BLUE'}]...)
['RED', 'GREEN', 'BLUE', 'BLUE', 'GREEN', 'GREEN', 'RED']
Simple Word match - _WordRegex(W:(xy))
['xxyxxyy']
Simple Word match of two separate Words - And({W:(x) W:(y)})
['xxxxx', 'yy']
Simple Word match of two separate Words - implicitly skips whitespace - And({W:(x) W:(y)})
['xxxxx', 'yy']
Parsing real numbers - fail, parsed numbers are in pieces - ZeroOrMore([{W:(0123...) "." W:(0123...)}]...)
['1', '.', '2', '2', '.', '3', '3', '.', '1416', '98', '.', '6']
Parsing real numbers - better, use Combine to combine multiple tokens into one - ZeroOrMore([Combine:({W:(0123...) "." W:(0123...)})]...)
['1.2', '2.3', '3.1416', '98.6']
Match several words - ZeroOrMore([{W:(x) | W:(y)}]...)
['xx', 'y', 'xx', 'yy', 'xx', 'y', 'x', 'y', 'xxx', 'y']
Match several words, skipping whitespace - ZeroOrMore([{W:(x) | W:(y)}]...)
['x', 'x', 'y', 'xx', 'y', 'y', 'xx', 'y', 'x', 'y', 'x', 'xx', 'y']
Match several words, skipping whitespace (old style) - OneOrMore({{W:(x) | W:(y)}}...)
['x', 'x', 'y', 'xx', 'y', 'y', 'xx', 'y', 'x', 'y', 'x', 'xx', 'y']
Match words and numbers - show use of results names to collect types of tokens - ZeroOrMore([{W:(ABCD...) | integer}]...)
['sdlfj', 23084, 'ksdfs', 8234, 'kjsdlfkjd', 934]
- alpha: ['sdlfj', 'ksdfs', 'kjsdlfkjd']
- int: [23084, 8234, 934]
Using delimitedList (comma is the default delimiter) - And(W:(ABCD...) [, W:(ABCD...)]...)
['xxyx', 'xy', 'y', 'xxyx', 'yxx', 'xy']
Using delimitedList, with ':' delimiter - Combine(W:(0123...) [: W:(0123...)]...)
['0A:4B:73:21:FE:76']
Match with results name - Literal("xyz")
['xyz']
- value: 'xyz'
Match with results name - using naming short-cut - Literal("xyz")
['xyz']
- value: 'xyz'
Define multiple results names - And({W:(ABCD..., ABCD...) "=" integer})
['range', '=', 5280]
- key: 'range'
- value: 5280
Define multiple results names in groups - ZeroOrMore([Group:({W:(ABCD...) Suppress:("=") {real number with scientific notation | real number | signed integer}})]...)
[['range', 5280], ['long', -138.52], ['lat', 46.91]]
[0]:
['range', 5280]
- key: 'range'
- value: 5280
[1]:
['long', -138.52]
- key: 'long'
- value: -138.52
[2]:
['lat', 46.91]
- key: 'lat'
- value: 46.91
Define multiple results names in groups - use Dict to define results names using parsed keys - Dict(Dict:([Group:({W:(ABCD...) Suppress:("=") {real number with scientific notation | real number | signed integer}})]...))
[['range', 5280], ['long', -138.52], ['lat', 46.91]]
- lat: 46.91
- long: -138.52
- range: 5280
Define multiple value types - Dict(Dict:([Group:({W:(ABCD...) Suppress:("=") {real number with scientific notation | real number | signed integer | True | False | quoted string, starting with ' ending with '}})]...))
[['long', -122.47], ['lat', 37.82], ['public', 'True'], ['name', 'Golden Gate Bridge']]
- lat: 37.82
- long: -122.47
- name: 'Golden Gate Bridge'
- public: 'True'
Parsing real numbers - use parse action to convert to float at parse time - ZeroOrMore([Combine:({W:(0123...) "." W:(0123...)})]...)
[1.2, 2.3, 3.1416, 98.6]
Match with numeric string converted to int - _WordRegex(W:(0123...))
[12345]
Use two parse actions to convert numeric string, then convert to datetime - _WordRegex(W:(0123...))
[datetime.datetime(2018, 9, 20, 3, 53, 48)]
Use tokenMap for parse actions that operate on a single-length token - _WordRegex(W:(0123...))
[datetime.datetime(2018, 9, 20, 3, 53, 48)]
Using a built-in function that takes a sequence of strs as a parse action - ZeroOrMore([W:(0123...)]...)
['0A:4B:73:21:FE:76']
Using a built-in function that takes a sequence of strs as a parse action - ZeroOrMore([W:(0123...)]...)
['0A', '21', '4B', '73', '76', 'FE']
A parse action that adds new key-values - ZeroOrMore([integer]...)
[27, 1, 14, 22, 89]
- ave: 30.6
- max: 89
- min: 1
- sum: 153
Parsing real numbers - using Regex instead of Combine - ZeroOrMore([Re:('\\d+\\.\\d+')]...)
[1.2, 2.3, 3.1416, 98.6]
Define a condition to only match numeric values that are multiples of 7 - ZeroOrMore([W:(0123...)]...)
['14', '35', '77']
Separate conversion to int and condition into separate parse action/conditions - ZeroOrMore([W:(0123...)]...)
[14, 35, 77]
Use transformString to convert simple markup to HTML - And({* | _ | / "(" !W:()) ")"})
Show in bold, underscore, or italic type
A comma-delimited list of words - And(W:(ABCD...) [, W:(ABCD...)]...)
['this', 'that', 'blah', 'foo', 'bar']
A counted array of words - ZeroOrMore([(len) W:(ab)...]...)
[['aaa', 'bbb'], [], ['abab', 'bbaa', 'abbab']]
[0]:
['aaa', 'bbb']
[1]:
[]
[2]:
['abab', 'bbaa', 'abbab']
skipping comments with ignore - And({identifier "=" fnumber})
['abc_100', '=', 3.1416]
- lhs: 'abc_100'
- rhs: 3.1416
some pre-defined expressions in pyparsing_common, and building a dotted identifier with delimted_list - And({{real number with scientific notation | real number | signed integer} identifier [. identifier]... IPv4 address})
[1001, 'www.google.com', '192.168.10.199']
- id_num: 1001
- ip_address: '192.168.10.199'
- name: 'www.google.com'
using oneOf (shortcut for Literal('a') | Literal('b') | Literal('c')) - ZeroOrMore([a | b | c]...)
['a', 'b', 'a', 'b', 'b', 'a', 'c', 'c', 'a', 'b', 'b']
parsing nested parentheses - Forward(nested () expression)
[['a', 'b', ['c'], 'd', ['e', 'f', 'g', []]]]
[0]:
['a', 'b', ['c'], 'd', ['e', 'f', 'g', []]]
[0]:
a
[1]:
b
[2]:
['c']
[3]:
d
[4]:
['e', 'f', 'g', []]
[0]:
e
[1]:
f
[2]:
g
[3]:
[]
parsing nested braces - And({"if" nested () expression nested {} expression})
['if', [['x', '==', 'y'], '||', '!z'], ['printf(', '"{}"', ');']]
- body: [['printf(', '"{}"', ');']]
[0]:
['printf(', '"{}"', ');']
- condition: [[['x', '==', 'y'], '||', '!z']]
[0]:
[['x', '==', 'y'], '||', '!z']
[0]:
['x', '==', 'y']
[1]:
||
[2]:
!z
pyunknown run-test: commands[1] | coverage run --parallel --branch unitTests.py
[2768861] /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2$ /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/bin/coverage run --parallel --branch unitTests.py
Coverage.py warning: Already imported a file that will be measured: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/py38/lib/python3/site-packages/pkg_resources/_vendor/pyparsing.py (already-imported)
..Coverage.py warning: Already imported a file that will be measured: /usr/src/RPM/BUILD/python-module-pyparsing-2.4.2/.tox/pyunknown/lib/python3/site-packages/pkg_resources/_vendor/pyparsing.py (already-imported)
..............................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 217 tests in 55.851s
OK
Beginning test of pyparsing, version 2.4.2 29 Jul 2019 02:58 UTC
Python version 3.8.6 (default, Oct 2 2020, 00:06:33)
[GCC 9.3.1 20200518 (ALT Sisyphus 9.3.1-alt1)]
✔ OK py38 in 1 minute, 8.245 seconds
..................................
----------------------------------------------------------------------
Ran 217 tests in 60.972s
OK
Beginning test of pyparsing, version 2.4.2 29 Jul 2019 02:58 UTC
Python version 3.8.6 (default, Oct 2 2020, 00:06:33)
[GCC 9.3.1 20200518 (ALT Sisyphus 9.3.1-alt1)]
✔ OK pyunknown in 1 minute, 13.499 seconds
___________________________________ summary ____________________________________
pyunknown: commands succeeded
py38: commands succeeded
congratulations :)
+ exit 0
Processing files: python-module-pyparsing-2.4.2-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.47023
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-pyparsing-2.4.2
+ DOCDIR=/usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python-module-pyparsing-2.4.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python-module-pyparsing-2.4.2
+ /bin/mkdir -p /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python-module-pyparsing-2.4.2
+ cp -prL CHANGES README.rst /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python-module-pyparsing-2.4.2
+ chmod -R go-w /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python-module-pyparsing-2.4.2
+ chmod -R a+rX /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python-module-pyparsing-2.4.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2LqlfF
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xtpiuD
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
python.req: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=120 IGNORE (for REQ=slight and deep=8) module=itertools
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=122 IGNORE (for REQ=slight and deep=8) module=itertools
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=125 IGNORE (for REQ=slight and deep=8) module=_thread
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=127 IGNORE (for REQ=slight and deep=8) module=threading
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=131 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=132 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=135 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=136 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=139 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=142 IGNORE (for REQ=slight and deep=12) module=ordereddict
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=147 IGNORE (for REQ=slight and deep=8) module=types
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=252 IGNORE (for REQ=slight and deep=8) module=__builtin__
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=402 IGNORE (for REQ=slight and deep=12) module=inspect
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=1493 IGNORE (for REQ=slight and deep=19) module=pdb
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python2.7/site-packages/pyparsing.py: line=6890 IGNORE (for REQ=slight and deep=8) module=uuid
Provides: python2.7(pyparsing)
Requires: /usr/lib/python2.7/site-packages, python-modules
Processing files: python3-module-pyparsing-2.4.2-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.2112
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd python-module-pyparsing-2.4.2
+ DOCDIR=/usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python3-module-pyparsing-2.4.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python3-module-pyparsing-2.4.2
+ /bin/mkdir -p /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python3-module-pyparsing-2.4.2
+ cp -prL CHANGES README.rst /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python3-module-pyparsing-2.4.2
+ chmod -R go-w /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python3-module-pyparsing-2.4.2
+ chmod -R a+rX /usr/src/tmp/python-module-pyparsing-buildroot/usr/share/doc/python3-module-pyparsing-2.4.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XhVhCC
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8JXI4C
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
python3.req: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: skipping sys
python3.req: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: skipping itertools
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=120 IGNORE (for REQ=slight and deep=8) module=itertools
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=122 IGNORE (for REQ=slight and deep=8) module=itertools
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=125 IGNORE (for REQ=slight and deep=8) module=_thread
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=127 IGNORE (for REQ=slight and deep=8) module=threading
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=131 IGNORE (for REQ=slight and deep=8) module=collections.abc
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=132 IGNORE (for REQ=slight and deep=8) module=collections.abc
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=135 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=136 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=139 IGNORE (for REQ=slight and deep=8) module=collections
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=142 IGNORE (for REQ=slight and deep=12) module=ordereddict
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=147 IGNORE (for REQ=slight and deep=8) module=types
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=252 IGNORE (for REQ=slight and deep=8) module=__builtin__
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=402 IGNORE (for REQ=slight and deep=12) module=inspect
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=1493 IGNORE (for REQ=slight and deep=19) module=pdb
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pyparsing-buildroot/usr/lib/python3/site-packages/pyparsing.py: line=6890 IGNORE (for REQ=slight and deep=8) module=uuid
Provides: python3(pyparsing)
Requires: /usr/lib/python3/site-packages, python3(collections) < 0, python3(copy) < 0, python3(datetime) < 0, python3(functools) < 0, python3(operator) < 0, python3(pprint) < 0, python3(re) < 0, python3(sre_constants) < 0, python3(string) < 0, python3(traceback) < 0, python3(types) < 0, python3(warnings) < 0, python3(weakref) < 0
Wrote: /usr/src/RPM/RPMS/noarch/python-module-pyparsing-2.4.2-alt1.noarch.rpm
Wrote: /usr/src/RPM/RPMS/noarch/python3-module-pyparsing-2.4.2-alt1.noarch.rpm
143.56user 3.59system 1:37.78elapsed 150%CPU (0avgtext+0avgdata 106476maxresident)k
0inputs+0outputs (0major+555493minor)pagefaults 0swaps
161.43user 11.93system 2:02.59elapsed 141%CPU (0avgtext+0avgdata 109872maxresident)k
1168inputs+0outputs (0major+1073835minor)pagefaults 0swaps
--- python3-module-pyparsing-2.4.2-alt1.noarch.rpm.repo 2019-08-15 07:19:39.000000000 +0000
+++ python3-module-pyparsing-2.4.2-alt1.noarch.rpm.hasher 2020-10-31 10:42:54.123213646 +0000
@@ -1,9 +1,9 @@
-/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-37.opt-1.pyc 100644
-/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-37.opt-2.pyc 100644
-/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-37.pyc 100644
-/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.7.egg-info 40755
-/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.7.egg-info/PKG-INFO 100644
-/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.7.egg-info/SOURCES.txt 100644
-/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.7.egg-info/dependency_links.txt 100644
-/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.7.egg-info/top_level.txt 100644
+/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-38.opt-1.pyc 100644
+/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-38.opt-2.pyc 100644
+/usr/lib/python3/site-packages/__pycache__/pyparsing.cpython-38.pyc 100644
+/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.8.egg-info 40755
+/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.8.egg-info/PKG-INFO 100644
+/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.8.egg-info/SOURCES.txt 100644
+/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.8.egg-info/dependency_links.txt 100644
+/usr/lib/python3/site-packages/pyparsing-2.4.2-py3.8.egg-info/top_level.txt 100644
/usr/lib/python3/site-packages/pyparsing.py 100644