[arch-commits] Commit in python-xlsxwriter/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 18:09:43 UTC 2019
Date: Thursday, October 3, 2019 @ 18:09:43
Author: aginiewicz
Revision: 512521
archrelease: copy trunk to community-any
Added:
python-xlsxwriter/repos/community-any/PKGBUILD
(from rev 512520, python-xlsxwriter/trunk/PKGBUILD)
Deleted:
python-xlsxwriter/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 18:09:40 UTC (rev 512520)
+++ PKGBUILD 2019-10-03 18:09:43 UTC (rev 512521)
@@ -1,51 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-xlsxwriter
-pkgname=('python2-xlsxwriter' 'python-xlsxwriter')
-pkgver=1.2.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://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz")
-sha256sums=('f054def307c958827ff4312cdacd5a95f2c7815c5b8767cf1f2c3e957acd88c8')
-
-prepare() {
- cd "$srcdir"
- cp -a XlsxWriter-RELEASE_${pkgver} XlsxWriter-py2-RELEASE_${pkgver}
-}
-
-build() {
- # "Building Python2"
- cd "$srcdir"/XlsxWriter-py2-RELEASE_${pkgver}
- python2 setup.py build
-
- # "Building Python3"
- cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
- python setup.py build
-}
-
-package_python2-xlsxwriter() {
- depends=('python2')
-
- cd "$srcdir"/XlsxWriter-py2-RELEASE_${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-RELEASE_${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 512520, python-xlsxwriter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 18:09:43 UTC (rev 512521)
@@ -0,0 +1,51 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgbase=python-xlsxwriter
+pkgname=('python2-xlsxwriter' 'python-xlsxwriter')
+pkgver=1.2.1
+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://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz")
+sha256sums=('e23140f787c40786281efb9feb2033636014befa7df2bf80cb4af535460c4484')
+
+prepare() {
+ cd "$srcdir"
+ cp -a XlsxWriter-RELEASE_${pkgver} XlsxWriter-py2-RELEASE_${pkgver}
+}
+
+build() {
+ # "Building Python2"
+ cd "$srcdir"/XlsxWriter-py2-RELEASE_${pkgver}
+ python2 setup.py build
+
+ # "Building Python3"
+ cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
+ python setup.py build
+}
+
+package_python2-xlsxwriter() {
+ depends=('python2')
+
+ cd "$srcdir"/XlsxWriter-py2-RELEASE_${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-RELEASE_${pkgver}
+
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -D -m644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list