Date: Monday, October 5, 2015 @ 15:33:24 Author: aginiewicz Revision: 143003
archrelease: copy trunk to community-any Added: python-xlsxwriter/repos/community-any/PKGBUILD (from rev 143002, python-xlsxwriter/trunk/PKGBUILD) Deleted: python-xlsxwriter/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-10-05 13:33:20 UTC (rev 143002) +++ PKGBUILD 2015-10-05 13:33:24 UTC (rev 143003) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> - -pkgbase=python-xlsxwriter -pkgname=('python2-xlsxwriter' 'python-xlsxwriter') -pkgver=0.7.3 -pkgrel=2 -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=('090a2d2b0c3c654ba44954be29306371') - -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 143002, python-xlsxwriter/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-10-05 13:33:24 UTC (rev 143003) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> + +pkgbase=python-xlsxwriter +pkgname=('python2-xlsxwriter' 'python-xlsxwriter') +pkgver=0.7.5 +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=('5e23f07221796a439072f3f38a21d6c2') + +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" +} +