diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-12-16 14:31:22 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-01-02 08:02:12 +0000 |
commit | 79266aa6617ac873a9e813417f8a55885bb19390 (patch) | |
tree | 217ec82d9c52e582f077ef19e312d5fddb4305b2 /main | |
parent | 7dd93c8970df95fd081e3fca7ab97c5439bf3067 (diff) | |
download | aports-79266aa6617ac873a9e813417f8a55885bb19390.tar.bz2 aports-79266aa6617ac873a9e813417f8a55885bb19390.tar.xz |
main/py3-lxc: new aport
This is split from lxc. For more info:
https://brauner.github.io/2018/02/27/lxc-removes-legacy-template-build-system.html
Diffstat (limited to 'main')
-rw-r--r-- | main/py3-lxc/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/py3-lxc/APKBUILD b/main/py3-lxc/APKBUILD new file mode 100644 index 0000000000..e4ed663ae4 --- /dev/null +++ b/main/py3-lxc/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> +# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> +pkgname=py3-lxc +pkgver=3.0.3 +pkgrel=0 +pkgdesc="Python3 bindings for LXC" +url="https://linuxcontainers.org" +arch="all" +license="LGPL-2.1" +depends="python3" +makedepends="python3-dev lxc-dev" +install="" +subpackages="" +source="https://linuxcontainers.org/downloads/lxc/python3-lxc-$pkgver.tar.gz" +builddir="$srcdir/python3-lxc-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="32f444df47d46b998d9d4aa88316817a49c5bd22e77debef7b06dfe470654320c0f43a72969cf3a7c6849b8badc1206e7d1e438e2c10ee2744c6f0b26e50d748 python3-lxc-3.0.3.tar.gz" |