[arch-commits] Commit in python-zope-deferredimport/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 22:30:51 UTC 2021


    Date: Tuesday, November 30, 2021 @ 22:30:51
  Author: foutrelis
Revision: 1059012

archrelease: copy trunk to community-staging-any

Added:
  python-zope-deferredimport/repos/community-staging-any/
  python-zope-deferredimport/repos/community-staging-any/PKGBUILD
    (from rev 1059010, python-zope-deferredimport/trunk/PKGBUILD)

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

Copied: python-zope-deferredimport/repos/community-staging-any/PKGBUILD (from rev 1059010, python-zope-deferredimport/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 22:30:51 UTC (rev 1059012)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-deferredimport
+pkgver=4.3.1
+pkgrel=7
+pkgdesc="Allows you to perform imports names that will only be resolved when used in the code"
+arch=('any')
+url="https://github.com/zopefoundation/zope.deferredimport"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-proxy')
+checkdepends=('python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.deferredimport/archive/$pkgver.tar.gz")
+sha512sums=('1c367def232ec79ad10a9d8f1e068598d2fdb49b067c2c3f44c9ad25c198afbbf2d52659c3795aad76f8c82d212e49086b81ab1c1dcc6aac2e3ce66c35ff5750')
+
+build() {
+  cd "$srcdir"/zope.deferredimport-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.deferredimport-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+  cd zope.deferredimport-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list