[arch-commits] Commit in python-ruamel-yaml/repos (2 files)
Bruno Pagani
archange at archlinux.org
Sat Dec 14 16:35:31 UTC 2019
Date: Saturday, December 14, 2019 @ 16:35:30
Author: archange
Revision: 537662
archrelease: copy trunk to community-any
Added:
python-ruamel-yaml/repos/community-any/
python-ruamel-yaml/repos/community-any/PKGBUILD
(from rev 537661, python-ruamel-yaml/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-ruamel-yaml/repos/community-any/PKGBUILD (from rev 537661, python-ruamel-yaml/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-12-14 16:35:30 UTC (rev 537662)
@@ -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.5
+pkgrel=5
+pkgdesc="YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
+arch=(any)
+url="https://bitbucket.org/ruamel/yaml"
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+source=(https://files.pythonhosted.org/packages/source/r/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha512sums=('411eac7fd607acaa33f28e642591a1ba9e3e905a5c141383a7168cb36c703b98da2ab90ebfeed77165fd5f6271756d07780a2ed9829fecf417cbda926a0214b9')
+
+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