Date: Friday, November 1, 2019 @ 13:05:28 Author: arojas Revision: 521774
Prepare 2.5.0 update Modified: python-munch/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-01 12:59:12 UTC (rev 521773) +++ PKGBUILD 2019-11-01 13:05:28 UTC (rev 521774) @@ -2,16 +2,16 @@ pkgbase=python-munch pkgname=(python-munch python2-munch) -pkgver=2.3.2 -pkgrel=3 +pkgver=2.5.0 +pkgrel=0 pkgdesc="A dot-accessible dictionary (a la JavaScript objects)" url="https://github.com/Infinidat/munch" license=('MIT') arch=('any') -makedepends=('python-setuptools' 'python2-setuptools') +makedepends=('python-setuptools' 'python2-setuptools' 'git') checkdepends=('python-pytest' 'python2-pytest' 'python-yaml' 'python2-yaml') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/Infinidat/munch/archive/$pkgver.tar.gz") -sha512sums=('0890165338e407c934e31fb3dd5b222788cd3bb1b38e4c4aa59931f1e8da79aba0f5d3cbf2eac3edad2e3e51add1d35b46cfffb2e96b68b7493f29feb6f99ac3') +source=(https://pypi.io/packages/source/m/munch/munch-${pkgver}.tar.gz) +sha512sums=('7eca31111f40782a19b49535322bc56d723022d52b0842c4beff512f32fa415a6c75851eb84950358cb6a11693095cafe56364028e48385b11135de414edca21') prepare() { cp -a munch-$pkgver{,-py2} @@ -19,9 +19,11 @@ build() { cd "$srcdir"/munch-$pkgver + export PYTHONPATH=$PWD python setup.py build cd "$srcdir"/munch-$pkgver-py2 + export PYTHONPATH=$PWD python2 setup.py build }
