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

Felix Yan felixonmars at archlinux.org
Thu May 30 20:57:50 UTC 2019


    Date: Thursday, May 30, 2019 @ 20:57:50
  Author: felixonmars
Revision: 475237

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-30 20:57:47 UTC (rev 475236)
+++ PKGBUILD	2019-05-30 20:57:50 UTC (rev 475237)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-uncertainties
-pkgname=('python-uncertainties' 'python2-uncertainties')
-pkgver=3.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')
-checkdepends=('python-nose' 'python2-nose' 'python-numpy' 'python2-numpy')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/lebigot/uncertainties/archive/$pkgver.tar.gz")
-sha512sums=('524d00cbbc46274fbd5ca4a5e83bc973cb5b5fa34b3996e70835bf05f3af4c3c5b2373c0d27546f6b0c1b370b78432d5a799d5a6cc49cf5c6b77020f8a91341f')
-
-prepare() {
-  # Copy needed for 2to3
-  cp -a uncertainties-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/uncertainties-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/uncertainties-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/uncertainties-$pkgver
-  python setup.py nosetests
-
-  cd "$srcdir"/uncertainties-$pkgver-py2
-  python2 setup.py nosetests
-}
-
-package_python-uncertainties() {
-  depends=('python')
-  optdepends=('python-numpy: additional support for NumPy arrays and matrices')
-
-  cd uncertainties-$pkgver
-  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-$pkgver-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 475235, python-uncertainties/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-30 20:57:50 UTC (rev 475237)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-uncertainties
+pkgname=('python-uncertainties' 'python2-uncertainties')
+pkgver=3.1.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')
+checkdepends=('python-nose' 'python2-nose' 'python-numpy' 'python2-numpy')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/lebigot/uncertainties/archive/$pkgver.tar.gz")
+sha512sums=('201780d52cac513a04804b4d0b986cba6fa4280d0bb882c73c7afc4a88e3b669a7d94bce2700cfec91222e60a2c0c539ec27b2b794c9443f8ef1292321a340ed')
+
+prepare() {
+  # Copy needed for 2to3
+  cp -a uncertainties-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/uncertainties-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/uncertainties-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/uncertainties-$pkgver
+  python setup.py nosetests
+
+  cd "$srcdir"/uncertainties-$pkgver-py2
+  python2 setup.py nosetests
+}
+
+package_python-uncertainties() {
+  depends=('python')
+  optdepends=('python-numpy: additional support for NumPy arrays and matrices')
+
+  cd uncertainties-$pkgver
+  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-$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