[arch-commits] Commit in python-rstr/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 05:13:09 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:13:08
Author: felixonmars
Revision: 749364
archrelease: copy trunk to community-staging-any
Added:
python-rstr/repos/community-staging-any/
python-rstr/repos/community-staging-any/PKGBUILD
(from rev 749363, python-rstr/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-rstr/repos/community-staging-any/PKGBUILD (from rev 749363, python-rstr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 05:13:08 UTC (rev 749364)
@@ -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=9
+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