[arch-commits] Commit in python-ioflo/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 14 02:41:02 UTC 2017
Date: Monday, August 14, 2017 @ 02:41:02
Author: felixonmars
Revision: 250103
archrelease: copy trunk to community-any
Added:
python-ioflo/repos/community-any/PKGBUILD
(from rev 250102, python-ioflo/trunk/PKGBUILD)
Deleted:
python-ioflo/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-14 02:40:42 UTC (rev 250102)
+++ PKGBUILD 2017-08-14 02:41:02 UTC (rev 250103)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-ioflo
-pkgname=('python-ioflo' 'python2-ioflo')
-pkgver=1.6.9
-pkgrel=1
-pkgdesc='Flo based programming interface in python'
-arch=('any')
-url='http://ioflo.com'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-enum34')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ioflo/ioflo/archive/v$pkgver.tar.gz")
-sha512sums=('e359ff07bd1bbeb11ad28f4b200d0454ef5cf3007095d97e8eafa40f5beb36170d952b6371503bfc1b56cd6480c7ab4aa1be313475ee080f7aae1a0d05d6ed06')
-
-prepare() {
- cp -a ioflo-$pkgver{,-py2}
-
- sed -i '1i#coding: utf-8' ioflo-$pkgver-py2/ioflo/aid/vectoring.py
-}
-
-build() {
- cd "$srcdir"/ioflo-$pkgver
- python setup.py build
-
- cd "$srcdir"/ioflo-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/ioflo-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/ioflo-$pkgver-py2
- python2 setup.py pytest || warning "Tests failed"
-}
-
-package_python-ioflo() {
- depends=('python')
-
- cd ioflo-$pkgver
- python setup.py install --root="$pkgdir" -O1
-}
-
-package_python2-ioflo() {
- depends=('python2-enum34')
-
- cd ioflo-$pkgver-py2
- python2 setup.py install --root="$pkgdir" -O1
-
- mv "$pkgdir"/usr/bin/ioflo{,2}
-}
Copied: python-ioflo/repos/community-any/PKGBUILD (from rev 250102, python-ioflo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-08-14 02:41:02 UTC (rev 250103)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgbase=python-ioflo
+pkgname=('python-ioflo' 'python2-ioflo')
+pkgver=1.7.0
+pkgrel=1
+pkgdesc='Flo based programming interface in python'
+arch=('any')
+url='http://ioflo.com'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-enum34')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ioflo/ioflo/archive/v$pkgver.tar.gz")
+sha512sums=('b7f3ba0511ed5f2cf8031aa11a660ccee8eef0674c8df17ec09ff32268b5c9d34dd2d79956ddf24ab2fcbf4fe8fc7bb5e521f9636f013b7ed6365960b4cabe48')
+
+prepare() {
+ cp -a ioflo-$pkgver{,-py2}
+
+ sed -i '1i#coding: utf-8' ioflo-$pkgver-py2/ioflo/aid/vectoring.py
+}
+
+build() {
+ cd "$srcdir"/ioflo-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/ioflo-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/ioflo-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/ioflo-$pkgver-py2
+ python2 setup.py pytest || warning "Tests failed"
+}
+
+package_python-ioflo() {
+ depends=('python')
+
+ cd ioflo-$pkgver
+ python setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-ioflo() {
+ depends=('python2-enum34')
+
+ cd ioflo-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" -O1
+
+ mv "$pkgdir"/usr/bin/ioflo{,2}
+}
More information about the arch-commits
mailing list