Date: Thursday, April 6, 2023 @ 16:12:10
  Author: felixonmars
Revision: 1439550

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xlrd/repos/community-staging-any/PKGBUILD (from rev 1439547, 
python-xlrd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 16:12:10 UTC (rev 1439550)
@@ -0,0 +1,33 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Contributor: Aaron DeVore <[email protected]>
+# Contributor: tocer <[email protected]>
+# Contributor: Piotr Beling <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+
+pkgname='python-xlrd'
+pkgver=2.0.1
+pkgrel=4
+pkgdesc='Library for developers to extract data from Excel spreadsheet files'
+arch=('any')
+url='http://www.python-excel.org/'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-excel/xlrd/archive/${pkgver}.tar.gz";)
+sha512sums=('b3e2efa216fc73bf55bb0b165ef63e797d16a00c62f0f2f2a2114d2db7204208f2623835697a045abe185f52c426ed5e9ef38a4f5f8e1880f0cfdf642af3c57e')
+b2sums=('eaf6dbefde00954452a96214c6a48e5d35526168445d15d721851da690bd99e53bd765a73495b00c8ee7ce243c487da0afbc6d6217abd7a5956820357dc97104')
+
+build() {
+  cd xlrd-${pkgver}
+
+  python setup.py build
+}
+
+package() {
+  cd xlrd-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" docs/licenses.rst
+}

Reply via email to