[arch-commits] Commit in python-yaml/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:21:13 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:21:13
  Author: felixonmars
Revision: 1058077

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: python-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 1058075, python-yaml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 20:21:13 UTC (rev 1058077)
@@ -0,0 +1,38 @@
+# 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>
+
+pkgname=python-yaml
+pkgver=5.4.1.1
+pkgrel=3
+pkgdesc='Python bindings for YAML, using fast libYAML library'
+url='https://pyyaml.org/wiki/PyYAML'
+arch=('x86_64')
+license=('MIT')
+depends=('python' 'libyaml')
+makedepends=('python-setuptools' 'libyaml' 'cython')
+source=(pyyaml-${pkgver}.tar.gz::https://github.com/yaml/pyyaml/archive/${pkgver}.tar.gz)
+sha512sums=('bcbe911fbef7e6e8ef8a76293593d4d792dbbf0931a2d031cdeacddf7064b69f958484217bc60d1b7614dcc83ef56cd5c0cd48a0339ab9add623ef70cb2d0a20')
+
+build() {
+  (
+    cd pyyaml-$pkgver
+    python setup.py --with-libyaml build
+  )
+}
+
+check() {
+  (
+    cd pyyaml-$pkgver
+    python -B setup.py test
+  )
+}
+
+package() {
+  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}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list