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

Felix Yan felixonmars at archlinux.org
Wed Mar 27 08:31:21 UTC 2019


    Date: Wednesday, March 27, 2019 @ 08:31:20
  Author: felixonmars
Revision: 443999

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   69 ++++++++++++++++++++++---------------------------------------
 1 file changed, 26 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-27 08:31:01 UTC (rev 443998)
+++ PKGBUILD	2019-03-27 08:31:20 UTC (rev 443999)
@@ -1,43 +0,0 @@
-# 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
-}

Copied: python-pint/repos/community-any/PKGBUILD (from rev 443998, python-pint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-27 08:31:20 UTC (rev 443999)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Matthew Sloan matthew at sloan.cc
+
+pkgname=python-pint
+pkgver=0.9
+pkgrel=2
+pkgdesc="A unit library for Python"
+arch=('any')
+license=('BSD')
+url="http://pint.readthedocs.org"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-numpy' 'python-uncertainties')
+source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz")
+sha512sums=('d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6')
+
+check() {
+  cd Pint-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd Pint-$pkgver
+  python 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