[arch-commits] Commit in python-voluptuous-serialize/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 04:12:37 UTC 2019
Date: Saturday, October 26, 2019 @ 04:12:36
Author: felixonmars
Revision: 519936
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 519934, python-voluptuous-serialize/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: python-voluptuous-serialize/repos/community-staging-any/PKGBUILD (from rev 519934, python-voluptuous-serialize/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 04:12:36 UTC (rev 519936)
@@ -0,0 +1,49 @@
+# Maintainer: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=python-voluptuous-serialize
+pkgver=2.3.0
+pkgrel=3
+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)
+source=(git+https://github.com/balloob/voluptuous-serialize.git#tag=054be2486b9f12ac4bf29ae5b25ef784fa6da6a5)
+sha256sums=(SKIP)
+
+pkgver() {
+ cd voluptuous-serialize
+
+ git describe --tags
+}
+
+prepare() {
+ cd voluptuous-serialize
+
+ git cherry-pick -n dc55dcc38a7ca0a49571a0133f423b0547cbbad6
+}
+
+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