[arch-commits] Commit in python-rstr/repos (community-any community-any/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Oct 21 08:29:40 UTC 2018


    Date: Sunday, October 21, 2018 @ 08:29:39
  Author: jelle
Revision: 398182

archrelease: copy trunk to community-any

Added:
  python-rstr/repos/community-any/
  python-rstr/repos/community-any/PKGBUILD
    (from rev 398181, python-rstr/trunk/PKGBUILD)

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

Copied: python-rstr/repos/community-any/PKGBUILD (from rev 398181, python-rstr/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-21 08:29:39 UTC (rev 398182)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Kewl <xrjy at nygb.rh.bet(rot13)>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-rstr
+_pkgname=rstr
+pkgver=2.2.6
+pkgrel=6
+pkgdesc="Generate random strings in Python"
+arch=('any')
+url="https://bitbucket.org/leapfrogdevelopment/rstr"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('5dea822326e418e0c9816c9cd14ae9c7be2d4cd4334043c397f202bc2ae2eda4')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list