diff --git a/srcpkgs/python-pyserial/template b/srcpkgs/python-pyserial/template index 8e58004002c..b8f6d385278 100644 --- a/srcpkgs/python-pyserial/template +++ b/srcpkgs/python-pyserial/template @@ -2,11 +2,11 @@ # vim: set ts=4 sw=4 sts=4 et: pkgname=python-pyserial -version=2.7 -revision=2 +version=3.0.1 +revision=1 maintainer="Carlo Dormeletti " -homepage="http://pyserial.sourceforge.net/" -license="LGPL-2.1" +homepage="https://github.com/pyserial/pyserial" +license="3-clause-BSD" short_desc="Python2 module providing access for the serial port" noarch=yes wrksrc="pyserial-${version}" @@ -14,6 +14,9 @@ build_style=python-module hostmakedepends="python-setuptools" depends="python" pycompile_module="serial" -distfiles="${PYPI_SITE}/p/pyserial/pyserial-${version}.tar.gz" -checksum=3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477 +distfiles="https://github.com/pyserial/pyserial/archive/v${version}.tar.gz" +checksum=f99c338cd421348ca91f4e7dcb01d3c15d4e6e85b63d793b46d5ba4c826b7ba1 +post_install() { + vlicense LICENSE.txt +}