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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:56:28 UTC 2020


    Date: Monday, November 9, 2020 @ 16:56:27
  Author: felixonmars
Revision: 747718

archrelease: copy trunk to community-staging-any

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

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

Copied: python-zict/repos/community-staging-any/PKGBUILD (from rev 747716, python-zict/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:56:27 UTC (rev 747718)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=zict
+pkgname=python-${_pkg}
+pkgver=2.0.0
+pkgrel=2
+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