Files
alr-repo/python3-wheel/alr.sh

51 lines
1.6 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name='python3-wheel'
version='0.45.1'
release='6'
desc='This is a command line tool for manipulating Python wheel files, as defined in PEP 427'
desc_ru='Библиотека Python для работы с wheel-файлами согласно PEP 427'
homepage='https://github.com/pypa/wheel'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
provides=('python-wheel')
conflicts=('python-wheel')
deps=('python3')
deps_alt=('python3')
deps_arch=('python')
deps_debian=('python3')
deps_fedora=('python3')
deps_redos=('python3')
deps_rhel=('python3')
deps_rosa=('python3')
deps_alpine=('python3')
build_deps=('python3' 'python3-pip')
build_deps_alt=('python3' 'python3-module-pip')
build_deps_arch=('python' 'python-pip')
build_deps_debian=('python3' 'python3-pip')
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-pip')
sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-${version}.tar.gz")
checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c')
build() {
cd "$srcdir/wheel-${version}"
python3 -m build
}
package() {
cd "$srcdir/wheel-${version}"
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
}
files() {
files-find "./usr/local/bin"
files-find "./usr/local/lib/python3.*/site-packages/wheel"
files-find "./usr/local/lib/python3.*/site-packages/wheel-*.dist-info"
}