[arch-commits] Commit in python-colander/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:03:48 UTC 2020
Date: Thursday, November 12, 2020 @ 17:03:48
Author: foutrelis
Revision: 752216
archrelease: copy trunk to community-staging-any
Added:
python-colander/repos/community-staging-any/
python-colander/repos/community-staging-any/PKGBUILD
(from rev 752214, python-colander/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-colander/repos/community-staging-any/PKGBUILD (from rev 752214, python-colander/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:03:48 UTC (rev 752216)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-colander
+pkgver=1.8.2
+pkgrel=2
+pkgdesc="A simple schema-based serialization and deserialization library"
+url="https://docs.pylonsproject.org/projects/colander/en/latest/"
+license=('BSD')
+arch=('any')
+depends=('python-iso8601' 'python-setuptools' 'python-translationstring')
+checkdepends=('python-pytest-cov' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/colander/archive/$pkgver.tar.gz")
+sha512sums=('37c5501906c00ba58da41c98a86837f42d2738ff37f7b904ded9ac2fb1dd843c2fad159bb7033dd68b6d180d779eca57908ddef874ba23be35511faa8c91b4d6')
+
+build() {
+ cd colander-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd colander-$pkgver
+ python setup.py pytest
+}
+
+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