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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 10 10:35:26 UTC 2019


    Date: Sunday, November 10, 2019 @ 10:35:26
  Author: foutrelis
Revision: 525031

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-10 10:35:22 UTC (rev 525030)
+++ PKGBUILD	2019-11-10 10:35:26 UTC (rev 525031)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-zope-i18nmessageid
-pkgname=('python-zope-i18nmessageid' 'python2-zope-i18nmessageid')
-pkgver=4.3.1
-pkgrel=3
-pkgdesc="Message Identifiers for internationalization"
-arch=('x86_64')
-url="https://github.com/zopefoundation/zope.i18nmessageid"
-license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-zope-testrunner' 'python2-zope-testrunner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.i18nmessageid/archive/$pkgver.tar.gz")
-sha512sums=('0ad97114eb71c3aa25356f81c45d6f7d2278f379027e412b7671c3d605b65ea917b794cc533e238907c47c6bed7093711f370dc88aa51028fb9f4cc7c536ee63')
-
-prepare() {
-  cp -a zope.i18nmessageid-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/zope.i18nmessageid-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/zope.i18nmessageid-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/zope.i18nmessageid-$pkgver
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
-
-  cd "$srcdir"/zope.i18nmessageid-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
-}
-
-package_python-zope-i18nmessageid() {
-  depends=('python-setuptools')
-
-  cd "$srcdir"/zope.i18nmessageid-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-zope-i18nmessageid() {
-  depends=('python2-setuptools')
-
-  cd "$srcdir"/zope.i18nmessageid-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-zope-i18nmessageid/repos/community-staging-x86_64/PKGBUILD (from rev 525030, python-zope-i18nmessageid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-10 10:35:26 UTC (rev 525031)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-i18nmessageid
+pkgver=4.3.1
+pkgrel=3
+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=('0ad97114eb71c3aa25356f81c45d6f7d2278f379027e412b7671c3d605b65ea917b794cc533e238907c47c6bed7093711f370dc88aa51028fb9f4cc7c536ee63')
+
+build() {
+  cd "$srcdir"/zope.i18nmessageid-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.i18nmessageid-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "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