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

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 30 18:23:00 UTC 2018


    Date: Saturday, June 30, 2018 @ 18:23:00
  Author: foutrelis
Revision: 348976

archrelease: copy trunk to community-staging-any

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

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

Copied: python-speaklater/repos/community-staging-any/PKGBUILD (from rev 348975, python-speaklater/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 18:23:00 UTC (rev 348976)
@@ -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=4
+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=("https://pypi.io/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