Date: Thursday, April 6, 2023 @ 16:52:48
Author: felixonmars
Revision: 1439773
archrelease: copy trunk to community-staging-any
Added:
python-prefixed/repos/community-staging-any/
python-prefixed/repos/community-staging-any/PKGBUILD
(from rev 1439766, python-prefixed/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-prefixed/repos/community-staging-any/PKGBUILD (from rev 1439766,
python-prefixed/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 16:52:48 UTC (rev 1439773)
@@ -0,0 +1,34 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Alan <[email protected]>
+
+pkgname=python-prefixed
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='Prefixed alternative numeric library'
+arch=(any)
+url=https://github.com/Rockhopper-Technologies/prefixed
+license=(MPL2)
+depends=(python)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
+_tag=15e529d4b5fd943cde4ee80eb5010bdaa8e0611c
+source=(git+https://github.com/Rockhopper-Technologies/prefixed.git#tag=${_tag})
+b2sums=(SKIP)
+
+build() {
+ cd prefixed
+ python -m build --wheel --no-isolation
+}
+
+package(){
+ cd prefixed
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-prefixed/
+}
+
+# vim: ts=2 sw=2 et: