From a842e0f3153efab1e8fc5a53f2066905930ef98e Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 24 Dec 2019 09:20:32 -0600 Subject: [PATCH] python3-iwlib: update to 1.7.0 ; switch to py3 only Signed-off-by: Nathan Owens --- srcpkgs/python3-iwlib | 1 - srcpkgs/python3-iwlib/template | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) delete mode 120000 srcpkgs/python3-iwlib create mode 100644 srcpkgs/python3-iwlib/template diff --git a/srcpkgs/python3-iwlib b/srcpkgs/python3-iwlib deleted file mode 120000 index fe8ca0048a0..00000000000 --- a/srcpkgs/python3-iwlib +++ /dev/null @@ -1 +0,0 @@ -python-iwlib \ No newline at end of file diff --git a/srcpkgs/python3-iwlib/template b/srcpkgs/python3-iwlib/template new file mode 100644 index 00000000000..0ef7870db65 --- /dev/null +++ b/srcpkgs/python3-iwlib/template @@ -0,0 +1,21 @@ +# Template file for 'python3-iwlib' +pkgname=python3-iwlib +version=1.7.0 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +pycompile_module="iwlib" +hostmakedepends="python3-setuptools" +makedepends="python3-devel wireless_tools-devel libffi-devel" +depends="python3 wireless_tools" +short_desc="Python Iwlib wrapper for interacting with wireless devices" +maintainer="Orphaned " +license="GPL-2.0-only" +homepage="https://github.com/nathan-hoad/python-iwlib" +distfiles="${PYPI_SITE}/i/iwlib/iwlib-${version}.tar.gz" +checksum=a805f6597a70ee3001aba8f039fb7b2dcb75dc15c4e7852f5594fd6379196da1 +nocross=https://build.voidlinux.org/builders/aarch64-musl_builder/builds/11458/steps/shell_3/logs/stdio + +do_check() { + python3 test/test_imports.py +}