python-iwlib: set to meta to remove

This commit is contained in:
Nathan Owens 2019-12-24 09:19:44 -06:00 committed by Leah Neukirchen
parent 014a07e7ec
commit 2387157904

View file

@ -3,7 +3,7 @@ pkgname=python-iwlib
version=1.6.2
revision=3
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
build_style=meta
pycompile_module="iwlib"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel wireless_tools-devel libffi-devel"
@ -14,18 +14,3 @@ license="GPL-2.0-only"
homepage="https://github.com/nathan-hoad/python-iwlib"
distfiles="${PYPI_SITE}/i/iwlib/iwlib-${version}.tar.gz"
checksum=7496bcc3f7abb9b23071f83a86b4386fab41852d7ecc7aee05b6e42b832606f3
nocross=https://build.voidlinux.org/builders/aarch64-musl_builder/builds/11458/steps/shell_3/logs/stdio
do_check() {
python3 test/test_imports.py
python2 test/test_imports.py
}
python3-iwlib_package() {
pycompile_module="iwlib"
depends="python3 wireless_tools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}