name='python3-icoextract' version='0.2.0' release='2' desc='Windows PE EXE icon extractor' desc_ru='Извлечение иконок из Windows PE EXE файлов' homepage='https://github.com/jlu5/icoextract' maintainer='Evgeny Khramov ' maintainer_ru='Евгений Храмов ' architectures=('all') license=('MIT') provides=('icoextract') conflicts=('icoextract') deps=('python3' 'python3-pefile') deps_alt=('python3' 'python3-module-pefile') deps_arch=('python' 'python-pefile') deps_debian=('python3' 'python3-pefile') deps_fedora=("${deps[@]}") deps_redos=("${deps[@]}") deps_rhel=("${deps[@]}") deps_rosa=("${deps[@]}") deps_alpine=('python3' 'py3-pefile') build_deps=('python3' 'python3-build' 'python3-installer' 'python3-setuptools') build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer' 'python3-module-setuptools') build_deps_arch=('python' 'python-build' 'python-installer' 'python-setuptools') build_deps_debian=('python3' 'python3-build' 'python3-installer' 'python3-setuptools') build_deps_fedora=("${build_deps[@]}") build_deps_redos=("${build_deps[@]}") build_deps_rhel=("${build_deps[@]}") build_deps_rosa=("${build_deps[@]}") build_deps_alpine=('python3' 'py3-build' 'py3-installer' 'py3-setuptools') sources=("https://files.pythonhosted.org/packages/source/i/icoextract/icoextract-${version}.tar.gz") checksums=('SKIP') build() { cd "$srcdir/icoextract-${version}" python3 -m build --wheel --no-isolation } package() { cd "$srcdir/icoextract-${version}" python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl } files() { files-find-bin files-find-lib }