first package version
This commit is contained in:
commit
e20d765cf9
2 changed files with 44 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal 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
PKGBUILD
Normal file
28
PKGBUILD
Normal 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}
|
||||||
|
}
|
Loading…
Reference in a new issue