[arch-commits] Commit in python-colander/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Mar 1 10:50:37 UTC 2019


    Date: Friday, March 1, 2019 @ 10:50:36
  Author: felixonmars
Revision: 437228

archrelease: copy trunk to community-x86_64

Added:
  python-colander/repos/community-x86_64/PKGBUILD
    (from rev 437227, python-colander/trunk/PKGBUILD)
Deleted:
  python-colander/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-01 10:50:20 UTC (rev 437227)
+++ PKGBUILD	2019-03-01 10:50:36 UTC (rev 437228)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-colander
-pkgname=(python-colander python2-colander)
-pkgver=1.7.0
-pkgrel=1
-pkgdesc="A simple schema-based serialization and deserialization library"
-url="https://docs.pylonsproject.org/projects/colander/en/latest/"
-license=('BSD')
-arch=('x86_64')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-translationstring'
-             'python2-translationstring' 'python-iso8601' 'python2-iso8601' 'python2-enum34')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/colander/archive/$pkgver.tar.gz")
-sha512sums=('6f1862c8d4eb615365fe9b833ea679711e4af9fea8060d3da05ca31dca67ba70fef5c6a93ea3dd7d006cf894d465431296fc55902712ac8b5f95463ec4a55d9e')
-
-build() {
-  cd colander-$pkgver
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd colander-$pkgver
-  python setup.py nosetests
-  python2 setup.py nosetests
-}
-
-package_python-colander() {
-  depends=('python-translationstring' 'python-iso8601')
-
-  cd colander-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-colander() {
-  depends=('python2-translationstring' 'python2-iso8601' 'python2-enum34')
-
-  cd colander-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-colander/repos/community-x86_64/PKGBUILD (from rev 437227, python-colander/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-01 10:50:36 UTC (rev 437228)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-colander
+pkgver=1.7.0
+pkgrel=2
+pkgdesc="A simple schema-based serialization and deserialization library"
+url="https://docs.pylonsproject.org/projects/colander/en/latest/"
+license=('BSD')
+arch=('x86_64')
+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