[arch-commits] Commit in python-xmlschema/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 30 08:31:28 UTC 2020
Date: Thursday, April 30, 2020 @ 08:31:27
Author: felixonmars
Revision: 622422
archrelease: copy trunk to community-any
Added:
python-xmlschema/repos/community-any/PKGBUILD
(from rev 622421, python-xmlschema/trunk/PKGBUILD)
Deleted:
python-xmlschema/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-30 08:31:10 UTC (rev 622421)
+++ PKGBUILD 2020-04-30 08:31:27 UTC (rev 622422)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-xmlschema
-pkgver=1.1.2
-pkgrel=1
-pkgdesc="An XML Schema validator and decoder"
-url="https://github.com/sissaschool/xmlschema"
-license=('MIT')
-arch=('any')
-depends=('python-elementpath')
-makedepends=('python-setuptools')
-checkdepends=('python-lxml')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz")
-sha512sums=('05bbf79afa61d407f7b940e7ee42f3e87f87cc12871bcdb41df37d2753a96b46a60fcab54f7e24aca43123abea350b2a19dbf4938909c97950f9d439763377ec')
-
-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-any/PKGBUILD (from rev 622421, python-xmlschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-30 08:31:27 UTC (rev 622422)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xmlschema
+pkgver=1.1.3
+pkgrel=1
+pkgdesc="An XML Schema validator and decoder"
+url="https://github.com/sissaschool/xmlschema"
+license=('MIT')
+arch=('any')
+depends=('python-elementpath')
+makedepends=('python-setuptools')
+checkdepends=('python-lxml')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/v$pkgver.tar.gz")
+sha512sums=('9627d3a81851cdab0baffc0dccb8bbe4ee21c945b2c9b890f1ac7679b1f6c936792f639e30f703048ffa355cf2d9ff776d6fdab5731ecf43daeb1506de2bc54f')
+
+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