[arch-commits] Commit in python-lru-dict/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Thu Aug 18 10:40:38 UTC 2022
Date: Thursday, August 18, 2022 @ 10:40:38
Author: alucryd
Revision: 1266872
archrelease: copy trunk to community-x86_64
Added:
python-lru-dict/repos/community-x86_64/PKGBUILD
(from rev 1266871, python-lru-dict/trunk/PKGBUILD)
Deleted:
python-lru-dict/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 36 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-18 10:40:29 UTC (rev 1266871)
+++ PKGBUILD 2022-08-18 10:40:38 UTC (rev 1266872)
@@ -1,31 +0,0 @@
-# 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:
Copied: python-lru-dict/repos/community-x86_64/PKGBUILD (from rev 1266871, python-lru-dict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-18 10:40:38 UTC (rev 1266872)
@@ -0,0 +1,36 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-lru-dict
+pkgver=1.1.8
+pkgrel=1
+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
+)
+_tag=8bdcd75a11f629aff4b15ec0ae0faaf165a44fb1
+source=(git+https://github.com/amitdev/lru-dict.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd lru-dict
+ git describe --tags | sed 's/^v//'
+}
+
+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