50 lines
1.7 KiB
Bash
50 lines
1.7 KiB
Bash
name='python3-wheel'
|
||
version='0.45.1'
|
||
release='7'
|
||
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-build' 'python3-installer' 'python3-flit-core')
|
||
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer' 'python3-module-flit_core')
|
||
build_deps_arch=('python' 'python-build' 'python-installer' 'python-flit-core')
|
||
build_deps_debian=('python3' 'python3-build' 'python3-installer' 'python3-flit-core')
|
||
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-flit-core')
|
||
|
||
sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-${version}.tar.gz")
|
||
checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c')
|
||
|
||
build() {
|
||
cd "$srcdir/wheel-${version}"
|
||
python -m build --wheel --no-isolation
|
||
}
|
||
|
||
package() {
|
||
cd "$srcdir/wheel-${version}"
|
||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||
}
|
||
|
||
files() {
|
||
files-find-bin
|
||
files-find-lib
|
||
} |