Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-munch


Commits:
b3206b54 by Felix Yan at 2023-11-12T18:47:12+02:00
upgpkg: 4.0.0-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,17 @@
+pkgbase = python-munch
+       pkgdesc = A dot-accessible dictionary (a la JavaScript objects)
+       pkgver = 4.0.0
+       pkgrel = 1
+       url = https://github.com/Infinidat/munch
+       arch = any
+       license = MIT
+       checkdepends = python-pytest
+       checkdepends = python-yaml
+       makedepends = python-setuptools
+       makedepends = python-pbr
+       makedepends = git
+       depends = python
+       source = https://pypi.io/packages/source/m/munch/munch-4.0.0.tar.gz
+       sha512sums = 
7beeee4d3fd084ac929e796cd62af097c2602a3ec06405f79b562bc6d14577350adbbe02848253c62f0938e706b9056799bfd5b9c2bdff6e559b3903b8cdca5c
+
+pkgname = python-munch


=====================================
PKGBUILD
=====================================
@@ -1,31 +1,30 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=python-munch
-pkgver=3.0.0
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="A dot-accessible dictionary (a la JavaScript objects)"
 url="https://github.com/Infinidat/munch";
 license=('MIT')
 arch=('any')
-depends=('python-six')
+depends=('python')
 makedepends=('python-setuptools' 'python-pbr' 'git')
 checkdepends=('python-pytest' 'python-yaml')
 source=(https://pypi.io/packages/source/m/munch/munch-${pkgver}.tar.gz)
-sha512sums=('d08ac1b19badf0fb17f2dc81e53ab7492e49da225d8fa890fa9227df9d4e2bce395c7d7a8000f635529c1fb2a7eccd4eef10370b76e95b960955985b38003baf')
+sha512sums=('7beeee4d3fd084ac929e796cd62af097c2602a3ec06405f79b562bc6d14577350adbbe02848253c62f0938e706b9056799bfd5b9c2bdff6e559b3903b8cdca5c')
 
 build() {
-  cd "$srcdir"/munch-$pkgver
-  export PYTHONPATH=$PWD
+  cd munch-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/munch-$pkgver
+  cd munch-$pkgver
   pytest
 }
 
 package() {
   cd munch-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-munch/-/commit/b3206b541237ab91e6991d0739ecafcc05ba08b3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-munch/-/commit/b3206b541237ab91e6991d0739ecafcc05ba08b3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to