[arch-commits] Commit in python-voluptuous-serialize/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:02:52 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:02:51
  Author: foutrelis
Revision: 748400

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 748399, python-voluptuous-serialize/trunk/PKGBUILD)

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

Copied: python-voluptuous-serialize/repos/community-staging-any/PKGBUILD (from rev 748399, python-voluptuous-serialize/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:02:51 UTC (rev 748400)
@@ -0,0 +1,44 @@
+# Maintainer: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=python-voluptuous-serialize
+pkgver=2.4.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=8c063358de3f2b6d0c51cd20bae2e483a213c43f
+source=(git+https://github.com/balloob/voluptuous-serialize.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd voluptuous-serialize
+
+  git describe --tags
+}
+
+build() {
+  cd voluptuous-serialize
+
+  python setup.py build
+}
+
+check() {
+  cd voluptuous-serialize
+
+  python setup.py test
+}
+
+package() {
+  cd voluptuous-serialize
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list