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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:11:15 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:11:14
  Author: foutrelis
Revision: 748544

archrelease: copy trunk to community-staging-any

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

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

Copied: python-partd/repos/community-staging-any/PKGBUILD (from rev 748543, python-partd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:11:14 UTC (rev 748544)
@@ -0,0 +1,48 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=partd
+pkgname=python-${_pkg}
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Concurrent appendable key-value storage"
+arch=(any)
+url="https://github.com/dask/partd"
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(
+    python
+    python-locket
+    python-toolz
+)
+optdepends=(
+    python-blosc
+    python-numpy
+    python-pandas
+    python-pyzmq
+)
+checkdepends=(
+    python-pytest
+    python-blosc
+    python-numpy
+    python-pandas
+    python-pyzmq
+)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('6e258bf0810701407ad1410d63d1a15cfd7b773fd9efe555dac6bb82cc8832b0')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  PYTHONPATH="${PWD}"/build/lib pytest
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  # Install license file
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list