Date: Thursday, April 6, 2023 @ 13:00:38
  Author: felixonmars
Revision: 1438740

archrelease: copy trunk to community-staging-x86_64

Added:
  python-ruamel.yaml.clib/repos/community-staging-x86_64/
  python-ruamel.yaml.clib/repos/community-staging-x86_64/PKGBUILD
    (from rev 1438738, python-ruamel.yaml.clib/trunk/PKGBUILD)

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

Copied: python-ruamel.yaml.clib/repos/community-staging-x86_64/PKGBUILD (from 
rev 1438738, python-ruamel.yaml.clib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-06 13:00:38 UTC (rev 1438740)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Samuel Littley <[email protected]>
+# Contributor: rnons <remotenonsense at gmail dot com>
+
+_pkg=ruamel.yaml.clib
+pkgname=python-$_pkg
+pkgver=0.2.7
+pkgrel=2
+pkgdesc="C version of reader, parser and emitter for ruamel.yaml derived from 
libyaml"
+arch=('x86_64')
+url="https://sourceforge.net/projects/ruamel-yaml-clib/";
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/r/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha512sums=('b752b17ddf5da99fa6ee18b0ed1836da9a5c3dc58ab8b326d7aa97f6e4daadb298a2f149d79a650ab0326f52873aee6b1bc68cdaeb59465b4fafce49553ce69e')
+
+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}/
+}

Reply via email to