testing/py3-ruamel-yaml-clib: move from user
This commit is contained in:
parent
d98f9dae6a
commit
b90a9f716c
1 changed files with 13 additions and 4 deletions
|
@ -9,19 +9,28 @@ arch="all"
|
|||
pkgdesc="C version of reader, parser and emitter for ruamel.yaml derived from libyaml"
|
||||
url="https://pypi.python.org/project/$_pyname"
|
||||
license="MIT"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools python3-dev"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-installer
|
||||
py3-wheel
|
||||
python3-dev
|
||||
"
|
||||
options="!check" # No testsuite
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pyname-$pkgver
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
RUAMEL_NO_PIP_INSTALL_CHECK=1 python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
b752b17ddf5da99fa6ee18b0ed1836da9a5c3dc58ab8b326d7aa97f6e4daadb298a2f149d79a650ab0326f52873aee6b1bc68cdaeb59465b4fafce49553ce69e py3-ruamel-yaml-clib-0.2.7.tar.gz
|
||||
"
|
Loading…
Reference in a new issue