Date: Friday, January 8, 2016 @ 12:12:46 Author: spupykin Revision: 155718
archrelease: copy trunk to community-any Added: python-pyserial/repos/community-any/PKGBUILD (from rev 155717, python-pyserial/trunk/PKGBUILD) Deleted: python-pyserial/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-01-08 11:12:29 UTC (rev 155717) +++ PKGBUILD 2016-01-08 11:12:46 UTC (rev 155718) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Douglas Soares de Andrade <dsandr...@gmail.com> -# Contributor: Douglas Soares de Andrade <dsandr...@gmail.com> - -pkgbase=python-pyserial -pkgname=('python-pyserial' 'python2-pyserial') -pkgver=2.7 -pkgrel=5 -pkgdesc="Multiplatform Serial Port Module for Python" -arch=('any') -url="http://pyserial.sf.net" -license=('custom:PYTHON') -makedepends=('python2' 'python') -source=(http://pypi.python.org/packages/source/p/pyserial/pyserial-$pkgver.tar.gz) -md5sums=('794506184df83ef2290de0d18803dd11') - -build() { - cp -a $srcdir/pyserial-$pkgver $srcdir/py2serial-$pkgver -} - -package_python-pyserial() { - depends=('python') - - cd $srcdir/pyserial-$pkgver - python setup.py install --root=$pkgdir - install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt -} - -package_python2-pyserial() { - depends=('python2') - - cd $srcdir/py2serial-$pkgver - python2 setup.py install --root=$pkgdir - install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt - mv $pkgdir/usr/bin/miniterm.py $pkgdir/usr/bin/miniterm2.py -} Copied: python-pyserial/repos/community-any/PKGBUILD (from rev 155717, python-pyserial/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-01-08 11:12:46 UTC (rev 155718) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Douglas Soares de Andrade <dsandr...@gmail.com> +# Contributor: Douglas Soares de Andrade <dsandr...@gmail.com> + +pkgbase=python-pyserial +pkgname=('python-pyserial' 'python2-pyserial') +pkgver=3.0 +pkgrel=1 +pkgdesc="Multiplatform Serial Port Module for Python" +arch=('any') +url="http://pyserial.sf.net" +license=('custom:PYTHON') +makedepends=('python2' 'python') +source=(http://pypi.python.org/packages/source/p/pyserial/pyserial-$pkgver.tar.gz) +md5sums=('f94bc6e141d60f17edc7bf8757c4d922') + +build() { + cp -a $srcdir/pyserial-$pkgver $srcdir/py2serial-$pkgver +} + +package_python-pyserial() { + depends=('python') + + cd $srcdir/pyserial-$pkgver + python setup.py install --root=$pkgdir + install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt +} + +package_python2-pyserial() { + depends=('python2') + + cd $srcdir/py2serial-$pkgver + python2 setup.py install --root=$pkgdir + install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt + mv $pkgdir/usr/bin/miniterm.py $pkgdir/usr/bin/miniterm2.py +}