[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2020-10-08 Thread Felix Yan via arch-commits
Date: Thursday, October 8, 2020 @ 21:59:38
  Author: felixonmars
Revision: 722111

upgpkg: python-passlib 1.7.4-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-08 21:38:02 UTC (rev 722110)
+++ PKGBUILD2020-10-08 21:59:38 UTC (rev 722111)
@@ -2,7 +2,7 @@
 # Contributor: onny 
 
 pkgname=python-passlib
-pkgver=1.7.3
+pkgver=1.7.4
 pkgrel=1
 pkgdesc="A password hashing library for Python"
 arch=('any')
@@ -15,7 +15,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-nose' 'python-bcrypt' 'python-django' 
'python-fastpbkdf2' 'python-scrypt')
 source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
-sha512sums=('1964f6ef30f0c98d9688e7dff96f31f1a9ae409c78703169e6690ca228fb96d590c20f03dfca7c01d8091c3384ffb58a40c866889c8195234657e11f140f39d9')
+sha512sums=('350bd6da5ac57e6c266ffe8bf9684c8c2cce3fc6b513eb6c7bc1b302d2d8a1b701e9c01c953782520a2ac37b7ec1f6d7bd5855f99f6ee0e2dbbf33f2d49a9530')
 
 check() {
   export PASSLIB_TEST_MODE=full


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2020-10-06 Thread Felix Yan via arch-commits
Date: Tuesday, October 6, 2020 @ 17:55:48
  Author: felixonmars
Revision: 719421

upgpkg: python-passlib 1.7.3-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-06 17:54:54 UTC (rev 719420)
+++ PKGBUILD2020-10-06 17:55:48 UTC (rev 719421)
@@ -2,7 +2,7 @@
 # Contributor: onny 
 
 pkgname=python-passlib
-pkgver=1.7.2
+pkgver=1.7.3
 pkgrel=1
 pkgdesc="A password hashing library for Python"
 arch=('any')
@@ -15,7 +15,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-nose' 'python-bcrypt' 'python-django' 
'python-fastpbkdf2' 'python-scrypt')
 source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
-sha512sums=('1ea0654b177b5ab2e1a7e5c3949642c34805ace6e4e4a0f82fafdb3f374edd99c667906ce598c335b668da049860648d5cbebb3e62d775898d5b0cb8cfc7bf53')
+sha512sums=('1964f6ef30f0c98d9688e7dff96f31f1a9ae409c78703169e6690ca228fb96d590c20f03dfca7c01d8091c3384ffb58a40c866889c8195234657e11f140f39d9')
 
 check() {
   export PASSLIB_TEST_MODE=full


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2019-11-23 Thread Felix Yan via arch-commits
Date: Saturday, November 23, 2019 @ 10:28:18
  Author: felixonmars
Revision: 532025

upgpkg: python-passlib 1.7.2-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-23 10:23:34 UTC (rev 532024)
+++ PKGBUILD2019-11-23 10:28:18 UTC (rev 532025)
@@ -2,8 +2,8 @@
 # Contributor: onny 
 
 pkgname=python-passlib
-pkgver=1.7.1
-pkgrel=4
+pkgver=1.7.2
+pkgrel=1
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url="https://code.google.com/p/passlib/;
@@ -15,7 +15,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-nose' 'python-bcrypt' 'python-django' 
'python-fastpbkdf2' 'python-scrypt')
 source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
-sha512sums=('3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168')
+sha512sums=('1ea0654b177b5ab2e1a7e5c3949642c34805ace6e4e4a0f82fafdb3f374edd99c667906ce598c335b668da049860648d5cbebb3e62d775898d5b0cb8cfc7bf53')
 
 check() {
   export PASSLIB_TEST_MODE=full


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2019-11-08 Thread Antonio Rojas via arch-commits
Date: Saturday, November 9, 2019 @ 01:08:17
  Author: arojas
Revision: 524768

Drop python2

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |   38 --
 1 file changed, 8 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-09 00:53:04 UTC (rev 524767)
+++ PKGBUILD2019-11-09 01:08:17 UTC (rev 524768)
@@ -1,8 +1,7 @@
 # Maintainer: Felix Yan 
 # Contributor: onny 
 
-pkgbase=python-passlib
-pkgname=(python-passlib python2-passlib)
+pkgname=python-passlib
 pkgver=1.7.1
 pkgrel=4
 pkgdesc="A password hashing library for Python"
@@ -9,47 +8,26 @@
 arch=('any')
 url="https://code.google.com/p/passlib/;
 license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-bcrypt' 'python2-bcrypt' 
'python-django'
-  'python2-django' 'python2-m2crypto' 'python-fastpbkdf2' 
'python2-fastpbkdf2'
-  'python-scrypt' 'python2-scrypt')
+depends=("python")
+optdepends=("python-fastpbkdf2: accelerate PBKDF2-based hashes"
+"python-bcrypt: accelerate Bcrypt hashes"
+"python-scrypt: accelerate SCrypt hashes")
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-bcrypt' 'python-django' 
'python-fastpbkdf2' 'python-scrypt')
 source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
 
