[arch-commits] Commit in python-venusian/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Apr 26 07:37:00 UTC 2017


    Date: Wednesday, April 26, 2017 @ 07:36:59
  Author: felixonmars
Revision: 225423

archrelease: copy trunk to community-any

Added:
  python-venusian/repos/community-any/PKGBUILD
    (from rev 225422, python-venusian/trunk/PKGBUILD)
Deleted:
  python-venusian/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-26 07:36:33 UTC (rev 225422)
+++ PKGBUILD	2017-04-26 07:36:59 UTC (rev 225423)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-venusian
-pkgname=('python-venusian' 'python2-venusian')
-pkgver=1.0
-pkgrel=2
-pkgdesc="A library for deferring decorator actions"
-arch=('any')
-license=('custom:BSD')
-url="http://pylonsproject.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose-exclude' 'python2-nose-exclude')
-source=("git+https://github.com/Pylons/venusian.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a venusian{,-py2}
-}
-
-build() {
-  cd "$srcdir/venusian"
-  python setup.py build
-
-  cd "$srcdir/venusian-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/venusian"
-  python setup.py nosetests
-
-  cd "$srcdir/venusian-py2"
-  python2 setup.py nosetests
-}
-
-package_python-venusian() {
-  depends=('python')
-
-  cd venusian
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
-
-package_python2-venusian() {
-  depends=('python2')
-
-  cd venusian-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: python-venusian/repos/community-any/PKGBUILD (from rev 225422, python-venusian/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-04-26 07:36:59 UTC (rev 225423)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgbase=python-venusian
+pkgname=('python-venusian' 'python2-venusian')
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A library for deferring decorator actions"
+arch=('any')
+license=('custom:BSD')
+url="http://pylonsproject.org"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/venusian/archive/$pkgver.tar.gz")
+sha512sums=('a06b26111ace37c1243ac605f1684446247c6e077d15fa77e92c0913e1fc30a0ce339f725cce1414501345abccdfb75e4ac5727e7f4db9fe9757b45b9e29b1cb')
+
+prepare() {
+  cp -a venusian-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/venusian-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/venusian-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/venusian-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/venusian-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-venusian() {
+  depends=('python')
+
+  cd venusian-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-venusian() {
+  depends=('python2')
+
+  cd venusian-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list