[arch-commits] Commit in python-xlrd/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:47:12 UTC 2019


    Date: Monday, November 4, 2019 @ 07:47:11
  Author: felixonmars
Revision: 523573

archrelease: copy trunk to community-staging-any

Added:
  python-xlrd/repos/community-staging-any/
  python-xlrd/repos/community-staging-any/PKGBUILD
    (from rev 523572, python-xlrd/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-xlrd/repos/community-staging-any/PKGBUILD (from rev 523572, python-xlrd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:47:11 UTC (rev 523573)
@@ -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=3
+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