[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Apr 26 14:24:42 UTC 2022


    Date: Tuesday, April 26, 2022 @ 14:24:42
  Author: alucryd
Revision: 1190977

add python-lru-dict for home-assistant

Added:
  python-lru-dict/
  python-lru-dict/trunk/
  python-lru-dict/trunk/PKGBUILD

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

Added: python-lru-dict/trunk/PKGBUILD
===================================================================
--- python-lru-dict/trunk/PKGBUILD	                        (rev 0)
+++ python-lru-dict/trunk/PKGBUILD	2022-04-26 14:24:42 UTC (rev 1190977)
@@ -0,0 +1,31 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-lru-dict
+pkgver=1.1.7
+pkgrel=2
+pkgdesc='A fast and memory efficient LRU cache for Python'
+arch=(x86_64)
+url=https://github.com/amitdev/lru-dict
+license=(MIT)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+_commit=64bc69b27dd2b5bcd68c93cce41c8513eb63151e
+source=(git+https://github.com/amitdev/lru-dict.git#commit=${_commit})
+b2sums=(SKIP)
+
+build() {
+  cd lru-dict
+  python setup.py build_ext
+}
+
+package() {
+  cd lru-dict
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-lru-dict/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list