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

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:41:58 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:41:58
  Author: foutrelis
Revision: 140976

archrelease: copy trunk to community-staging-any

Added:
  python-speaklater/repos/community-staging-any/
  python-speaklater/repos/community-staging-any/PKGBUILD
    (from rev 140975, python-speaklater/trunk/PKGBUILD)

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

Copied: python-speaklater/repos/community-staging-any/PKGBUILD (from rev 140975, python-speaklater/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 16:41:58 UTC (rev 140976)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: warddr <aur at warddr.eu>
+# Submitter: Frank Smit <frank/61924/nl>
+
+pkgbase=python-speaklater
+pkgname=('python2-speaklater' 'python-speaklater')
+pkgver=1.3
+pkgrel=2
+pkgdesc="Implements a lazy string for python useful for use with gettext."
+arch=('any')
+url="http://pypi.python.org/pypi/speaklater"
+license=("BSD")
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("http://pypi.python.org/packages/source/s/speaklater/speaklater-${pkgver}.tar.gz")
+md5sums=("e8d5dbe36e53d5a35cff227e795e8bbf")
+
+prepare() {
+    cp -R speaklater-$pkgver python2-speaklater-$pkgver
+}
+
+package_python2-speaklater() {
+depends=('python2')
+
+    cd speaklater-$pkgver
+    python2 setup.py install --root="$pkgdir" --prefix=/usr
+
+    install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python-speaklater() {
+depends=('python')
+
+    cd speaklater-$pkgver
+    python setup.py install --root="$pkgdir" --prefix=/usr
+
+    install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list