[arch-commits] Commit in (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Sun Oct 20 11:34:37 UTC 2013
Date: Sunday, October 20, 2013 @ 13:34:37
Author: fyan
Revision: 98851
addpkg: python-passlib 1.6.1-3
Added:
python-passlib/
python-passlib/repos/
python-passlib/trunk/
python-passlib/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: python-passlib/trunk/PKGBUILD
===================================================================
--- python-passlib/trunk/PKGBUILD (rev 0)
+++ python-passlib/trunk/PKGBUILD 2013-10-20 11:34:37 UTC (rev 98851)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: onny <onny at project-insanity.org>
+
+_pypiname=passlib
+pkgbase=python-$_pypiname
+pkgname=(python-$_pypiname python2-$_pypiname)
+pkgver=1.6.1
+pkgrel=3
+pkgdesc="A password hashing library for Python"
+arch=('any')
+url=("https://code.google.com/p/passlib/")
+license=('custom:BSD')
+makedepends=('python' 'python2')
+source=("https://${_pypiname}.googlecode.com/files/$_pypiname-${pkgver}.tar.gz")
+sha512sums=('93c047dc0a06f19a20e5da97db43c5c76e06d69baeac15cc932ef0306ae22dac5c1a3925889a140fd181ab4e00ac513ec829951e15babf5aad89bd2d08dc9907')
+
+prepare() {
+ cp -r ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}
+}
+
+package_python-passlib() {
+ depends=("python")
+
+ cd ${_pypiname}-${pkgver}
+ python setup.py install --root="${pkgdir}"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-passlib() {
+ depends=("python2")
+ optdepends=("python2-m2crypto: accelerate PBKDF2-based hashes")
+
+ cd python2-${_pypiname}-${pkgver}
+ python2 setup.py install --root="${pkgdir}"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: python-passlib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list