[arch-commits] Commit in python-lru-dict (3 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Tue Apr 26 14:24:51 UTC 2022
Date: Tuesday, April 26, 2022 @ 14:24:51
Author: alucryd
Revision: 1190978
archrelease: copy trunk to community-x86_64
Added:
python-lru-dict/repos/
python-lru-dict/repos/community-x86_64/
python-lru-dict/repos/community-x86_64/PKGBUILD
(from rev 1190977, python-lru-dict/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-lru-dict/repos/community-x86_64/PKGBUILD (from rev 1190977, python-lru-dict/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2022-04-26 14:24:51 UTC (rev 1190978)
@@ -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