* update python-pyaml to 24.7.0-1

This commit is contained in:
Alexander Baldeck 2024-09-24 14:40:19 +02:00
parent ad816cb047
commit 14404b8803
3 changed files with 25 additions and 4 deletions

View File

@ -0,0 +1,18 @@
pkgbase = python-pyaml
pkgdesc = PyYAML-based module to produce pretty and readable YAML-serialized data
pkgver = 24.7.0
pkgrel = 1
url = https://pypi.python.org/pypi/pyaml
arch = any
license = WTFPL
checkdepends = python-unidecode
makedepends = python-setuptools
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python-yaml
optdepends = python-unidecode: Needed if same-id objects or recursion is used within serialized data
source = https://pypi.io/packages/source/p/pyaml/pyaml-24.7.0.tar.gz
sha512sums = c5ce15f0264e8783ed6e03348ad74d25708129fbd377e2ec0fd0c6de72e763ff3cf79ba5d6cc4b641f0422ab87f8103538f2ba6abb16ea21e6820259f4a48b29
pkgname = python-pyaml

View File

@ -0,0 +1,3 @@
[python-pyaml]
source = "pypi"
pypi = "pyaml"

View File

@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-pyaml
pkgver=23.12.0
pkgrel=2
pkgver=24.7.0
pkgrel=1
pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data"
url="https://pypi.python.org/pypi/pyaml"
license=('WTFPL')
@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel
checkdepends=('python-unidecode')
optdepends=('python-unidecode: Needed if same-id objects or recursion is used within serialized data')
source=("https://pypi.io/packages/source/p/pyaml/pyaml-$pkgver.tar.gz")
sha512sums=('f1f03baf2b0a469ffbe7d6eea806cf7623a28c96221bc710873d548d8f416160bf566f44a3a42ca3572085834889e1dd394fc9bdeefe14fe23177b61573df12c')
sha512sums=('c5ce15f0264e8783ed6e03348ad74d25708129fbd377e2ec0fd0c6de72e763ff3cf79ba5d6cc4b641f0422ab87f8103538f2ba6abb16ea21e6820259f4a48b29')
build() {
cd pyaml-$pkgver
@ -32,5 +32,5 @@ package() {
# Remove tests
python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
rm -r ${pkgdir}/usr/lib/python${python_version}/site-packages/pyaml/tests
rm -r "$pkgdir"/usr/lib/python"$python_version"/site-packages/pyaml/tests
}