# Note: depends on pkg-config # Note: depends on libffi # Note: depends on Python # Note: depends on setuptools # Note: depends on python-six wget -c https://github.com/hamcrest/PyHamcrest/archive/V1.9.0/PyHamcrest-1.9.0.tar.gz tar -xzf PyHamcrest-1.9.0.tar.gz cd PyHamcrest-1.9.0 sed -i -e 's/def[^(]*download/def nodl_/' distribute_setup.py python3 setup.py build python3 setup.py install # as root