Date: Friday, April 7, 2023 @ 07:32:12
Author: felixonmars
Revision: 1440847
archrelease: copy trunk to community-staging-any
Added:
python-itsdangerous/repos/community-staging-any/
python-itsdangerous/repos/community-staging-any/PKGBUILD
(from rev 1440842, python-itsdangerous/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-itsdangerous/repos/community-staging-any/PKGBUILD (from rev
1440842, python-itsdangerous/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 07:32:12 UTC (rev 1440847)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alexander Rødseth <[email protected]>
+
+pkgname=python-itsdangerous
+pkgver=2.1.2
+pkgrel=3
+pkgdesc='Various helpers to pass trusted data to untrusted environments'
+arch=('any')
+url='https://palletsprojects.com/p/itsdangerous/'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools' 'python-build' 'python-installer'
'python-wheel')
+checkdepends=('python-pytest' 'python-freezegun')
+source=("https://github.com/mitsuhiko/itsdangerous/archive/${pkgver}/$pkgname-$pkgver.tar.gz")
+sha256sums=('a983dd8e49b9374c942b7946f9bfbcf639ed4a22838d353e4cd30d45e20cc943')
+
+build() {
+ cd "itsdangerous-$pkgver"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "itsdangerous-$pkgver"
+ PYTHONPATH="build/lib" pytest
+}
+
+package() {
+ cd "itsdangerous-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm 644 LICENSE.rst -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et: