[arch-commits] Commit in (4 files)

Bruno Pagani archange at archlinux.org
Tue Jul 28 10:21:57 UTC 2020


    Date: Tuesday, July 28, 2020 @ 10:21:57
  Author: archange
Revision: 665642

Initial addition of python-zict to [community]

Added:
  python-zict/
  python-zict/repos/
  python-zict/trunk/
  python-zict/trunk/PKGBUILD

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

Added: python-zict/trunk/PKGBUILD
===================================================================
--- python-zict/trunk/PKGBUILD	                        (rev 0)
+++ python-zict/trunk/PKGBUILD	2020-07-28 10:21:57 UTC (rev 665642)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=zict
+pkgname=python-${_pkg}
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Useful Mutable Mappings"
+arch=(any)
+url="https://github.com/dask/zict/"
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(python python-heapdict)
+checkdepends=(python-pytest python-lmdb)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('8e2969797627c8a663575c2fc6fcb53a05e37cdb83ee65f341fc6e0c3d0ced16')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest zict
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list