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

Felix Yan felixonmars at archlinux.org
Tue Jan 15 11:44:10 UTC 2019


    Date: Tuesday, January 15, 2019 @ 11:44:10
  Author: felixonmars
Revision: 423318

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-15 11:43:48 UTC (rev 423317)
+++ PKGBUILD	2019-01-15 11:44:10 UTC (rev 423318)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Matthew Sloan matthew at sloan.cc
-
-pkgbase=python-pint
-pkgname=('python-pint' 'python2-pint')
-pkgver=0.8.1
-pkgrel=2
-pkgdesc="A unit library for Python"
-arch=('any')
-license=('BSD')
-url="http://pint.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-numpy' 'python2-numpy' 'python-uncertainties' 'python2-uncertainties')
-source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz")
-sha512sums=('e8c33c147e5a86da45d84823ab974070a44c2fa34ea48e81aa07ca6f70804c5a11b316b91c8471b4798ef3ac3ba5488b9c9c6a6ecea5c43f426348430f941cee')
-
-prepare() {
-  cp -a Pint-$pkgver{,-py2}
-}
-
-check() {
-  cd "$srcdir"/Pint-$pkgver
-  python setup.py test || warning "https://github.com/hgrecco/pint/issues/577"
-
-  cd "$srcdir"/Pint-$pkgver-py2
-  python2 setup.py test || warning "https://github.com/hgrecco/pint/issues/577"
-}
-
-package_python-pint() {
-  depends=('python')
-
-  cd "$srcdir"/Pint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pint() {
-  depends=('python2')
-
-  cd "$srcdir"/Pint-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pint/repos/community-any/PKGBUILD (from rev 423317, python-pint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-15 11:44:10 UTC (rev 423318)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Matthew Sloan matthew at sloan.cc
+
+pkgbase=python-pint
+pkgname=('python-pint' 'python2-pint')
+pkgver=0.9
+pkgrel=1
+pkgdesc="A unit library for Python"
+arch=('any')
+license=('BSD')
+url="http://pint.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-numpy' 'python2-numpy' 'python-uncertainties' 'python2-uncertainties')
+source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz")
+sha512sums=('d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6')
+
+prepare() {
+  cp -a Pint-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/Pint-$pkgver
+  python setup.py test || warning "https://github.com/hgrecco/pint/issues/577"
+
+  cd "$srcdir"/Pint-$pkgver-py2
+  python2 setup.py test || warning "https://github.com/hgrecco/pint/issues/577"
+}
+
+package_python-pint() {
+  depends=('python')
+
+  cd "$srcdir"/Pint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pint() {
+  depends=('python2')
+
+  cd "$srcdir"/Pint-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list