[arch-commits] Commit in python-xlsxwriter/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 20:43:18 UTC 2019
Date: Thursday, October 3, 2019 @ 20:43:17
Author: aginiewicz
Revision: 512567
archrelease: copy trunk to community-any
Added:
python-xlsxwriter/repos/community-any/PKGBUILD
(from rev 512566, python-xlsxwriter/trunk/PKGBUILD)
Deleted:
python-xlsxwriter/repos/community-any/PKGBUILD
----------+
PKGBUILD | 75 +++++++++++++++++++------------------------------------------
1 file changed, 24 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 20:43:14 UTC (rev 512566)
+++ PKGBUILD 2019-10-03 20:43:17 UTC (rev 512567)
@@ -1,51 +0,0 @@
-# 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"
-}
-
Copied: python-xlsxwriter/repos/community-any/PKGBUILD (from rev 512566, python-xlsxwriter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 20:43:17 UTC (rev 512567)
@@ -0,0 +1,24 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-xlsxwriter'
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="A Python module for creating Excel XLSX files"
+arch=('any')
+url="https://github.com/jmcnamara/XlsxWriter"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz")
+sha256sums=('e23140f787c40786281efb9feb2033636014befa7df2bf80cb4af535460c4484')
+
+build() {
+ cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
+ python setup.py build
+}
+
+package() {
+ 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