Date: Sunday, April 9, 2023 @ 14:22:51
Author: felixonmars
Revision: 1443254
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 1443253, python-zope-i18nmessageid/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-i18nmessageid/repos/community-staging-x86_64/PKGBUILD (from
rev 1443253, python-zope-i18nmessageid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-09 14:22:51 UTC (rev 1443254)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-zope-i18nmessageid
+pkgver=6.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=('ae44df92a26f7f7d25853195834d34b6946126ae54a9d742333b504d3ac231f9fbec71b8d5b98e8779e08290b95ac1f22bac3c9afdbbccc0c6c3ccf000f874c6')
+
+build() {
+ cd zope.i18nmessageid-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd zope.i18nmessageid-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" python -m
zope.testrunner --test-path=src
+}
+
+package() {
+ cd zope.i18nmessageid-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: