[arch-commits] Commit in python-dict2xml/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Feb 20 21:37:51 UTC 2022


    Date: Sunday, February 20, 2022 @ 21:37:51
  Author: felixonmars
Revision: 1135447

upgpkg: python-dict2xml 1.7.1-1

Modified:
  python-dict2xml/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-20 21:36:45 UTC (rev 1135446)
+++ PKGBUILD	2022-02-20 21:37:51 UTC (rev 1135447)
@@ -1,9 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-dict2xml
-pkgver=1.7.0
-_commit=ea9282f263b6588d59ac6998bf2319002527bd13
-pkgrel=2
+pkgver=1.7.1
+pkgrel=1
 pkgdesc="Small utility to convert a python dictionary into an XML string"
 arch=('any')
 url="https://github.com/delfick/python-dict2xml"
@@ -11,21 +10,21 @@
 depends=('python')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest' 'python-noseofyeti')
-source=("https://github.com/delfick/python-dict2xml/archive/$_commit/$pkgname-$_commit.tar.gz")
-sha512sums=('1fc2a25c903adca106374ea9181b57da25f2166eed9cc45a3ebcc4e7d90a6f20f4fa9f541048f35ab93af36e6ba55786b989e058443f7a6cbaf9a3838a1f4d0a')
+source=("https://github.com/delfick/python-dict2xml/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ed8f80df44fae7dd0d82b504d9982809ee3aefda9bcb3b5ba88d9cc1222ad5548a0a2f9b35ad1e8e032e69d957141e21a4bc8e169640d4b98423fbd10b5c7ed7')
 
 build() {
-  cd python-dict2xml-$_commit
+  cd python-dict2xml-release-$pkgver
   python setup.py build
 }
 
 check() {
-  cd python-dict2xml-$_commit
+  cd python-dict2xml-release-$pkgver
   pytest
 }
 
 package() {
-  cd python-dict2xml-$_commit
+  cd python-dict2xml-release-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/



More information about the arch-commits mailing list