[arch-commits] Commit in python-lazr.config/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 22:31:50 UTC 2021
Date: Tuesday, November 30, 2021 @ 22:31:50
Author: foutrelis
Revision: 1059033
archrelease: copy trunk to community-staging-any
Added:
python-lazr.config/repos/community-staging-any/
python-lazr.config/repos/community-staging-any/PKGBUILD
(from rev 1059031, python-lazr.config/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: python-lazr.config/repos/community-staging-any/PKGBUILD (from rev 1059031, python-lazr.config/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 22:31:50 UTC (rev 1059033)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=lazr.config
+pkgname=python-lazr.config
+pkgver=2.2.3
+pkgrel=2
+pkgdesc="Create configuration schemas, and process and validate configurations"
+arch=('any')
+url="https://launchpad.net/lazr.config"
+license=('LGPL3')
+depends=('python-lazr.delegates' 'python-zope-interface')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+provides=('python-lazr-config')
+replaces=('python-lazr-config')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('cd8edc29a811b658045f314b2de4317bd750a701c2596d89912948fe0e58bdc39ad3d22cdf34bb7e46658af7ac6d32249e454c35bdcf72bc5053094343cd37bb'
+ 'SKIP')
+b2sums=('029bdec3ac4f937f439f833f51e44a58f4604f337979c9f06695e7a243b2cde0af39a46139af5e88052e8585d2729c1b328df89979c9ff100338ec557e841b71'
+ 'SKIP')
+validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson <cjwatson at chiark.greenend.org.uk>
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ # we do not care about coverage in testing
+ sed -e '/coverage/d' -i setup.cfg
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ nosetests -P lazr
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ install -vDm 644 {HACKING,NEWS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list