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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 15:26:31 UTC 2019


    Date: Friday, October 25, 2019 @ 15:26:30
  Author: felixonmars
Revision: 519030

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rstr/repos/community-staging-any/PKGBUILD (from rev 519028, python-rstr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:26:30 UTC (rev 519030)
@@ -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=7
+pkgdesc="Generate random strings in Python"
+arch=('any')
+url="https://bitbucket.org/leapfrogdevelopment/rstr"
+license=('BSD')
+depends=('python')
+makedepends=('python-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