Date: Thursday, March 5, 2015 @ 17:28:26 Author: aginiewicz Revision: 128777
archrelease: copy trunk to community-any Added: python-xlsxwriter/repos/community-any/PKGBUILD (from rev 128776, python-xlsxwriter/trunk/PKGBUILD) Deleted: python-xlsxwriter/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-03-05 16:28:23 UTC (rev 128776) +++ PKGBUILD 2015-03-05 16:28:26 UTC (rev 128777) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> - -pkgbase=python-xlsxwriter -pkgname=('python2-xlsxwriter' 'python-xlsxwriter') -pkgver=0.6.6 -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=('5dc51eda210ddea487e33e5c9fc5e640') - -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 128776, python-xlsxwriter/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-03-05 16:28:26 UTC (rev 128777) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> + +pkgbase=python-xlsxwriter +pkgname=('python2-xlsxwriter' 'python-xlsxwriter') +pkgver=0.6.7 +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=('4f8ac473e338477352b16e1de0c4906d') + +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" +} +