From a0de62c4d2adc3812b587947ab48c4a72187c423 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Mon, 1 Jul 2019 10:47:21 +0700 Subject: [PATCH] New package: python3-usb-1.0.2 --- srcpkgs/python3-usb/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-usb/template diff --git a/srcpkgs/python3-usb/template b/srcpkgs/python3-usb/template new file mode 100644 index 0000000000..a081ee5ba7 --- /dev/null +++ b/srcpkgs/python3-usb/template @@ -0,0 +1,21 @@ +# Template file for 'python3-usb' +pkgname=python3-usb +_pkgname=pyusb +version=1.0.2 +revision=1 +archs=noarch +wrksrc="${_pkgname}-${version}" +build_style=python3-module +pycompile_module=usb +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python library for USB communication" +maintainer="Doan Tran Cong Danh " +license="BSD-3-Clause" +homepage="https://github.com/pyusb/pyusb" +distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz" +checksum=4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362 + +post_install() { + vlicense LICENSE +}