[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Aug 5 14:24:09 UTC 2018
Date: Sunday, August 5, 2018 @ 14:24:09
Author: felixonmars
Revision: 368381
addpkg: python-json-config 2.0.1-1
Added:
python-json-config/
python-json-config/repos/
python-json-config/trunk/
python-json-config/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: python-json-config/trunk/PKGBUILD
===================================================================
--- python-json-config/trunk/PKGBUILD (rev 0)
+++ python-json-config/trunk/PKGBUILD 2018-08-05 14:24:09 UTC (rev 368381)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-json-config
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="A convenience utility for working with JSON config files with file syncing"
+url="https://github.com/bionikspoon/json_config"
+license=('MIT')
+arch=('any')
+depends=('python-future')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-mock' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bionikspoon/json_config/archive/$pkgver.tar.gz")
+sha512sums=('54ad91e3ad8ba73dfb9e5180f7211646d4d24029688874d6db0de5a583515fa6a09b06156d2e4375159327bafaee622e68686a245af25dbebff5348e76a5562b')
+
+build() {
+ cd json_config-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd json_config-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd json_config-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Property changes on: python-json-config/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list