[arch-commits] Commit in python-uncertainties/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Mar 28 13:43:39 UTC 2016
Date: Monday, March 28, 2016 @ 15:43:39
Author: fyan
Revision: 168696
archrelease: copy trunk to community-any
Added:
python-uncertainties/repos/community-any/PKGBUILD
(from rev 168695, python-uncertainties/trunk/PKGBUILD)
Deleted:
python-uncertainties/repos/community-any/PKGBUILD
----------+
PKGBUILD | 107 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-28 13:43:13 UTC (rev 168695)
+++ PKGBUILD 2016-03-28 13:43:39 UTC (rev 168696)
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 145754 2015-11-03 08:23:02Z fyan $
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-uncertainties
-pkgname=('python-uncertainties' 'python2-uncertainties')
-pkgver=2.4.8
-_commit=4a1b9ab5b5e96e412ebc0b7cbb6ab10fc9d6f823
-pkgrel=1
-pkgdesc="Transparent calculations with uncertainties on the quantities involved (aka error propagation); fast calculation of derivatives."
-arch=('any')
-license=('BSD')
-url="https://github.com/lebigot/uncertainties"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-numpy' 'python2-numpy')
-source=("git+https://github.com/lebigot/uncertainties.git#commit=$_commit")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a uncertainties{,-py2}
-}
-
-build() {
- cd "$srcdir"/uncertainties
- python setup.py build
-
- cd "$srcdir"/uncertainties-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/uncertainties
- python setup.py nosetests
-
- cd "$srcdir"/uncertainties-py2
- python2 setup.py nosetests
-}
-
-package_python-uncertainties() {
- depends=('python')
- optdepends=('python-numpy: additional support for NumPy arrays and matrices')
-
- cd uncertainties
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-uncertainties() {
- depends=('python2')
- optdepends=('python2-numpy: additional support for NumPy arrays and matrices')
-
- cd uncertainties-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-uncertainties/repos/community-any/PKGBUILD (from rev 168695, python-uncertainties/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-28 13:43:39 UTC (rev 168696)
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 145754 2015-11-03 08:23:02Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-uncertainties
+pkgname=('python-uncertainties' 'python2-uncertainties')
+pkgver=2.4.8.1
+pkgrel=1
+pkgdesc="Transparent calculations with uncertainties on the quantities involved (aka error propagation); fast calculation of derivatives."
+arch=('any')
+license=('BSD')
+url="https://github.com/lebigot/uncertainties"
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-numpy' 'python2-numpy')
+source=("git+https://github.com/lebigot/uncertainties.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a uncertainties{,-py2}
+}
+
+build() {
+ cd "$srcdir"/uncertainties
+ python setup.py build
+
+ cd "$srcdir"/uncertainties-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/uncertainties
+ python setup.py nosetests
+
+ cd "$srcdir"/uncertainties-py2
+ python2 setup.py nosetests
+}
+
+package_python-uncertainties() {
+ depends=('python')
+ optdepends=('python-numpy: additional support for NumPy arrays and matrices')
+
+ cd uncertainties
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-uncertainties() {
+ depends=('python2')
+ optdepends=('python2-numpy: additional support for NumPy arrays and matrices')
+
+ cd uncertainties-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