[arch-commits] Commit in python-colander/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:09:57 UTC 2019


    Date: Monday, November 4, 2019 @ 05:09:56
  Author: felixonmars
Revision: 523178

archrelease: copy trunk to community-staging-any

Added:
  python-colander/repos/community-staging-any/
  python-colander/repos/community-staging-any/PKGBUILD
    (from rev 523177, python-colander/trunk/PKGBUILD)

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

Copied: python-colander/repos/community-staging-any/PKGBUILD (from rev 523177, python-colander/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:09:56 UTC (rev 523178)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-colander
+pkgver=1.7.0
+pkgrel=4
+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