[arch-commits] Commit in python-zope-exceptions/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 21:41:36 UTC 2021
Date: Tuesday, November 30, 2021 @ 21:41:35
Author: foutrelis
Revision: 1058927
archrelease: copy trunk to community-staging-any
Added:
python-zope-exceptions/repos/community-staging-any/
python-zope-exceptions/repos/community-staging-any/PKGBUILD
(from rev 1058926, python-zope-exceptions/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-zope-exceptions/repos/community-staging-any/PKGBUILD (from rev 1058926, python-zope-exceptions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 21:41:35 UTC (rev 1058927)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-exceptions
+pkgver=4.4
+pkgrel=5
+pkgdesc="Generic exceptions and implementations for Zope"
+arch=('any')
+url="https://github.com/zopefoundation/zope.exceptions"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface')
+makedepends=('python-setuptools' 'python-zope-interface')
+checkdepends=('python-zope-testrunner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.exceptions/archive/$pkgver.tar.gz")
+sha512sums=('31a2d5e3fc20b3e9923c8780b85d412adccd826a8d98a62baed116614190fc8a9991980db899781d09c910f11037cfaa2a5f788f08567b8be2bf0055bb6b4073')
+
+build() {
+ cd "$srcdir"/zope.exceptions-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.exceptions-$pkgver
+ python setup.py test || :
+}
+
+package() {
+
+ cd zope.exceptions-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list