diff options
author | Christian Rebischke | 2017-02-23 22:03:25 +0100 |
---|---|---|
committer | Christian Rebischke | 2017-02-23 22:03:25 +0100 |
commit | 6cd4ac3ae9e48febc1d23ffda7684f5813b33a18 (patch) | |
tree | e645b94e6343555bfcd9e30b3783b12a4b4a0435 | |
parent | d9b5930acb1b41d8d6aa523fc108ee844f993bd2 (diff) | |
download | aur-6cd4ac3ae9e48febc1d23ffda7684f5813b33a18.tar.gz |
added new dependency
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 7 deletions
@@ -17,8 +17,10 @@ pkgbase = python-virustotal-api pkgname = python-virustotal-api depends = python depends = python-future + depends = python-requests pkgname = python2-virustotal-api depends = python2 depends = python2-future + depends = python2-requests @@ -9,7 +9,7 @@ pkgdesc="Virus Total Public/Private/Intel API" arch=('any') url="https://github.com/blacktop/virustotal-api/" license=('MIT') -makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'python-future' 'python2-future') +makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'python-future' 'python2-future') source=("${_pyname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/v/${_pyname}/${_pyname}-${pkgver}.tar.gz") sha512sums=('ed687b1b75532d23489bc9a9dffc99e60ee041fd3e87740e5738c0c274af31fad92e8de06560961f15e3a617cb896d0a2749c4f125ff5257c19e01595f1f3d0e') @@ -19,21 +19,21 @@ prepare() { } check() { - cd "${srcdir}/virustotal-api-${pkgver}" + cd "${srcdir}/virustotal-api-${pkgver}" python setup.py check - - cd "${srcdir}/virustotal-api2-${pkgver}" - python2 setup.py check + + cd "${srcdir}/virustotal-api2-${pkgver}" + python2 setup.py check } package_python-virustotal-api() { - depends=('python' 'python-future') + depends=('python' 'python-future' 'python-requests') cd "${srcdir}/virustotal-api-${pkgver}" python setup.py install --root "${pkgdir}" --optimize=1 } package_python2-virustotal-api() { - depends=('python2' 'python2-future') + depends=('python2' 'python2-future' 'python2-requests') cd "${srcdir}/virustotal-api2-${pkgver}" python2 setup.py install --root "${pkgdir}" --optimize=1 } |