[arch-commits] Commit in python-ruamel-yaml/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:55:32 UTC 2020
Date: Monday, November 9, 2020 @ 16:55:32
Author: foutrelis
Revision: 747696
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 747695, python-ruamel-yaml/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-ruamel-yaml/repos/community-staging-any/PKGBUILD (from rev 747695, python-ruamel-yaml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:55:32 UTC (rev 747696)
@@ -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.16.12
+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=('21be4d956d01164b84233c3d3945a4e56351a8fc59c35a8e71b1276da84aa43b125e3860f9884e95a1f895bc53e0b85b6d3f0f4b03512d629a892d8664e3ecd6')
+
+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