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

Bruno Pagani archange at archlinux.org
Tue Jul 28 10:35:05 UTC 2020


    Date: Tuesday, July 28, 2020 @ 10:35:04
  Author: archange
Revision: 665649

archrelease: copy trunk to community-any

Added:
  python-zict/repos/community-any/
  python-zict/repos/community-any/PKGBUILD
    (from rev 665648, python-zict/trunk/PKGBUILD)

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

Copied: python-zict/repos/community-any/PKGBUILD (from rev 665648, python-zict/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-07-28 10:35:04 UTC (rev 665649)
@@ -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