[arch-commits] Commit in python-fnvhash (3 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Tue Aug 9 08:38:43 UTC 2022
Date: Tuesday, August 9, 2022 @ 08:38:43
Author: alucryd
Revision: 1263459
archrelease: copy trunk to community-any
Added:
python-fnvhash/repos/
python-fnvhash/repos/community-any/
python-fnvhash/repos/community-any/PKGBUILD
(from rev 1263458, python-fnvhash/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-fnvhash/repos/community-any/PKGBUILD (from rev 1263458, python-fnvhash/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2022-08-09 08:38:43 UTC (rev 1263459)
@@ -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