[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Dec 27 10:03:07 UTC 2016
Date: Tuesday, December 27, 2016 @ 10:03:07
Author: felixonmars
Revision: 203033
addpkg: python-ruamel-yaml 0.13.6-1
Added:
python-ruamel-yaml/
python-ruamel-yaml/repos/
python-ruamel-yaml/trunk/
python-ruamel-yaml/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: python-ruamel-yaml/trunk/PKGBUILD
===================================================================
--- python-ruamel-yaml/trunk/PKGBUILD (rev 0)
+++ python-ruamel-yaml/trunk/PKGBUILD 2016-12-27 10:03:07 UTC (rev 203033)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Samuel Littley <aur at toastwaffle.com>
+# Contributor: rnons <remotenonsense at gmail dot com>
+
+pkgname=python-ruamel-yaml
+pkgver=0.13.6
+pkgrel=1
+pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/ruamel/yaml"
+license=("MIT")
+makedepends=('python-setuptools' 'python-pip' 'mercurial')
+checkdepends=('python-pytest')
+source=("hg+https://bitbucket.org/ruamel/yaml#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir"/yaml
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/yaml
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test _test/test_*.py
+}
+
+package() {
+ depends=('python')
+
+ cd yaml
+ pip install . --root="$pkgdir"
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Property changes on: python-ruamel-yaml/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list