# Template file for 'python3-distlib' pkgname=python3-distlib version=0.3.2 revision=1 wrksrc="distlib-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" short_desc="Low-level components of distutils2/packaging, with higher-level APIs" maintainer="Piotr Wójcik " license="Python-2.0" homepage="https://bitbucket.org/pypa/distlib" changelog="https://bitbucket.org/pypa/distlib/raw/master/CHANGES.rst" distfiles="${PYPI_SITE}/d/distlib/distlib-${version}.zip" checksum=106fef6dc37dd8c0e2c0a60d3fca3e77460a48907f335fa28420463a6f799736 pre_check() { vsed -i -e "/self.assertFalse(self.fileop.is_writable/s/False/True/" tests/test_util.py vsed -i -e '/def test_sequencer_basic/s/test//' tests/test_util.py vsed -i -e '/def test_dependency_finder/s/test//' tests/test_locators.py } post_install() { vlicense LICENSE.txt }