[arch-commits] Commit in python-ruamel-yaml/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Dec 27 10:03:34 UTC 2016
Date: Tuesday, December 27, 2016 @ 10:03:34
Author: felixonmars
Revision: 203034
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python-ruamel-yaml/repos/community-staging-i686/
python-ruamel-yaml/repos/community-staging-i686/PKGBUILD
(from rev 203033, python-ruamel-yaml/trunk/PKGBUILD)
python-ruamel-yaml/repos/community-staging-x86_64/
python-ruamel-yaml/repos/community-staging-x86_64/PKGBUILD
(from rev 203033, python-ruamel-yaml/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: python-ruamel-yaml/repos/community-staging-i686/PKGBUILD (from rev 203033, python-ruamel-yaml/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-27 10:03:34 UTC (rev 203034)
@@ -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
+}
Copied: python-ruamel-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 203033, python-ruamel-yaml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-12-27 10:03:34 UTC (rev 203034)
@@ -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
+}
More information about the arch-commits
mailing list