diff options
author | Erich Eckner <git@eckner.net> | 2018-01-10 12:25:43 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-10 12:25:43 +0100 |
commit | f46389c43cf4c658fe844c1847fdf96470cf636c (patch) | |
tree | e4a2dbef1ba1e533622028e96dd782f3725e2e04 /python-memcached | |
parent | 58c8f13ef0e032cc309508451d05d72baf5929b5 (diff) | |
download | archlinuxewe-f46389c43cf4c658fe844c1847fdf96470cf636c.tar.xz |
python-memcached: 1.58-1 -> 1.59-1
Diffstat (limited to 'python-memcached')
-rw-r--r-- | python-memcached/PKGBUILD | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/python-memcached/PKGBUILD b/python-memcached/PKGBUILD index b5d2a51e4..40ffa3b61 100644 --- a/python-memcached/PKGBUILD +++ b/python-memcached/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Erich Eckner <arch at eckner dot net> pkgbase=python-memcached pkgname=(python-memcached python2-memcached) -pkgver=1.58 +pkgver=1.59 pkgrel=1 pkgdesc='100% Python interface to the memcached memory cache daemon' url='https://github.com/linsomniac/python-memcached' @@ -16,6 +16,13 @@ _mdepends=( 'python-coverage' 'python-hacking' ) +_cdepends=( + 'python-mock' + 'python-nose' + 'python-coverage' + 'python-hacking' + 'memcached' +) _optdepends=( 'python-memcached' 'python-pymongo' @@ -27,8 +34,12 @@ makedepends=( "${_mdepends[@]}" "${_mdepends[@]/python/python2}" ) +checkdepends=( + "${_cdepends[@]}" + "${_cdepends[@]/python/python2}" +) source=("https://github.com/linsomniac/python-memcached/archive/${pkgver}.tar.gz") -sha512sums=('72b5a071fddb14119afceca99ccfb01b6b55021d559e0ebe1b7a6e961d715bc3983c68911ff8d97f9918f84947f0ae89ee35bfacd2584b8810e86c5a8bd61dcc') +sha512sums=('d7ff45a329f2a9bf97fdc7c0268c2c67046c3501270fcf03578b955c2da35904d7bdecd4239924d390797ddff8f4cc69fc5743f4d4f663cdb9f2f8c7e8159512') prepare() { cp -a python-memcached-${pkgver}{,-py2} @@ -48,6 +59,10 @@ build() { } check() { + msg2 "starting memcached ..." + memcached -l 127.0.0.1 -o modern & + _memcached_pid=$! + sleep 1 msg2 "Checking python..." ( cd python-memcached-${pkgver} @@ -58,6 +73,8 @@ check() { cd python-memcached-${pkgver}-py2 python2 setup.py test ) + msg2 "killing memcached ..." + kill ${_memcached_pid} } package_python-memcached() { |