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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 03:58:26 UTC 2020


    Date: Tuesday, November 10, 2020 @ 03:58:25
  Author: felixonmars
Revision: 748292

archrelease: copy trunk to community-staging-any

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

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

Copied: python-fsspec/repos/community-staging-any/PKGBUILD (from rev 748289, python-fsspec/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 03:58:25 UTC (rev 748292)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=filesystem_spec
+pkgname=python-fsspec
+pkgver=0.8.4
+pkgrel=2
+pkgdesc="Specification that python filesystems should adhere to."
+arch=(any)
+url="https://github.com/intake/filesystem_spec"
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(python)
+checkdepends=(
+    python-pytest
+    python-numpy
+)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('4c57fc289e142c4acda867a5550811ec4249320d535899a85b74e8c387ec5025')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  # Install license file
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list