From e2786ac703bf4773fcfc72dde7bd11c842cb4c2f Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 2 May 2018 12:33:45 +0000 Subject: testing/py3-lxc: new aport --- testing/py3-lxc/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/py3-lxc/APKBUILD (limited to 'testing') diff --git a/testing/py3-lxc/APKBUILD b/testing/py3-lxc/APKBUILD new file mode 100644 index 0000000000..14bd6168c8 --- /dev/null +++ b/testing/py3-lxc/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=py3-lxc +_pkgname=python3-lxc +pkgver=3.0.1 +pkgrel=0 +pkgdesc="Python3 binding for liblxc" +url="https://github.com/lxc/python3-lxc" +arch="all" +license="LGPL-2.1" +depends="python3" +makedepends="python3-dev lxc-dev" +source="https://github.com/lxc/$_pkgname/archive/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="e8a3841133e4033aa25e1fb3290dcf24cd396960f6295d99fefe9d2a08bdc0577e65876258e7ee3939b8a0a0da467d75b522a411143541d26144afdb1f741200 python3-lxc-3.0.1.tar.gz" -- cgit v1.2.3