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

Felix Yan felixonmars at archlinux.org
Sun Aug 30 08:40:21 UTC 2020


    Date: Sunday, August 30, 2020 @ 08:40:21
  Author: felixonmars
Revision: 692514

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 31 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-30 08:40:06 UTC (rev 692513)
+++ PKGBUILD	2020-08-30 08:40:21 UTC (rev 692514)
@@ -1,34 +0,0 @@
-# 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"
-}

Copied: python-translationstring/repos/community-any/PKGBUILD (from rev 692513, python-translationstring/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-30 08:40:21 UTC (rev 692514)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python-translationstring
+pkgver=1.4
+pkgrel=1
+pkgdesc="Utility library for i18n relied on by various Repoze and Pyramid packages"
+arch=('any')
+license=('BSD')
+url="https://github.com/Pylons/translationstring"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://github.com/Pylons/translationstring/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f470967e04701f7d5c27acefcd3c058d0b9c600115e2e33212d6855ef0eb932d025b8af0d2017202cf6e1893ef8023edd60453de1c45e495c88846627af200db')
+
+build() {
+  cd translationstring-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd translationstring-$pkgver
+  nosetests3
+}
+
+package() {
+  cd translationstring-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list