32 lines
963 B
Text
32 lines
963 B
Text
# Maintainer: Antoine Martin <dev@ayakael.net>
|
|
|
|
_pyname='ruamel.yaml.clib'
|
|
pkgname="py3-ruamel-yaml-clib"
|
|
pkgver=0.2.6
|
|
pkgrel=0
|
|
arch='x86_64'
|
|
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'
|
|
options="!check"
|
|
source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-${pkgver}.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
|
|
RUAMEL_NO_PIP_INSTALL_CHECK=1 python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
|
|
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
sha512sums="
|
|
12307a3c3bae09cf65d9672894c9a869a7ed5483ca3afb9ee39d8bcbf1948b012a0dbf570e315cc8b9a8b55184de9e10324953ec4819d214379e01522ee13b20 py3-ruamel-yaml-clib-0.2.6.tar.gz
|
|
"
|