Date: Wednesday, February 3, 2016 @ 15:03:36 Author: aginiewicz Revision: 160076
archrelease: copy trunk to community-any Added: python-xlsxwriter/repos/community-any/PKGBUILD (from rev 160075, python-xlsxwriter/trunk/PKGBUILD) Deleted: python-xlsxwriter/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-02-03 14:03:32 UTC (rev 160075) +++ PKGBUILD 2016-02-03 14:03:36 UTC (rev 160076) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> - -pkgbase=python-xlsxwriter -pkgname=('python2-xlsxwriter' 'python-xlsxwriter') -pkgver=0.8.0 -pkgrel=1 -pkgdesc="A Python module for creating Excel XLSX files" -arch=('any') -url="https://github.com/jmcnamara/XlsxWriter" -license=('BSD') -makedepends=('python2-setuptools' 'python-setuptools') -source=("https://pypi.python.org/packages/source/X/XlsxWriter/XlsxWriter-${pkgver}.tar.gz") -md5sums=('7765c5dc7f4c346f23f0fbbafaad7667') - -prepare() { - cd "$srcdir" - cp -a XlsxWriter-${pkgver} XlsxWriter-py2-${pkgver} -} - -build() { - msg "Building Python2" - cd "$srcdir"/XlsxWriter-py2-${pkgver} - python2 setup.py build - - msg "Building Python3" - cd "$srcdir"/XlsxWriter-${pkgver} - python setup.py build -} - -package_python2-xlsxwriter() { - depends=('python2') - - cd "$srcdir"/XlsxWriter-py2-${pkgver} - - python2 setup.py install --skip-build --root="$pkgdir" --optimize=1 - - install -D -m644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - mv "$pkgdir"/usr/bin/vba_extract{,2}.py -} - -package_python-xlsxwriter() { - depends=('python') - - cd "$srcdir"/XlsxWriter-${pkgver} - - python setup.py install --skip-build --root="$pkgdir" --optimize=1 - - install -D -m644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - Copied: python-xlsxwriter/repos/community-any/PKGBUILD (from rev 160075, python-xlsxwriter/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-02-03 14:03:36 UTC (rev 160076) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> + +pkgbase=python-xlsxwriter +pkgname=('python2-xlsxwriter' 'python-xlsxwriter') +pkgver=0.8.4 +pkgrel=1 +pkgdesc="A Python module for creating Excel XLSX files" +arch=('any') +url="https://github.com/jmcnamara/XlsxWriter" +license=('BSD') +makedepends=('python2-setuptools' 'python-setuptools') +source=("https://pypi.python.org/packages/source/X/XlsxWriter/XlsxWriter-${pkgver}.tar.gz") +md5sums=('df43f261e541485904d7c91c1a2d6751') + +prepare() { + cd "$srcdir" + cp -a XlsxWriter-${pkgver} XlsxWriter-py2-${pkgver} +} + +build() { + msg "Building Python2" + cd "$srcdir"/XlsxWriter-py2-${pkgver} + python2 setup.py build + + msg "Building Python3" + cd "$srcdir"/XlsxWriter-${pkgver} + python setup.py build +} + +package_python2-xlsxwriter() { + depends=('python2') + + cd "$srcdir"/XlsxWriter-py2-${pkgver} + + python2 setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -D -m644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + mv "$pkgdir"/usr/bin/vba_extract{,2}.py +} + +package_python-xlsxwriter() { + depends=('python') + + cd "$srcdir"/XlsxWriter-${pkgver} + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -D -m644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} +