diff --git a/python2-safe/.SRCINFO b/python2-safe/.SRCINFO new file mode 100644 index 0000000..0850daf --- /dev/null +++ b/python2-safe/.SRCINFO @@ -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 + diff --git a/python2-safe/PKGBUILD b/python2-safe/PKGBUILD new file mode 100644 index 0000000..10fe801 --- /dev/null +++ b/python2-safe/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Cedric Girard +_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} +}