python3-poetry-core 2.2.1-1
This commit is contained in:
49
python3-poetry-core/alr.sh
Normal file
49
python3-poetry-core/alr.sh
Normal file
@@ -0,0 +1,49 @@
|
||||
name='python3-poetry-core'
|
||||
version='2.2.1'
|
||||
release='1'
|
||||
desc='Poetry PEP 517 Build Backend'
|
||||
desc_ru='PEP 517 бэкенд сборки для Poetry'
|
||||
homepage='https://github.com/python-poetry/poetry-core'
|
||||
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('poetry-core')
|
||||
conflicts=('poetry-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')
|
||||
|
||||
build_deps=('python3' 'python3-build' 'python3-installer')
|
||||
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer')
|
||||
build_deps_arch=('python' 'python-build' 'python-installer')
|
||||
build_deps_debian=('python3' 'python3-build' '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-build' 'py3-installer')
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/p/poetry-core/poetry_core-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/poetry_core-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/poetry_core-${version}"
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find-lib
|
||||
}
|
||||
Reference in New Issue
Block a user