sha512sums=('3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168')
 
-prepare() {
-  cp -a passlib-$pkgver{,-py2}
-}
-
 check() {
   export PASSLIB_TEST_MODE=full
 
   cd "$srcdir"/passlib-$pkgver
   python setup.py nosetests || warning 
"https://bitbucket.org/ecollins/passlib/issues/98/passlibextdjango-with-django-1112-fails;
-
-  cd "$srcdir"/passlib-$pkgver-py2
-  python2 setup.py nosetests || warning 
"https://bitbucket.org/ecollins/passlib/issues/98/passlibextdjango-with-django-1112-fails;
 }
 
-package_python-passlib() {
-  depends=("python")
-  optdepends=("python-fastpbkdf2: accelerate PBKDF2-based hashes"
-  "python-bcrypt: accelerate Bcrypt hashes"
-  "python-scrypt: accelerate SCrypt hashes")
-
+package() {
   cd passlib-$pkgver
   python setup.py install -O1 --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
-package_python2-passlib() {
-  depends=("python2")
-  optdepends=("python2-fastpbkdf2: accelerate PBKDF2-based hashes"
-  "python2-bcrypt: accelerate Bcrypt hashes"
-  "python2-scrypt: accelerate SCrypt hashes")
-
-  cd passlib-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2019-10-31 Thread Felix Yan via arch-commits
Date: Thursday, October 31, 2019 @ 17:20:51
  Author: felixonmars
Revision: 521326

Python 3.8 rebuild

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 17:20:48 UTC (rev 521325)
+++ PKGBUILD2019-10-31 17:20:51 UTC (rev 521326)
@@ -4,7 +4,7 @@
 pkgbase=python-passlib
 pkgname=(python-passlib python2-passlib)
 pkgver=1.7.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url="https://code.google.com/p/passlib/;


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 15:13:39
  Author: foutrelis
Revision: 518926

Python 3.8 rebuild

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 15:13:23 UTC (rev 518925)
+++ PKGBUILD2019-10-25 15:13:39 UTC (rev 518926)
@@ -4,7 +4,7 @@
 pkgbase=python-passlib
 pkgname=(python-passlib python2-passlib)
 pkgver=1.7.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url="https://code.google.com/p/passlib/;


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2018-07-13 Thread Felix Yan via arch-commits
Date: Friday, July 13, 2018 @ 08:52:36
  Author: felixonmars
Revision: 358484

upgpkg: python-passlib 1.7.1-2

Python 3.7 rebuild

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-13 08:33:24 UTC (rev 358483)
+++ PKGBUILD2018-07-13 08:52:36 UTC (rev 358484)
@@ -5,7 +5,7 @@
 pkgbase=python-passlib
 pkgname=(python-passlib python2-passlib)
 pkgver=1.7.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url="https://code.google.com/p/passlib/;


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2018-07-13 Thread Felix Yan via arch-commits
Date: Friday, July 13, 2018 @ 08:11:26
  Author: felixonmars
Revision: 358475

ignore test errors

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-13 08:11:11 UTC (rev 358474)
+++ PKGBUILD2018-07-13 08:11:26 UTC (rev 358475)
@@ -25,10 +25,10 @@
   export PASSLIB_TEST_MODE=full
 
   cd "$srcdir"/passlib-$pkgver
-  python setup.py nosetests
+  python setup.py nosetests || warning 
"https://bitbucket.org/ecollins/passlib/issues/98/passlibextdjango-with-django-1112-fails;
 
   cd "$srcdir"/passlib-$pkgver-py2
-  python2 setup.py nosetests
+  python2 setup.py nosetests || warning 
"https://bitbucket.org/ecollins/passlib/issues/98/passlibextdjango-with-django-1112-fails;
 }
 
 package_python-passlib() {


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2017-02-02 Thread Felix Yan
Date: Thursday, February 2, 2017 @ 11:22:34
  Author: felixonmars
Revision: 209693

upgpkg: python-passlib 1.7.1-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-02 10:47:25 UTC (rev 209692)
+++ PKGBUILD2017-02-02 11:22:34 UTC (rev 209693)
@@ -4,8 +4,8 @@
 
 pkgbase=python-passlib
 pkgname=(python-passlib python2-passlib)
-pkgver=1.7.0
-pkgrel=2
+pkgver=1.7.1
+pkgrel=1
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url="https://code.google.com/p/passlib/;
@@ -15,7 +15,7 @@
   'python2-django' 'python2-m2crypto' 'python-fastpbkdf2' 
'python2-fastpbkdf2'
   'python-scrypt' 'python2-scrypt')
 source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
-sha512sums=('7187c4e5145e66be58e69f3f764d318e38e4d494c89020a441defb680d035fe3d96b5ad2f9f981ce5da91cf38e6ee444cbd752d5412b97c91abafac0ae393d6b')
+sha512sums=('3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168')
 
 prepare() {
   cp -a passlib-$pkgver{,-py2}


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2016-12-29 Thread Felix Yan
Date: Thursday, December 29, 2016 @ 10:51:52
  Author: felixonmars
Revision: 203271

add some missing optdepends

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-29 10:37:31 UTC (rev 203270)
+++ PKGBUILD2016-12-29 10:51:52 UTC (rev 203271)
@@ -11,8 +11,9 @@
 url="https://code.google.com/p/passlib/;
 license=('custom:BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-bcrypt' 'python2-bcrypt'
-  'python-django' 'python2-django' 'python2-m2crypto')
+checkdepends=('python-nose' 'python2-nose' 'python-bcrypt' 'python2-bcrypt' 
'python-django'
+  'python2-django' 'python2-m2crypto' 'python-fastpbkdf2' 
'python2-fastpbkdf2'
+  'python-scrypt' 'python2-scrypt')
 source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
 
sha512sums=('7187c4e5145e66be58e69f3f764d318e38e4d494c89020a441defb680d035fe3d96b5ad2f9f981ce5da91cf38e6ee444cbd752d5412b97c91abafac0ae393d6b')
 
@@ -32,7 +33,9 @@
 
 package_python-passlib() {
   depends=("python")
-  optdepends=("python-bcrypt: accelerate Bcrypt hashes")
+  optdepends=("python-fastpbkdf2: accelerate PBKDF2-based hashes"
+  "python-bcrypt: accelerate Bcrypt hashes"
+  "python-scrypt: accelerate SCrypt hashes")
 
   cd passlib-$pkgver
   python setup.py install -O1 --root="$pkgdir"
@@ -41,8 +44,9 @@
 
 package_python2-passlib() {
   depends=("python2")
-  optdepends=("python2-m2crypto: accelerate PBKDF2-based hashes"
-  "python2-bcrypt: accelerate Bcrypt hashes")
+  optdepends=("python2-fastpbkdf2: accelerate PBKDF2-based hashes"
+  "python2-bcrypt: accelerate Bcrypt hashes"
+  "python2-scrypt: accelerate SCrypt hashes")
 
   cd passlib-$pkgver-py2
   python2 setup.py install -O1 --root="$pkgdir"


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2016-12-26 Thread Felix Yan
Date: Tuesday, December 27, 2016 @ 06:27:45
  Author: felixonmars
Revision: 202941

upgpkg: python-passlib 1.7.0-2

python 3.6 rebuild

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-27 03:56:35 UTC (rev 202940)
+++ PKGBUILD2016-12-27 06:27:45 UTC (rev 202941)
@@ -5,7 +5,7 @@
 pkgbase=python-passlib
 pkgname=(python-passlib python2-passlib)
 pkgver=1.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url="https://code.google.com/p/passlib/;


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2016-11-24 Thread Felix Yan
Date: Thursday, November 24, 2016 @ 08:08:41
  Author: felixonmars
Revision: 196633

upgpkg: python-passlib 1.7.0-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |   37 ++---
 1 file changed, 18 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-24 05:58:02 UTC (rev 196632)
+++ PKGBUILD2016-11-24 08:08:41 UTC (rev 196633)
@@ -2,33 +2,32 @@
 # Maintainer: Felix Yan 
 # Contributor: onny 
 
-_pypiname=passlib
-pkgbase=python-$_pypiname
-pkgname=(python-$_pypiname python2-$_pypiname)
-pkgver=1.6.5
-pkgrel=3
+pkgbase=python-passlib
+pkgname=(python-passlib python2-passlib)
+pkgver=1.7.0
+pkgrel=1
 pkgdesc="A password hashing library for Python"
 arch=('any')
-url=("https://code.google.com/p/passlib/;)
+url="https://code.google.com/p/passlib/;
 license=('custom:BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-nose' 'python2-nose' 'python-bcrypt' 'python2-bcrypt'
   'python-django' 'python2-django' 'python2-m2crypto')
-source=("https://pypi.python.org/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
-sha512sums=('b5323834a0a7fc7e799882c512a2fcaddb0cbf4dbfb3ec578c9a9ea7a7f08349335cd3124fe2b379eef265ecdf9d823b7562951881710cf4dafff128a65c82d4')
+source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
+sha512sums=('7187c4e5145e66be58e69f3f764d318e38e4d494c89020a441defb680d035fe3d96b5ad2f9f981ce5da91cf38e6ee444cbd752d5412b97c91abafac0ae393d6b')
 
 prepare() {
-  cp -a ${_pypiname}-${pkgver}{,-py2}
+  cp -a passlib-$pkgver{,-py2}
 }
 
 check() {
   export PASSLIB_TEST_MODE=full
 
-  cd "$srcdir/$_pypiname-$pkgver"
-  nosetests3
+  cd "$srcdir"/passlib-$pkgver
+  python setup.py nosetests
 
-  cd "$srcdir/$_pypiname-$pkgver-py2"
-  nosetests2
+  cd "$srcdir"/passlib-$pkgver-py2
+  python2 setup.py nosetests
 }
 
 package_python-passlib() {
@@ -35,9 +34,9 @@
   depends=("python")
   optdepends=("python-bcrypt: accelerate Bcrypt hashes")
 
-  cd ${_pypiname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd passlib-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 package_python2-passlib() {
@@ -45,9 +44,9 @@
   optdepends=("python2-m2crypto: accelerate PBKDF2-based hashes"
   "python2-bcrypt: accelerate Bcrypt hashes")
 
-  cd ${_pypiname}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd passlib-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2015-09-19 Thread Felix Yan
Date: Saturday, September 19, 2015 @ 17:11:28
  Author: fyan
Revision: 140891

upgpkg: python-passlib 1.6.5-3

rebuild for python 3.5

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-19 15:01:42 UTC (rev 140890)
+++ PKGBUILD2015-09-19 15:11:28 UTC (rev 140891)
@@ -6,7 +6,7 @@
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
 pkgver=1.6.5
-pkgrel=2
+pkgrel=3
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url=("https://code.google.com/p/passlib/;)


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2015-09-14 Thread Felix Yan
Date: Monday, September 14, 2015 @ 08:45:38
  Author: fyan
Revision: 140075

upgpkg: python-passlib 1.6.5-2

enable more tests and add bcrypt to optdepends

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |   19 ---
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-14 05:37:07 UTC (rev 140074)
+++ PKGBUILD2015-09-14 06:45:38 UTC (rev 140075)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer: Felix Yan 
+# Maintainer: Felix Yan 
 # Contributor: onny 
 
 _pypiname=passlib
@@ -6,30 +6,34 @@
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
 pkgver=1.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url=("https://code.google.com/p/passlib/;)
 license=('custom:BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
+checkdepends=('python-nose' 'python2-nose' 'python-bcrypt' 'python2-bcrypt'
+  'python-django' 'python2-django' 'python2-m2crypto')
 
source=("https://pypi.python.org/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
 
sha512sums=('b5323834a0a7fc7e799882c512a2fcaddb0cbf4dbfb3ec578c9a9ea7a7f08349335cd3124fe2b379eef265ecdf9d823b7562951881710cf4dafff128a65c82d4')
 
 prepare() {
-  cp -a ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}
+  cp -a ${_pypiname}-${pkgver}{,-py2}
 }
 
 check() {
+  export PASSLIB_TEST_MODE=full
+
   cd "$srcdir/$_pypiname-$pkgver"
   nosetests3
 
-  cd "$srcdir/python2-$_pypiname-$pkgver"
+  cd "$srcdir/$_pypiname-$pkgver-py2"
   nosetests2
 }
 
 package_python-passlib() {
   depends=("python")
+  optdepends=("python-bcrypt: accelerate Bcrypt hashes")
 
   cd ${_pypiname}-${pkgver}
   python setup.py install -O1 --root="${pkgdir}"
@@ -38,9 +42,10 @@
 
 package_python2-passlib() {
   depends=("python2")
-  optdepends=("python2-m2crypto: accelerate PBKDF2-based hashes")
+  optdepends=("python2-m2crypto: accelerate PBKDF2-based hashes"
+  "python2-bcrypt: accelerate Bcrypt hashes")
 
-  cd python2-${_pypiname}-${pkgver}
+  cd ${_pypiname}-${pkgver}-py2
   python2 setup.py install -O1 --root="${pkgdir}"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2015-08-05 Thread Felix Yan
Date: Wednesday, August 5, 2015 @ 15:43:07
  Author: fyan
Revision: 137980

upgpkg: python-passlib 1.6.5-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |   21 +++--
 1 file changed, 15 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-05 13:39:29 UTC (rev 137979)
+++ PKGBUILD2015-08-05 13:43:07 UTC (rev 137980)
@@ -5,20 +5,29 @@
 _pypiname=passlib
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
-pkgver=1.6.2
-pkgrel=3
+pkgver=1.6.5
+pkgrel=1
 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=('783fe4fbfd4dca9d5cd39c49140976fb91efe41303ae31fec0f6f47101071600ae1709f3c4950bfac0bc9cbe65a2508781153aa3788b6451794f2acc9a1dfc58')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=(https://pypi.python.org/packages/source/p/passlib/passlib-$pkgver.tar.gz;)
+sha512sums=('b5323834a0a7fc7e799882c512a2fcaddb0cbf4dbfb3ec578c9a9ea7a7f08349335cd3124fe2b379eef265ecdf9d823b7562951881710cf4dafff128a65c82d4')
 
 prepare() {
-  cp -r ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}
+  cp -a ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}
 }
 
+check() {
+  cd $srcdir/$_pypiname-$pkgver
+  nosetests3
+
+  cd $srcdir/python2-$_pypiname-$pkgver
+  nosetests2
+}
+
 package_python-passlib() {
   depends=(python)
 


[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2014-03-16 Thread Felix Yan
Date: Monday, March 17, 2014 @ 05:47:47
  Author: fyan
Revision: 107328

upgpkg: python-passlib 1.6.2-3

- python 3.4 rebuild

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-17 04:33:37 UTC (rev 107327)
+++ PKGBUILD2014-03-17 04:47:47 UTC (rev 107328)
@@ -6,7 +6,7 @@
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
 pkgver=1.6.2
-pkgrel=2
+pkgrel=3
 pkgdesc=A password hashing library for Python
 arch=('any')
 url=(https://code.google.com/p/passlib/;)



[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2014-01-28 Thread Felix Yan
Date: Tuesday, January 28, 2014 @ 16:07:23
  Author: fyan
Revision: 104955

upgpkg: python-passlib 1.6.2-2

- add missing -O1 option, to include .pyo files in package

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-28 15:04:34 UTC (rev 104954)
+++ PKGBUILD2014-01-28 15:07:23 UTC (rev 104955)
@@ -6,7 +6,7 @@
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
 pkgver=1.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc=A password hashing library for Python
 arch=('any')
 url=(https://code.google.com/p/passlib/;)
@@ -23,7 +23,7 @@
   depends=(python)
 
   cd ${_pypiname}-${pkgver}
-  python setup.py install --root=${pkgdir}
+  python setup.py install -O1 --root=${pkgdir}
   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }
 
@@ -32,7 +32,7 @@
   optdepends=(python2-m2crypto: accelerate PBKDF2-based hashes)
 
   cd python2-${_pypiname}-${pkgver}
-  python2 setup.py install --root=${pkgdir}
+  python2 setup.py install -O1 --root=${pkgdir}
   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }
 



[arch-commits] Commit in python-passlib/trunk (PKGBUILD)

2013-12-26 Thread Felix Yan
Date: Friday, December 27, 2013 @ 02:52:59
  Author: fyan
Revision: 103131

upgpkg: python-passlib 1.6.2-1

Modified:
  python-passlib/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-26 21:47:19 UTC (rev 103130)
+++ PKGBUILD2013-12-27 01:52:59 UTC (rev 103131)
@@ -5,8 +5,8 @@
 _pypiname=passlib
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
-pkgver=1.6.1
-pkgrel=3
+pkgver=1.6.2
+pkgrel=1
 pkgdesc=A password hashing library for Python
 arch=('any')
 url=(https://code.google.com/p/passlib/;)
@@ -13,7 +13,7 @@
 license=('custom:BSD')
 makedepends=('python' 'python2')
 
source=(https://${_pypiname}.googlecode.com/files/$_pypiname-${pkgver}.tar.gz;)
-sha512sums=('93c047dc0a06f19a20e5da97db43c5c76e06d69baeac15cc932ef0306ae22dac5c1a3925889a140fd181ab4e00ac513ec829951e15babf5aad89bd2d08dc9907')
+sha512sums=('783fe4fbfd4dca9d5cd39c49140976fb91efe41303ae31fec0f6f47101071600ae1709f3c4950bfac0bc9cbe65a2508781153aa3788b6451794f2acc9a1dfc58')
 
 prepare() {
   cp -r ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}