[arch-commits] Commit in python-openmdao/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 28 13:12:15 UTC 2019
Date: Friday, June 28, 2019 @ 13:12:15
Author: felixonmars
Revision: 485658
archrelease: copy trunk to community-any
Added:
python-openmdao/repos/community-any/PKGBUILD
(from rev 485657, python-openmdao/trunk/PKGBUILD)
Deleted:
python-openmdao/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-28 13:12:05 UTC (rev 485657)
+++ PKGBUILD 2019-06-28 13:12:15 UTC (rev 485658)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-openmdao
-pkgver=2.7.1
-pkgrel=1
-pkgdesc="An open-source high-performance computing platform"
-url="https://github.com/OpenMDAO/OpenMDAO"
-license=('Apache')
-arch=('any')
-depends=('python-six' 'python-numpydoc' 'python-scipy' 'python-sqlitedict' 'python-pycodestyle'
- 'python-pydocstyle' 'python-testflo' 'python-parameterized' 'python-pyparsing'
- 'python-networkx' 'python-sphinx' 'python-redbaron' 'python-mock' 'python-requests-mock'
- 'python-tornado' 'python-pydoe2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenMDAO/OpenMDAO/archive/$pkgver.tar.gz")
-sha512sums=('80de556ec76c6919ab0848cdf8589b638e44be5ffaedd995748708c4595942b4c548981f24835fc00c464c8f5f061a98b51280cedce628af54cbd3cde61c4f8b')
-
-prepare() {
- cd OpenMDAO-$pkgver
- sed -e 's/from distutils.core/from setuptools/' \
- -e 's/==/>=/' \
- -i setup.py
-}
-
-build() {
- cd OpenMDAO-$pkgver
- python setup.py build
-}
-
-check() {
- cd OpenMDAO-$pkgver
- # Different pycodestyle version?
- testflo -n 16 --timeout=120 openmdao || warning "Tests failed"
-}
-
-package() {
- cd OpenMDAO-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-openmdao/repos/community-any/PKGBUILD (from rev 485657, python-openmdao/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-28 13:12:15 UTC (rev 485658)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-openmdao
+pkgver=2.8.0
+pkgrel=1
+pkgdesc="An open-source high-performance computing platform"
+url="https://github.com/OpenMDAO/OpenMDAO"
+license=('Apache')
+arch=('any')
+depends=('python-six' 'python-numpydoc' 'python-scipy' 'python-sqlitedict' 'python-pycodestyle'
+ 'python-pydocstyle' 'python-testflo' 'python-parameterized' 'python-pyparsing'
+ 'python-networkx' 'python-sphinx' 'python-redbaron' 'python-mock' 'python-requests-mock'
+ 'python-tornado' 'python-pydoe2')
+checkdepends=('python-mpi4py')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenMDAO/OpenMDAO/archive/$pkgver.tar.gz")
+sha512sums=('88b11f9884778d4fb60087fb2897e4a2613f9d6daa8c7a361a13e60898db45ca6c535abb7329ba8e7fe4fa21508e5b09c3ccd7d8e2aa062bf03ef44d11c8983d')
+
+prepare() {
+ cd OpenMDAO-$pkgver
+ sed -e 's/from distutils.core/from setuptools/' \
+ -e 's/==/>=/' \
+ -i setup.py
+}
+
+build() {
+ cd OpenMDAO-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd OpenMDAO-$pkgver
+ PYTHONPATH="$PWD/build/lib" testflo -n 16 --timeout=120 openmdao || warning "Tests failed"
+}
+
+package() {
+ cd OpenMDAO-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list