[arch-commits] Commit in python-xmlschema/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 14:27:48 UTC 2020


    Date: Thursday, November 12, 2020 @ 14:27:48
  Author: foutrelis
Revision: 751901

archrelease: copy trunk to community-staging-any

Added:
  python-xmlschema/repos/community-staging-any/PKGBUILD
    (from rev 751900, python-xmlschema/trunk/PKGBUILD)
Deleted:
  python-xmlschema/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 14:27:44 UTC (rev 751900)
+++ PKGBUILD	2020-11-12 14:27:48 UTC (rev 751901)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-xmlschema
-pkgver=1.2.3
-pkgrel=2
-pkgdesc="An XML Schema validator and decoder"
-url="https://github.com/sissaschool/xmlschema"
-license=('MIT')
-arch=('any')
-depends=('python-elementpath')
-makedepends=('python-pip')
-checkdepends=('python-lxml')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz")
-sha512sums=('2f493488c266345688991e4c087856890c0ab8b6c1884abf0d2b952b64a6be0ccff2625c6fd6a41c2cd4471888a9592815c7d2d83c1aae581ba8b51d2d122075')
-
-prepare() {
-  sed -i 's/~=/>=/' xmlschema-$pkgver/setup.py
-}
-
-build() {
-  cd xmlschema-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd xmlschema-$pkgver
-  python -c "import xmlschema.codepoints; xmlschema.codepoints.save_unicode_categories()"
-  cp xmlschema/unicode_categories.json build/lib/xmlschema/
-  PYTHONPATH="$PWD/build/lib" python -m unittest
-}
-
-package() {
-  cd xmlschema-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-xmlschema/repos/community-staging-any/PKGBUILD (from rev 751900, python-xmlschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 14:27:48 UTC (rev 751901)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xmlschema
+pkgver=1.2.3
+pkgrel=3
+pkgdesc="An XML Schema validator and decoder"
+url="https://github.com/sissaschool/xmlschema"
+license=('MIT')
+arch=('any')
+depends=('python-elementpath')
+makedepends=('python-pip')
+checkdepends=('python-lxml')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz")
+sha512sums=('2f493488c266345688991e4c087856890c0ab8b6c1884abf0d2b952b64a6be0ccff2625c6fd6a41c2cd4471888a9592815c7d2d83c1aae581ba8b51d2d122075')
+
+prepare() {
+  sed -i 's/~=/>=/' xmlschema-$pkgver/setup.py
+}
+
+build() {
+  cd xmlschema-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd xmlschema-$pkgver
+  python -c "import xmlschema.codepoints; xmlschema.codepoints.save_unicode_categories()"
+  cp xmlschema/unicode_categories.json build/lib/xmlschema/
+  PYTHONPATH="$PWD/build/lib" python -m unittest
+}
+
+package() {
+  cd xmlschema-$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