Date: Friday, April 7, 2023 @ 04:11:32
Author: felixonmars
Revision: 1440462
archrelease: copy trunk to community-staging-any
Added:
python-voluptuous-serialize/repos/community-staging-any/
python-voluptuous-serialize/repos/community-staging-any/PKGBUILD
(from rev 1440459, python-voluptuous-serialize/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: python-voluptuous-serialize/repos/community-staging-any/PKGBUILD (from
rev 1440459, python-voluptuous-serialize/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 04:11:32 UTC (rev 1440462)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Jameson Pugh <[email protected]>
+
+pkgname=python-voluptuous-serialize
+pkgver=2.6.0
+pkgrel=2
+pkgdesc='Convert voluptuous schemas to JSON'
+arch=(any)
+url=https://github.com/balloob/voluptuous-serialize
+license=(APACHE)
+depends=(python-voluptuous)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(python-pytest)
+_tag=2a6c0474e9d19c07c1edd5adbd42f434a46658e2
+source=(git+https://github.com/balloob/voluptuous-serialize.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd voluptuous-serialize
+ git describe --tags
+}
+
+build() {
+ cd voluptuous-serialize
+ python setup.py build
+}
+
+check() {
+ cd voluptuous-serialize
+ PYTHONPATH=$PWD/build/lib pytest
+}
+
+package() {
+ cd voluptuous-serialize
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et: