38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
name='python3-pyaml'
|
|
version='25.7.0'
|
|
release='3'
|
|
desc='PyYAML-based module to produce a bit more pretty and readable YAML-serialized data.'
|
|
desc_ru='Модуль PyYAML для создания более красивого и читаемого YAML-представления данных.'
|
|
homepage='https://github.com/mk-fg/pretty-yaml'
|
|
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
|
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
|
architectures=('all')
|
|
license=('WTFPL')
|
|
provides=('pyaml')
|
|
conflicts=('pyaml')
|
|
|
|
deps=("python3")
|
|
deps_arch=("python")
|
|
deps_alpine=("python3")
|
|
|
|
build_deps=("python3" "python3-build" "python3-installer")
|
|
build_deps_arch=("python" "python-build" "python-installer")
|
|
build_deps_alpine=("python3" "py3-build" "py3-installer")
|
|
|
|
sources=("https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-25.7.0.tar.gz")
|
|
checksums=('blake2b-256:c40141f63d66a801a561c9e335523516bd5f761bc43cc61f8b75918306bf2da8')
|
|
|
|
build() {
|
|
cd "$srcdir/pyaml-${version}"
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/pyaml-${version}"
|
|
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
|
}
|
|
|
|
files() {
|
|
files-find-bin
|
|
files-find-lib
|
|
} |