[arch-commits] Commit in python-partd/repos (community-any community-any/PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Jul 28 00:10:04 UTC 2020


    Date: Tuesday, July 28, 2020 @ 00:10:04
  Author: archange
Revision: 665566

archrelease: copy trunk to community-any

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

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

Copied: python-partd/repos/community-any/PKGBUILD (from rev 665565, python-partd/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-07-28 00:10:04 UTC (rev 665566)
@@ -0,0 +1,48 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=partd
+pkgname=python-${_pkg}
+pkgver=1.1.0
+pkgrel=1
+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