[arch-commits] Commit in python-colander/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 25 18:27:05 UTC 2019
Date: Saturday, May 25, 2019 @ 18:27:05
Author: felixonmars
Revision: 470747
archrelease: copy trunk to community-any
Added:
python-colander/repos/community-any/
python-colander/repos/community-any/PKGBUILD
(from rev 470746, python-colander/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-colander/repos/community-any/PKGBUILD (from rev 470746, python-colander/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-05-25 18:27:05 UTC (rev 470747)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-colander
+pkgver=1.7.0
+pkgrel=3
+pkgdesc="A simple schema-based serialization and deserialization library"
+url="https://docs.pylonsproject.org/projects/colander/en/latest/"
+license=('BSD')
+arch=('any')
+depends=('python-translationstring' 'python-iso8601')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/colander/archive/$pkgver.tar.gz")
+sha512sums=('6f1862c8d4eb615365fe9b833ea679711e4af9fea8060d3da05ca31dca67ba70fef5c6a93ea3dd7d006cf894d465431296fc55902712ac8b5f95463ec4a55d9e')
+
+build() {
+ cd colander-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd colander-$pkgver
+ python setup.py nosetests
+}
+
+package() {
+ cd colander-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list