aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ruamel.yaml.clib/APKBUILD
blob: c5fbb1ccf3070cb3cae2395891086c26758e0a9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname="py3-ruamel.yaml.clib"
_pyname="ruamel.yaml.clib"
pkgver="0.2.0"
pkgrel=0
pkgdesc="C version of reader, parser and emitter for ruamel.yaml"
url="https://sourceforge.net/projects/ruamel-yaml-clib/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-pip python3-dev"
options="!check" # tests aren't on PyPI, Sourceforge downloads disappeared
source="https://files.pythonhosted.org/packages/source/r/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 -m pip install . --prefix=/usr --root="$pkgdir"
}

sha512sums="7d716e27963b97a1735ba7ff0e581f7ecdfa62725cc42def59ad0ccdf9e23a9f7dfbc3cac298bb3e29362535036b07ba0f523452d6f73248be53c69796637e34  ruamel.yaml.clib-0.2.0.tar.gz"