[arch-commits] Commit in python-xmlschema/repos/community-testing-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Feb 22 11:46:23 UTC 2020
Date: Saturday, February 22, 2020 @ 11:46:22
Author: felixonmars
Revision: 578404
archrelease: copy trunk to community-testing-any
Added:
python-xmlschema/repos/community-testing-any/PKGBUILD
(from rev 578403, python-xmlschema/trunk/PKGBUILD)
Deleted:
python-xmlschema/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-22 11:46:14 UTC (rev 578403)
+++ PKGBUILD 2020-02-22 11:46:22 UTC (rev 578404)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-xmlschema
-pkgver=1.1.0
-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=('9922eb073f3f9e52bb024ef6f2f25ee361e8b236a23f89c426ab650bcfbc9f5acbd3c57044c726f78086043d14ce435f1b48932c0dc2e2abfa780fd4f8921a7f')
-
-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-testing-any/PKGBUILD (from rev 578403, python-xmlschema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-22 11:46:22 UTC (rev 578404)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-xmlschema
+pkgver=1.1.1
+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=('7a031db27206dcc88f5d764e9dddf0611510cb8f03c75db333f10d7e9e1d4bdc2655a65a85e24ae811ca46112c274bba7c9bf06e1758eeb4ec7080287805832f')
+
+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