Date: Thursday, April 6, 2023 @ 16:52:20
  Author: felixonmars
Revision: 1439752

archrelease: copy trunk to community-staging-any

Added:
  python-fnvhash/repos/community-staging-any/
  python-fnvhash/repos/community-staging-any/PKGBUILD
    (from rev 1439748, python-fnvhash/trunk/PKGBUILD)

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

Copied: python-fnvhash/repos/community-staging-any/PKGBUILD (from rev 1439748, 
python-fnvhash/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 16:52:20 UTC (rev 1439752)
@@ -0,0 +1,34 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Gabriel Rauter <[email protected]>
+
+pkgname=python-fnvhash
+pkgver=0.1.0
+pkgrel=4
+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:

Reply via email to