[arch-commits] Commit in python-speaklater/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:43:34 UTC 2019
Date: Friday, October 25, 2019 @ 15:43:34
Author: felixonmars
Revision: 519174
archrelease: copy trunk to community-staging-any
Added:
python-speaklater/repos/community-staging-any/
python-speaklater/repos/community-staging-any/PKGBUILD
(from rev 519172, python-speaklater/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-speaklater/repos/community-staging-any/PKGBUILD (from rev 519172, python-speaklater/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:43:34 UTC (rev 519174)
@@ -0,0 +1,38 @@
+# 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=5
+pkgdesc="Implements a lazy string for python useful for use with gettext."
+arch=('any')
+url="https://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