python3-flit-core 3.12.0-1
This commit is contained in:
50
python3-flit-core/alr.sh
Normal file
50
python3-flit-core/alr.sh
Normal file
@@ -0,0 +1,50 @@
|
||||
name='python3-flit-core'
|
||||
version='3.12.0'
|
||||
release='1'
|
||||
desc='PEP 517 build backend for packages using Flit'
|
||||
desc_ru='PEP 517 бэкенд сборки для пакетов использующих Flit'
|
||||
homepage='https://flit.pypa.io/'
|
||||
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('BSD-3-Clause')
|
||||
provides=('flit-core')
|
||||
conflicts=('flit-core')
|
||||
|
||||
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')
|
||||
|
||||
# flit-core is a bootstrap package - it can build itself
|
||||
build_deps=('python3' 'python3-installer')
|
||||
build_deps_alt=('python3' 'python3-module-installer')
|
||||
build_deps_arch=('python' 'python-installer')
|
||||
build_deps_debian=('python3' 'python3-installer')
|
||||
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-installer')
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/f/flit-core/flit_core-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/flit_core-${version}"
|
||||
python -m flit_core.wheel
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/flit_core-${version}"
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find-lib
|
||||
}
|
||||
Reference in New Issue
Block a user