[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Aug 9 08:38:30 UTC 2022


    Date: Tuesday, August 9, 2022 @ 08:38:30
  Author: alucryd
Revision: 1263458

add python-fnvhash for home-assistant

Added:
  python-fnvhash/
  python-fnvhash/trunk/
  python-fnvhash/trunk/PKGBUILD

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

Added: python-fnvhash/trunk/PKGBUILD
===================================================================
--- python-fnvhash/trunk/PKGBUILD	                        (rev 0)
+++ python-fnvhash/trunk/PKGBUILD	2022-08-09 08:38:30 UTC (rev 1263458)
@@ -0,0 +1,34 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Gabriel Rauter <rauter.gabriel at gmail.com>
+
+pkgname=python-fnvhash
+pkgver=0.1.0
+pkgrel=3
+pkgdesc='Pure Python FNV hash implementation'
+url=https://github.com/znerol/py-fnvhash
+arch=(any)
+license=(MIT)
+depends=(python)
+makedepends=(
+  git
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
+_tag=3e3f09a36d09809d99fd63579e2a75b315948dea
+source=(git+https://github.com/znerol/py-fnvhash.git#tag=${_tag})
+b2sums=('SKIP')
+
+build() {
+  cd py-fnvhash
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd py-fnvhash
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-fnvhash
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list