Date: Monday, March 14, 2016 @ 04:04:43 Author: fyan Revision: 166569
upgpkg: python-jsonpickle 0.9.3-1 Modified: python-jsonpickle/trunk/PKGBUILD ----------+ PKGBUILD | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-03-14 03:00:46 UTC (rev 166568) +++ PKGBUILD 2016-03-14 03:04:43 UTC (rev 166569) @@ -3,44 +3,44 @@ pkgbase=python-jsonpickle pkgname=(python-jsonpickle python2-jsonpickle) -_pypiname=jsonpickle -pkgver=0.9.2 -pkgrel=3 +pkgver=0.9.3 +pkgrel=1 +arch=('any') pkgdesc="Python library for serializing any arbitrary object graph into JSON" url="http://jsonpickle.github.io/" makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-nose' 'python2-nose' 'python-numpy' 'python2-numpy' 'python-pymongo' 'python2-pymongo' +checkdepends=('python-nose-show-skipped' 'python2-nose-show-skipped' 'python-numpy' 'python2-numpy' 'python-feedparser' 'python2-feedparser' 'python-coverage' 'python2-coverage' 'python2-enum34' - 'python-simplejson' 'python2-simplejson') + 'python-simplejson' 'python2-simplejson' 'python-pymongo' 'python2-pymongo' 'python-ujson' + 'python2-ujson') license=('BSD') -arch=('any') -source=("https://pypi.python.org/packages/source/j/${_pypiname}/${_pypiname}-${pkgver}.tar.gz") -md5sums=('579a44c19ae55af83cb7b0437dfbe7e3') +source=("https://pypi.python.org/packages/source/j/jsonpickle/jsonpickle-$pkgver.tar.gz") +md5sums=('cb30198969da11f9d19a11d03e0d0046') prepare() { - cp -a $_pypiname-$pkgver{,-py2} + cp -a jsonpickle-$pkgver{,-py2} } build() { - cd "$srcdir/${_pypiname}-${pkgver}" + cd "$srcdir"/jsonpickle-$pkgver python setup.py build - cd "$srcdir/${_pypiname}-${pkgver}-py2" + cd "$srcdir"/jsonpickle-$pkgver-py2 python2 setup.py build } check() { - cd "$srcdir/${_pypiname}-${pkgver}" - nosetests3 + cd "$srcdir"/jsonpickle-$pkgver + nosetests3 --show-skipped - cd "$srcdir/${_pypiname}-${pkgver}-py2" - nosetests2 + cd "$srcdir"/jsonpickle-$pkgver-py2 + nosetests2 --show-skipped } package_python-jsonpickle() { depends=('python') - cd $srcdir/${_pypiname}-${pkgver} + cd jsonpickle-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } @@ -48,7 +48,7 @@ package_python2-jsonpickle() { depends=('python2') - cd $srcdir/${_pypiname}-${pkgver}-py2 + cd jsonpickle-$pkgver-py2 python2 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING }