Date: Friday, April 7, 2023 @ 05:50:29
Author: felixonmars
Revision: 1440654
archrelease: copy trunk to community-staging-x86_64
Added:
python-nptyping/repos/community-staging-x86_64/
python-nptyping/repos/community-staging-x86_64/PKGBUILD
(from rev 1440647, python-nptyping/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-nptyping/repos/community-staging-x86_64/PKGBUILD (from rev
1440647, python-nptyping/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-07 05:50:29 UTC (rev 1440654)
@@ -0,0 +1,25 @@
+# Maintainer:
+# Contributor: Grey Christoforo <grey at christoforo dot net>
+
+pkgname=python-nptyping
+pkgver=2.4.1
+pkgrel=2
+pkgdesc='Type hints for Numpy'
+url="https://github.com/ramonhagenaars/nptyping"
+arch=(x86_64)
+license=(MIT)
+depends=(python-numpy python-typing_extensions)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ramonhagenaars/nptyping/archive/v${pkgver}.tar.gz")
+sha512sums=('df2694743c5ee349f2dc2b119b38f2d0d5d38b51a0dcf8336c7e17bd9075e05e94d76d01a35156069a6c95310f69bca9040f972a7efa6e7e581503ad77730520')
+
+build() {
+ cd nptyping-${pkgver}
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd nptyping-${pkgver}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}