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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:39:20 UTC 2020


    Date: Monday, November 9, 2020 @ 15:39:19
  Author: felixonmars
Revision: 747061

archrelease: copy trunk to community-staging-x86_64

Added:
  python-zope-i18nmessageid/repos/community-staging-x86_64/
  python-zope-i18nmessageid/repos/community-staging-x86_64/PKGBUILD
    (from rev 747059, python-zope-i18nmessageid/trunk/PKGBUILD)

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

Copied: python-zope-i18nmessageid/repos/community-staging-x86_64/PKGBUILD (from rev 747059, python-zope-i18nmessageid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 15:39:19 UTC (rev 747061)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-i18nmessageid
+pkgver=5.0.1
+pkgrel=2
+pkgdesc="Message Identifiers for internationalization"
+arch=('x86_64')
+url="https://github.com/zopefoundation/zope.i18nmessageid"
+license=('ZPL')
+depends=('python-setuptools')
+checkdepends=('python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.i18nmessageid/archive/$pkgver.tar.gz")
+sha512sums=('f21fe9a9778c46411444ae34b5f631a3618045a1bd2c2e7f6909aa8cf518a47d9717f13756c9d6e472c909dd7642c3588f8473945d623e77dced28415323dce5')
+
+build() {
+  cd "$srcdir"/zope.i18nmessageid-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.i18nmessageid-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9:$PYTHONPATH" python -m zope.testrunner --test-path=src || echo "Tests failed"
+}
+
+package() {
+  cd "$srcdir"/zope.i18nmessageid-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list