[arch-commits] Commit in python-xlrd/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 18:47:29 UTC 2019
Date: Thursday, October 3, 2019 @ 18:47:29
Author: aginiewicz
Revision: 512550
archrelease: copy trunk to community-any
Added:
python-xlrd/repos/community-any/PKGBUILD
(from rev 512549, python-xlrd/trunk/PKGBUILD)
Deleted:
python-xlrd/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++----------------------------------------
1 file changed, 28 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 18:47:26 UTC (rev 512549)
+++ PKGBUILD 2019-10-03 18:47:29 UTC (rev 512550)
@@ -1,52 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Aaron DeVore <aaron.devore at gmail.com>
-# Contributor: tocer <tocer.deng at gmail.com>
-# Contributor: Piotr Beling <qwak at stud.ics.p.lodz.pl>
-# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
-
-pkgbase=python-xlrd
-pkgname=('python2-xlrd' 'python-xlrd')
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
-arch=('any')
-url="http://www.python-excel.org/"
-license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://github.com/python-excel/xlrd/archive/${pkgver}.tar.gz")
-sha1sums=('95bb16f909d8cc58f2fbde056c0e5b11661acb12')
-
-build() {
- cd "$srcdir"
- cp -a xlrd-${pkgver} xlrd-py2-${pkgver}
-
- msg "Building Python2"
- cd "$srcdir"/xlrd-py2-${pkgver}
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/xlrd-${pkgver}
- python setup.py build
-}
-
-package_python2-xlrd() {
- depends=('python2')
-
- cd "$srcdir"/xlrd-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
- mv "$pkgdir/usr/bin/runxlrd"{,2}.py
-
- install -D -m644 "docs/licenses.rst" "$pkgdir/usr/share/licenses/$pkgname/licenses.rst"
-}
-
-package_python-xlrd() {
- depends=('python')
-
- cd "$srcdir"/xlrd-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -D -m644 "docs/licenses.rst" "$pkgdir/usr/share/licenses/$pkgname/licenses.rst"
-}
-
Copied: python-xlrd/repos/community-any/PKGBUILD (from rev 512549, python-xlrd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 18:47:29 UTC (rev 512550)
@@ -0,0 +1,28 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Aaron DeVore <aaron.devore at gmail.com>
+# Contributor: tocer <tocer.deng at gmail.com>
+# Contributor: Piotr Beling <qwak at stud.ics.p.lodz.pl>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+
+pkgname='python-xlrd'
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
+arch=('any')
+url="http://www.python-excel.org/"
+license=('BSD')
+makedepends=('python-setuptools')
+depends=('python')
+source=("https://github.com/python-excel/xlrd/archive/${pkgver}.tar.gz")
+sha1sums=('95bb16f909d8cc58f2fbde056c0e5b11661acb12')
+
+build() {
+ cd "$srcdir"/xlrd-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/xlrd-${pkgver}
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -D -m644 "docs/licenses.rst" "$pkgdir/usr/share/licenses/$pkgname/licenses.rst"
+}
More information about the arch-commits
mailing list