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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 16:15:11 UTC 2021


    Date: Tuesday, November 30, 2021 @ 16:15:11
  Author: foutrelis
Revision: 1057826

archrelease: copy trunk to community-staging-any

Added:
  python-ruamel-yaml/repos/community-staging-any/
  python-ruamel-yaml/repos/community-staging-any/PKGBUILD
    (from rev 1057825, python-ruamel-yaml/trunk/PKGBUILD)

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

Copied: python-ruamel-yaml/repos/community-staging-any/PKGBUILD (from rev 1057825, python-ruamel-yaml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 16:15:11 UTC (rev 1057826)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Samuel Littley <aur at toastwaffle.com>
+# Contributor: rnons <remotenonsense at gmail dot com>
+
+_pkg=ruamel.yaml
+pkgname=python-${_pkg/./-}
+pkgver=0.17.17
+pkgrel=2
+pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
+arch=('any')
+url="https://sourceforge.net/projects/ruamel-yaml/"
+license=('MIT')
+depends=('python-ruamel.yaml.clib')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/r/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha512sums=('90b179b06a3de654da1ab222be906527fe1d055e34759b8eb25b499a55c7e8e9b34239cabe88677393195d66724849ffb1ab475aa4ff3275d69b8ca283245c21')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  # https://bitbucket.org/ruamel/yaml/issues/114/setuppy-requirement-for-pip-prevents
+  RUAMEL_NO_PIP_INSTALL_CHECK=1 python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list