[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Thu Aug 16 12:04:44 UTC 2018


    Date: Thursday, August 16, 2018 @ 12:04:44
  Author: felixonmars
Revision: 371945

addpkg: python-ratelim 0.1.6-1

Added:
  python-ratelim/
  python-ratelim/repos/
  python-ratelim/trunk/
  python-ratelim/trunk/PKGBUILD

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

Added: python-ratelim/trunk/PKGBUILD
===================================================================
--- python-ratelim/trunk/PKGBUILD	                        (rev 0)
+++ python-ratelim/trunk/PKGBUILD	2018-08-16 12:04:44 UTC (rev 371945)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-ratelim
+pkgver=0.1.6
+pkgrel=1
+pkgdesc="Makes it easy to respect rate limits"
+url="https://github.com/themiurgo/ratelim"
+license=('MIT')
+arch=('any')
+depends=('python-decorator')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/r/ratelim/ratelim-$pkgver.tar.gz"
+        ratelim-LICENSE::https://raw.githubusercontent.com/themiurgo/ratelim/master/LICENSE)
+sha512sums=('4d074d47278c591182d56d398c827da86c06428a1f994bd443f04903cca2bfe6affdfdd0daaca6115066903607e0216ac0a5f29240fdfe1c1faf5873a55122b0'
+            'ffe65c1aa0d76ed652c0536ea72a518ad449c15270eb654c01d037f3cf263b154293aca66edcb535f499ebb71891833836a90095c913e35498e24888bea2cb2b')
+
+build() {
+  cd ratelim-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd ratelim-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 ../ratelim-LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


Property changes on: python-ratelim/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list