[arch-commits] Commit in python-pyaml/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Dec 24 05:10:38 UTC 2017


    Date: Sunday, December 24, 2017 @ 05:10:37
  Author: felixonmars
Revision: 275624

archrelease: copy trunk to community-any

Added:
  python-pyaml/repos/community-any/PKGBUILD
    (from rev 275623, python-pyaml/trunk/PKGBUILD)
Deleted:
  python-pyaml/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-24 05:10:21 UTC (rev 275623)
+++ PKGBUILD	2017-12-24 05:10:37 UTC (rev 275624)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pyaml
-pkgname=(python-pyaml python2-pyaml)
-pkgver=17.10.0
-pkgrel=1
-pkgdesc="Low-level CSS parser for Python"
-url="https://pypi.python.org/pypi/pyaml"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-yaml' 'python2-yaml')
-checkdepends=('python-unidecode' 'python2-unidecode')
-source=("https://pypi.io/packages/source/p/pyaml/pyaml-$pkgver.tar.gz")
-sha512sums=('7d7dd424308cadcbfa76c852c01dce6dc611d909d35e3bf081be7866246836b4d31aaea65aa975b162a22203da586f249e6d244dcaf6d2971123f9e396fda649')
-
-prepare() {
-  cp -a pyaml-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pyaml-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pyaml-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pyaml-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/pyaml-$pkgver-py2
-  python2 -m unittest pyaml.tests.dump
-}
-
-package_python-pyaml() {
-  depends=('python-yaml')
-  optdepends=('python-unidecode: Needed if same-id objects or recursion is used within serialized data')
-
-  cd pyaml-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
-
-package_python2-pyaml() {
-  depends=('python2-yaml')
-  optdepends=('python2-unidecode: Needed if same-id objects or recursion is used within serialized data')
-
-  cd pyaml-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: python-pyaml/repos/community-any/PKGBUILD (from rev 275623, python-pyaml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-24 05:10:37 UTC (rev 275624)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pyaml
+pkgname=(python-pyaml python2-pyaml)
+pkgver=17.12.1
+pkgrel=1
+pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data"
+url="https://pypi.python.org/pypi/pyaml"
+license=('BSD')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-yaml' 'python2-yaml')
+checkdepends=('python-unidecode' 'python2-unidecode')
+source=("https://pypi.io/packages/source/p/pyaml/pyaml-$pkgver.tar.gz")
+sha512sums=('1623e56d7fd6a18199bb3774252dabe0b19df6ac57802d4916ba78aaa2aa4db1796e4245003b8cae230dd0feeae9265e28170d6353b34fd8075b4cf1c22b932f')
+
+prepare() {
+  cp -a pyaml-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pyaml-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pyaml-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pyaml-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/pyaml-$pkgver-py2
+  python2 -m unittest pyaml.tests.dump
+}
+
+package_python-pyaml() {
+  depends=('python-yaml')
+  optdepends=('python-unidecode: Needed if same-id objects or recursion is used within serialized data')
+
+  cd pyaml-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+package_python2-pyaml() {
+  depends=('python2-yaml')
+  optdepends=('python2-unidecode: Needed if same-id objects or recursion is used within serialized data')
+
+  cd pyaml-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list