Add 'python2-safe/' from commit 'e20d765cf9b25e24b208298181bb7f033d15e91b'

git-subtree-dir: python2-safe
git-subtree-mainline: 1e7c94b077
git-subtree-split: e20d765cf9
This commit is contained in:
Cedric Girard 2019-02-14 15:32:03 +01:00
commit 8bb329a79c
2 changed files with 44 additions and 0 deletions

16
python2-safe/.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
# Generated by mksrcinfo v8
# Mon Feb 29 15:19:03 UTC 2016
pkgbase = python2-safe
pkgdesc = Check the password strength for you.
pkgver = 0.4
pkgrel = 1
url = http://pypi.python.org/pypi/Safe
arch = any
license = Apache
makedepends = python2-setuptools
depends = python2
source = https://pypi.python.org/packages/source/S/Safe/Safe-0.4.tar.gz
md5sums = 670ef3588b98f878dd1b38b13d8f677d
pkgname = python2-safe

28
python2-safe/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_pythonmod=Safe
pkgname=python2-safe
pkgver=0.4
pkgrel=1
pkgdesc="Check the password strength for you."
arch=('any')
url="http://pypi.python.org/pypi/${_pythonmod}"
license=('Apache')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
md5sums=('670ef3588b98f878dd1b38b13d8f677d')
build() {
cd ${srcdir}/${_pythonmod}-$pkgver
python2 setup.py build
}
check() {
cd ${srcdir}/${_pythonmod}-$pkgver
python2 setup.py test
}
package() {
cd ${srcdir}/${_pythonmod}-$pkgver
python2 setup.py install --root=${pkgdir}
}