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

Felix Yan felixonmars at archlinux.org
Sat Nov 2 21:41:05 UTC 2019


    Date: Saturday, November 2, 2019 @ 21:41:05
  Author: felixonmars
Revision: 522211

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-02 21:40:46 UTC (rev 522210)
+++ PKGBUILD	2019-11-02 21:41:05 UTC (rev 522211)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pyaml
-pkgname=(python-pyaml python2-pyaml)
-pkgver=19.4.1
-pkgrel=2
-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=('85efae2ef2899cbb2d469175f014f9a0e6186fff0106dbba2b5960d83552ff0ab4a014d62a11feca7f4520fe297bebc61e876b46306456c26326c21ace469196')
-
-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-staging-any/PKGBUILD (from rev 522210, python-pyaml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-02 21:41:05 UTC (rev 522211)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pyaml
+pkgname=(python-pyaml python2-pyaml)
+pkgver=19.4.1
+pkgrel=3
+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=('85efae2ef2899cbb2d469175f014f9a0e6186fff0106dbba2b5960d83552ff0ab4a014d62a11feca7f4520fe297bebc61e876b46306456c26326c21ace469196')
+
+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