Date: Wednesday, April 23, 2014 @ 10:16:08
  Author: tredaelli
Revision: 110024

archrelease: copy trunk to community-any

Added:
  python2-pbkdf2/repos/community-any/
  python2-pbkdf2/repos/community-any/LICENSE
    (from rev 110023, python2-pbkdf2/trunk/LICENSE)
  python2-pbkdf2/repos/community-any/PKGBUILD
    (from rev 110023, python2-pbkdf2/trunk/PKGBUILD)

----------+
 LICENSE  |   20 ++++++++++++++++++++
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

Copied: python2-pbkdf2/repos/community-any/LICENSE (from rev 110023, 
python2-pbkdf2/trunk/LICENSE)
===================================================================
--- community-any/LICENSE                               (rev 0)
+++ community-any/LICENSE       2014-04-23 08:16:08 UTC (rev 110024)
@@ -0,0 +1,20 @@
+Copyright (C) 2007-2011 Dwayne C. Litzenberger <dl...@dlitz.net>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copied: python2-pbkdf2/repos/community-any/PKGBUILD (from rev 110023, 
python2-pbkdf2/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2014-04-23 08:16:08 UTC (rev 110024)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com>
+# Contributor: Hilton Medeiros <medeiros.hil...@gmail.com>
+
+pkgname=python2-pbkdf2
+_pkgname=pbkdf2
+pkgver=1.3
+pkgrel=1
+pkgdesc="A module that implements the password-based key derivation function 
PBKDF2."
+arch=('any')
+url="https://www.dlitz.net/software/python-pbkdf2/";
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+optdepends=('python2-crypto: to make use of PyCrypto`s HMAC and SHA')
+source=("http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz";
+        LICENSE)
+md5sums=('40cda566f61420490206597243dd869f'
+         '180c44cc3999239185d0523570c61fa8')
+
+prepare() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  find . -type f -name "*.py" -exec sed -i 
's#/usr/bin/python#/usr/bin/python2#g' {} +
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" -O1
+  install -Dm644 "$srcdir/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to