[arch-commits] Commit in python-yaml/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Mar 28 16:27:02 UTC 2020


    Date: Saturday, March 28, 2020 @ 16:27:01
  Author: anthraxx
Revision: 605301

archrelease: copy trunk to community-x86_64

Added:
  python-yaml/repos/community-x86_64/PKGBUILD
    (from rev 605300, python-yaml/trunk/PKGBUILD)
Deleted:
  python-yaml/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-28 16:26:55 UTC (rev 605300)
+++ PKGBUILD	2020-03-28 16:27:01 UTC (rev 605301)
@@ -1,64 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
-
-pkgbase=python-yaml
-pkgname=(python-yaml python2-yaml)
-pkgver=5.3
-pkgrel=1
-pkgdesc='Python bindings for YAML, using fast libYAML library'
-url='https://pyyaml.org/wiki/PyYAML'
-arch=('x86_64')
-license=('MIT')
-makedepends=('python' 'python2' 'libyaml' 'cython' 'cython2')
-source=(https://pyyaml.org/download/pyyaml/PyYAML-${pkgver}.tar.gz)
-sha512sums=('9124bf4d58ebe925f430fd6ed749e5a3311a54d536a035d39794c485843ddb80692fd7f7bac05797507128b933297ff730d967f49e7237c7c567086a83ee9e1f')
-
-prepare() {
-  # Force cython rebuild
-  rm PyYAML-$pkgver/ext/_yaml.c
-
-  cp -a PyYAML-$pkgver{,-py2}
-}
-
-build() {
-  msg2 "Building python..."
-  (cd PyYAML-$pkgver
-    python setup.py --with-libyaml build
-  )
-  msg2 "Building python2..."
-  (cd PyYAML-$pkgver-py2
-    python2 setup.py --with-libyaml build
-  )
-}
-
-check() {
-  msg2 "Checking python..."
-  (cd PyYAML-$pkgver
-    python setup.py test
-  )
-  msg2 "Checking python2..."
-  (cd PyYAML-$pkgver-py2
-    python2 setup.py test
-  )
-}
-
-package_python-yaml() {
-  depends=('python' 'libyaml')
-
-  cd PyYAML-$pkgver
-  python setup.py  --with-libyaml install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname}
-}
-
-package_python2-yaml() {
-  depends=('python2' 'libyaml')
-
-  cd PyYAML-$pkgver-py2
-  python2 setup.py --with-libyaml install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname}
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-yaml/repos/community-x86_64/PKGBUILD (from rev 605300, python-yaml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-28 16:27:01 UTC (rev 605301)
@@ -0,0 +1,64 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
+
+pkgbase=python-yaml
+pkgname=(python-yaml python2-yaml)
+pkgver=5.3.1
+pkgrel=1
+pkgdesc='Python bindings for YAML, using fast libYAML library'
+url='https://pyyaml.org/wiki/PyYAML'
+arch=('x86_64')
+license=('MIT')
+makedepends=('python' 'python2' 'libyaml' 'cython' 'cython2')
+source=(https://pyyaml.org/download/pyyaml/PyYAML-${pkgver}.tar.gz)
+sha512sums=('87372877d396bd06cdb6b9052ef8822ef0589a211659bf27d7a1c4deca8429cb39e120a23e5d590d7adc0f8059ce1c8af42409bebd7c6d504d49dc8504d5683a')
+
+prepare() {
+  # Force cython rebuild
+  rm PyYAML-$pkgver/ext/_yaml.c
+
+  cp -a PyYAML-$pkgver{,-py2}
+}
+
+build() {
+  (
+    cd PyYAML-$pkgver
+    python setup.py --with-libyaml build
+  )
+  (
+    cd PyYAML-$pkgver-py2
+    python2 setup.py --with-libyaml build
+  )
+}
+
+check() {
+  (
+    cd PyYAML-$pkgver
+    python setup.py test
+  )
+  (
+    cd PyYAML-$pkgver-py2
+    python2 setup.py test
+  )
+}
+
+package_python-yaml() {
+  depends=('python' 'libyaml')
+
+  cd PyYAML-$pkgver
+  python setup.py  --with-libyaml install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname}
+}
+
+package_python2-yaml() {
+  depends=('python2' 'libyaml')
+
+  cd PyYAML-$pkgver-py2
+  python2 setup.py --with-libyaml install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -Dm 644 CHANGES README -t "${pkgdir}"/usr/share/doc/${pkgname}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list