[arch-commits] Commit in python-dict2xml/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Feb 20 21:38:00 UTC 2022


    Date: Sunday, February 20, 2022 @ 21:37:59
  Author: felixonmars
Revision: 1135448

archrelease: copy trunk to community-any

Added:
  python-dict2xml/repos/community-any/PKGBUILD
    (from rev 1135447, python-dict2xml/trunk/PKGBUILD)
Deleted:
  python-dict2xml/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-20 21:37:51 UTC (rev 1135447)
+++ PKGBUILD	2022-02-20 21:37:59 UTC (rev 1135448)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-dict2xml
-pkgver=1.7.0
-_commit=ea9282f263b6588d59ac6998bf2319002527bd13
-pkgrel=2
-pkgdesc="Small utility to convert a python dictionary into an XML string"
-arch=('any')
-url="https://github.com/delfick/python-dict2xml"
-license=('MIT')
-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')
-
-build() {
-  cd python-dict2xml-$_commit
-  python setup.py build
-}
-
-check() {
-  cd python-dict2xml-$_commit
-  pytest
-}
-
-package() {
-  cd python-dict2xml-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-dict2xml/repos/community-any/PKGBUILD (from rev 1135447, python-dict2xml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-20 21:37:59 UTC (rev 1135448)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-dict2xml
+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"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-noseofyeti')
+source=("https://github.com/delfick/python-dict2xml/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ed8f80df44fae7dd0d82b504d9982809ee3aefda9bcb3b5ba88d9cc1222ad5548a0a2f9b35ad1e8e032e69d957141e21a4bc8e169640d4b98423fbd10b5c7ed7')
+
+build() {
+  cd python-dict2xml-release-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-dict2xml-release-$pkgver
+  pytest
+}
+
+package() {
+  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