testing/py3-pyaml: move from user
This commit is contained in:
parent
da52559518
commit
60bc034f61
1 changed files with 24 additions and 15 deletions
|
@ -3,35 +3,44 @@
|
|||
|
||||
pkgname=py3-pyaml
|
||||
_pkgname="pyaml"
|
||||
pkgver=21.10.1
|
||||
pkgrel=1
|
||||
pkgver=23.7.0
|
||||
pkgrel=0
|
||||
arch='noarch'
|
||||
pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data"
|
||||
url="https://pypi.python.org/pypi/pyaml"
|
||||
license="BSD"
|
||||
depends="py3-yaml"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-unidecone"
|
||||
license="WTFPL"
|
||||
depends="
|
||||
py3-yaml
|
||||
"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-wheel
|
||||
py3-installer
|
||||
"
|
||||
checkdepends="
|
||||
py3-unidecode
|
||||
py3-pytest
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
options="!check"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
pytest -v
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install \
|
||||
--skip-build \
|
||||
--optimize=1 \
|
||||
--prefix=/usr \
|
||||
--root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3a98a021856446584f079bfb7427c63feaf6fdd1bd0d809d46aa0c646b2cb9533c393ed0167240be587aad7b94209b6e5bfe2c09918b45ec9a86ad9781bdf9f2 py3-pyaml-21.10.1.tar.gz
|
||||
edbe58a3a7f1216a2463ac56af829c38b12b7194429691a92cb7f28ca926094e324d6e44d3fb64be40239dc8a6dc61d72946b107f5210ca83e73dec18b1428ef py3-pyaml-23.7.0.tar.gz
|
||||
"
|
Loading…
Reference in a new issue