void-packages/srcpkgs/python3-distlib/template

26 lines
885 B
Bash

# Template file for 'python3-distlib'
pkgname=python3-distlib
version=0.3.4
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 <chocimier@tlen.pl>"
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=e4b58818180336dc9c529bfb9a0b58728ffc09ad92027a3f30b7cd91e3458579
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
}