[arch-commits] Commit in python-translationstring/repos/community-any (2 files)

Jelle van der Waa jelle at archlinux.org
Tue Dec 17 20:14:20 UTC 2019


    Date: Tuesday, December 17, 2019 @ 20:14:19
  Author: jelle
Revision: 537957

archrelease: copy trunk to community-any

Added:
  python-translationstring/repos/community-any/PKGBUILD
    (from rev 537956, python-translationstring/trunk/PKGBUILD)
Deleted:
  python-translationstring/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 34 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-17 20:14:11 UTC (rev 537956)
+++ PKGBUILD	2019-12-17 20:14:19 UTC (rev 537957)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-translationstring
-pkgname=('python-translationstring' 'python2-translationstring')
-pkgver=1.3
-pkgrel=5
-pkgdesc="Utility library for i18n relied on by various Repoze and Pyramid packages"
-arch=('any')
-license=('custom:BSD')
-url="https://github.com/Pylons/translationstring"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/Pylons/translationstring.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a translationstring{,-py2}
-}
-
-build() {
-  cd "$srcdir/translationstring"
-  python setup.py build
-
-  cd "$srcdir/translationstring-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/translationstring"
-  nosetests3
-
-  cd "$srcdir/translationstring-py2"
-  nosetests2
-}
-
-package_python-translationstring() {
-  depends=('python')
-
-  cd translationstring
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
-
-package_python2-translationstring() {
-  depends=('python2')
-
-  cd translationstring-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: python-translationstring/repos/community-any/PKGBUILD (from rev 537956, python-translationstring/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-17 20:14:19 UTC (rev 537957)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-translationstring
+pkgver=1.3
+pkgrel=6
+pkgdesc="Utility library for i18n relied on by various Repoze and Pyramid packages"
+arch=('any')
+license=('custom:BSD')
+url="https://github.com/Pylons/translationstring"
+depends=('python')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-nose')
+source=("git+https://github.com/Pylons/translationstring.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a translationstring{,-py2}
+}
+
+build() {
+  cd "$srcdir/translationstring"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/translationstring"
+  nosetests3
+}
+
+package() {
+  cd translationstring
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



More information about the arch-commits mailing list