[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 18:48:58 Author: foutrelis Revision: 753193 upgpkg: python-pint 0.16.1-3: Python 3.9 rebuild Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 18:48:42 UTC (rev 753192) +++ PKGBUILD2020-11-12 18:48:58 UTC (rev 753193) @@ -3,7 +3,7 @@ pkgname=python-pint pkgver=0.16.1 -pkgrel=2 +pkgrel=3 pkgdesc="A unit library for Python" arch=('any') license=('BSD')
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Tuesday, September 22, 2020 @ 06:31:41 Author: felixonmars Revision: 711364 upgpkg: python-pint 0.16.1-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-22 06:31:32 UTC (rev 711363) +++ PKGBUILD2020-09-22 06:31:41 UTC (rev 711364) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.16 +pkgver=0.16.1 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('f81bb5e6be43516645c282c73c695c965b1bac11f27a44278ac84bdc1f7a6ae23e35162c22721f0a6dabb63861688a1f01779d0e493495a6859c7f6e6ce6abad') +sha512sums=('7d18ff7a7e85ff98350347a487be62513b100e4adba701a8e5f27f6db89618931d0f62b67be42bda4af097f5f01830baa5a6b50a537924287214d0d954da5322') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Monday, September 14, 2020 @ 09:55:54 Author: felixonmars Revision: 705958 upgpkg: python-pint 0.16-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-14 09:55:51 UTC (rev 705957) +++ PKGBUILD2020-09-14 09:55:54 UTC (rev 705958) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.15 +pkgver=0.16 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('b09f4cc5efc8ea8a08c4b61d526c9e85a2a2bb8d20c1b82e6a5fd871abf87b325d4b530371886d8bb14b3c15f873495220208220d691172d25ba4e82aa934f60') +sha512sums=('f81bb5e6be43516645c282c73c695c965b1bac11f27a44278ac84bdc1f7a6ae23e35162c22721f0a6dabb63861688a1f01779d0e493495a6859c7f6e6ce6abad') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Sunday, August 23, 2020 @ 07:46:05 Author: felixonmars Revision: 686972 upgpkg: python-pint 0.15-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-08-23 07:45:05 UTC (rev 686971) +++ PKGBUILD2020-08-23 07:46:05 UTC (rev 686972) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.14 +pkgver=0.15 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('e58379805481d07e0a4634cdc999f0faa21da7e4fa7c7bade86c45492e130157e08e156d51e179b3a7c69f720ba0d6c20b54e91e9ab5e010f0ed515a0042cbcc') +sha512sums=('b09f4cc5efc8ea8a08c4b61d526c9e85a2a2bb8d20c1b82e6a5fd871abf87b325d4b530371886d8bb14b3c15f873495220208220d691172d25ba4e82aa934f60') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Thursday, July 2, 2020 @ 05:21:26 Author: felixonmars Revision: 657457 upgpkg: python-pint 0.14-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-02 05:21:07 UTC (rev 657456) +++ PKGBUILD2020-07-02 05:21:26 UTC (rev 657457) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.13 +pkgver=0.14 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('bb5212958fdf25b37eeb08f0e3c0766991cfe6ff508fc5a17611afc1f6841c5d82dae0cdf94cf3d565be76c3ce2224d2bd6a073e257dd393ad257540f39a848f') +sha512sums=('e58379805481d07e0a4634cdc999f0faa21da7e4fa7c7bade86c45492e130157e08e156d51e179b3a7c69f720ba0d6c20b54e91e9ab5e010f0ed515a0042cbcc') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Thursday, June 18, 2020 @ 07:38:39 Author: felixonmars Revision: 646799 upgpkg: python-pint 0.13-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-18 07:37:30 UTC (rev 646798) +++ PKGBUILD2020-06-18 07:38:39 UTC (rev 646799) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.12 +pkgver=0.13 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('e8d26a5bb2cdb1b2ad82c1c570c6e000451b985af03adef3df6e657473e7ada0b96a45b54981d7fbf3a3172ff287c9f60a05e6f7684b909ebfd4c31929f16ce4') +sha512sums=('bb5212958fdf25b37eeb08f0e3c0766991cfe6ff508fc5a17611afc1f6841c5d82dae0cdf94cf3d565be76c3ce2224d2bd6a073e257dd393ad257540f39a848f') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Friday, May 29, 2020 @ 18:04:37 Author: felixonmars Revision: 637195 upgpkg: python-pint 0.12-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-29 18:04:29 UTC (rev 637194) +++ PKGBUILD2020-05-29 18:04:37 UTC (rev 637195) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.11 +pkgver=0.12 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('7968002dffba27ab99f05022365301db57256913b2a09b44ef755be7dee42ae740793cb1f6a24950c585ec6ed35ee83283402f611c11a8394c22b391329a13cd') +sha512sums=('e8d26a5bb2cdb1b2ad82c1c570c6e000451b985af03adef3df6e657473e7ada0b96a45b54981d7fbf3a3172ff287c9f60a05e6f7684b909ebfd4c31929f16ce4') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Thursday, February 20, 2020 @ 08:55:57 Author: felixonmars Revision: 576999 upgpkg: python-pint 0.11-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-20 08:55:50 UTC (rev 576998) +++ PKGBUILD2020-02-20 08:55:57 UTC (rev 576999) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.10.1 +pkgver=0.11 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('e2c4c3e87eed997c58a45df5091064f495759c49bf365cd571e4e7d7aefd2b5fdf6699e8f9c03dc867dfdc57a39da03f63e2edb052595d9814d1981239641285') +sha512sums=('7968002dffba27ab99f05022365301db57256913b2a09b44ef755be7dee42ae740793cb1f6a24950c585ec6ed35ee83283402f611c11a8394c22b391329a13cd') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Thursday, January 9, 2020 @ 11:37:02 Author: felixonmars Revision: 551033 upgpkg: python-pint 0.10.1-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-09 11:36:34 UTC (rev 551032) +++ PKGBUILD2020-01-09 11:37:02 UTC (rev 551033) @@ -2,7 +2,7 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.10 +pkgver=0.10.1 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools-scm') checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('716f7ed89e37eb4fd4062e34bf0735a5476723b38e5c6d7ff14dee8ba97bd6541ca71f60da99d10c6d15667ea5f661ae7df26aaa6cd17f09dafd689b80b2fab2') +sha512sums=('e2c4c3e87eed997c58a45df5091064f495759c49bf365cd571e4e7d7aefd2b5fdf6699e8f9c03dc867dfdc57a39da03f63e2edb052595d9814d1981239641285') prepare() { cd Pint-$pkgver
[arch-commits] Commit in python-pint/trunk (PKGBUILD python-3.8.patch)
Date: Wednesday, January 8, 2020 @ 19:52:01 Author: felixonmars Revision: 550554 upgpkg: python-pint 0.10-1 Modified: python-pint/trunk/PKGBUILD Deleted: python-pint/trunk/python-3.8.patch --+ PKGBUILD | 19 --- python-3.8.patch | 50 -- 2 files changed, 8 insertions(+), 61 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-08 19:51:58 UTC (rev 550553) +++ PKGBUILD2020-01-08 19:52:01 UTC (rev 550554) @@ -2,29 +2,26 @@ # Contributor: Matthew Sloan matt...@sloan.cc pkgname=python-pint -pkgver=0.9 -pkgrel=3 +pkgver=0.10 +pkgrel=1 pkgdesc="A unit library for Python" arch=('any') license=('BSD') url="https://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"; -python-3.8.patch) -sha512sums=('d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6' - '8a2a6d8c3c82471b18f262d65ac8194c3d49cd1751892210ea2d6a0e8d4502c97aae70135ae6ca9a92524598475bab0ef50cfa3b9594987e7c75a492722e') +makedepends=('python-setuptools-scm') +checkdepends=('python-pytest-runner' 'python-numpy' 'python-uncertainties') +source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) +sha512sums=('716f7ed89e37eb4fd4062e34bf0735a5476723b38e5c6d7ff14dee8ba97bd6541ca71f60da99d10c6d15667ea5f661ae7df26aaa6cd17f09dafd689b80b2fab2') prepare() { cd Pint-$pkgver - # https://github.com/hgrecco/pint/pull/824 - patch -Np1 -i ../python-3.8.patch + sed -i 's/pkg_resources.extern.//' pint/quantity.py } check() { cd Pint-$pkgver - python setup.py test + python setup.py pytest } package() { Deleted: python-3.8.patch === --- python-3.8.patch2020-01-08 19:51:58 UTC (rev 550553) +++ python-3.8.patch2020-01-08 19:52:01 UTC (rev 550554) @@ -1,50 +0,0 @@ -From fb7ace52712958a512470c909b3ccf448620a166 Mon Sep 17 00:00:00 2001 -From: xtreak -Date: Sat, 29 Jun 2019 04:58:59 + -Subject: [PATCH] Use context manager for assertWarns and fix - DeprecationWarning - - pint/testsuite/parameterized.py | 7 ++- - pint/testsuite/test_quantity.py | 3 ++- - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/pint/testsuite/parameterized.py b/pint/testsuite/parameterized.py -index 9b92037..7c45915 100644 a/pint/testsuite/parameterized.py -+++ b/pint/testsuite/parameterized.py -@@ -32,6 +32,11 @@ from functools import wraps - import collections - import unittest - -+try: -+from collections.abc import Callable -+except ImportError: -+from collections import Callable -+ - def add_metaclass(metaclass): - """Class decorator for creating a class with a metaclass.""" - def wrapper(cls): -@@ -69,7 +74,7 @@ class ParameterizedTestCaseMetaClass(type): - new_class_dict = {} - - for attr_name, attr_value in list(class_dict.items()): --if isinstance(attr_value, collections.Callable) and hasattr(attr_value, 'param_names'): -+if isinstance(attr_value, Callable) and hasattr(attr_value, 'param_names'): - # print("Processing attr_name = %r; attr_value = %r" % ( - # attr_name, attr_value)) - -diff --git a/pint/testsuite/test_quantity.py b/pint/testsuite/test_quantity.py -index c7f41cb..89f8776 100644 a/pint/testsuite/test_quantity.py -+++ b/pint/testsuite/test_quantity.py -@@ -416,7 +416,8 @@ class TestQuantityToCompact(QuantityTestCase): - def test_nonnumeric_magnitudes(self): - ureg = self.ureg - x = "some string"*ureg.m --self.assertRaises(RuntimeError, self.compareQuantity_compact(x,x)) -+with self.assertWarns(RuntimeWarning): -+self.compareQuantity_compact(x,x) - - class TestQuantityBasicMath(QuantityTestCase): -
[arch-commits] Commit in python-pint/trunk (PKGBUILD python-3.8.patch)
Date: Monday, November 4, 2019 @ 17:12:09 Author: foutrelis Revision: 524106 Python 3.8 rebuild Added: python-pint/trunk/python-3.8.patch Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD | 14 +++--- python-3.8.patch | 50 ++ 2 files changed, 61 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-04 16:56:29 UTC (rev 524105) +++ PKGBUILD2019-11-04 17:12:09 UTC (rev 524106) @@ -3,7 +3,7 @@ pkgname=python-pint pkgver=0.9 -pkgrel=2 +pkgrel=3 pkgdesc="A unit library for Python" arch=('any') license=('BSD') @@ -11,9 +11,17 @@ depends=('python') makedepends=('python-setuptools') checkdepends=('python-numpy' 'python-uncertainties') -source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -sha512sums=('d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6') +source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz"; +python-3.8.patch) +sha512sums=('d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6' + '8a2a6d8c3c82471b18f262d65ac8194c3d49cd1751892210ea2d6a0e8d4502c97aae70135ae6ca9a92524598475bab0ef50cfa3b9594987e7c75a492722e') +prepare() { + cd Pint-$pkgver + # https://github.com/hgrecco/pint/pull/824 + patch -Np1 -i ../python-3.8.patch +} + check() { cd Pint-$pkgver python setup.py test Added: python-3.8.patch === --- python-3.8.patch(rev 0) +++ python-3.8.patch2019-11-04 17:12:09 UTC (rev 524106) @@ -0,0 +1,50 @@ +From fb7ace52712958a512470c909b3ccf448620a166 Mon Sep 17 00:00:00 2001 +From: xtreak +Date: Sat, 29 Jun 2019 04:58:59 + +Subject: [PATCH] Use context manager for assertWarns and fix + DeprecationWarning + +--- + pint/testsuite/parameterized.py | 7 ++- + pint/testsuite/test_quantity.py | 3 ++- + 2 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/pint/testsuite/parameterized.py b/pint/testsuite/parameterized.py +index 9b92037..7c45915 100644 +--- a/pint/testsuite/parameterized.py b/pint/testsuite/parameterized.py +@@ -32,6 +32,11 @@ from functools import wraps + import collections + import unittest + ++try: ++from collections.abc import Callable ++except ImportError: ++from collections import Callable ++ + def add_metaclass(metaclass): + """Class decorator for creating a class with a metaclass.""" + def wrapper(cls): +@@ -69,7 +74,7 @@ class ParameterizedTestCaseMetaClass(type): + new_class_dict = {} + + for attr_name, attr_value in list(class_dict.items()): +-if isinstance(attr_value, collections.Callable) and hasattr(attr_value, 'param_names'): ++if isinstance(attr_value, Callable) and hasattr(attr_value, 'param_names'): + # print("Processing attr_name = %r; attr_value = %r" % ( + # attr_name, attr_value)) + +diff --git a/pint/testsuite/test_quantity.py b/pint/testsuite/test_quantity.py +index c7f41cb..89f8776 100644 +--- a/pint/testsuite/test_quantity.py b/pint/testsuite/test_quantity.py +@@ -416,7 +416,8 @@ class TestQuantityToCompact(QuantityTestCase): + def test_nonnumeric_magnitudes(self): + ureg = self.ureg + x = "some string"*ureg.m +-self.assertRaises(RuntimeError, self.compareQuantity_compact(x,x)) ++with self.assertWarns(RuntimeWarning): ++self.compareQuantity_compact(x,x) + + class TestQuantityBasicMath(QuantityTestCase): +
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Tuesday, June 18, 2019 @ 20:30:49 Author: arojas Revision: 482213 https Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-06-18 20:30:31 UTC (rev 482212) +++ PKGBUILD2019-06-18 20:30:49 UTC (rev 482213) @@ -7,7 +7,7 @@ pkgdesc="A unit library for Python" arch=('any') license=('BSD') -url="http://pint.readthedocs.org"; +url="https://pint.readthedocs.org"; depends=('python') makedepends=('python-setuptools') checkdepends=('python-numpy' 'python-uncertainties')
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Wednesday, March 27, 2019 @ 08:31:01 Author: felixonmars Revision: 443998 upgpkg: python-pint 0.9-2 remove python2 sibling Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD | 35 +-- 1 file changed, 9 insertions(+), 26 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-27 08:30:53 UTC (rev 443997) +++ PKGBUILD2019-03-27 08:31:01 UTC (rev 443998) @@ -1,43 +1,26 @@ # Maintainer: Felix Yan # Contributor: Matthew Sloan matt...@sloan.cc -pkgbase=python-pint -pkgname=('python-pint' 'python2-pint') +pkgname=python-pint pkgver=0.9 -pkgrel=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') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-numpy' 'python-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"; + cd Pint-$pkgver + python setup.py test } -package_python-pint() { - depends=('python') - - cd "$srcdir"/Pint-$pkgver +package() { + cd 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 -}
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Tuesday, January 15, 2019 @ 11:43:48 Author: felixonmars Revision: 423317 upgpkg: python-pint 0.9-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-15 11:41:15 UTC (rev 423316) +++ PKGBUILD2019-01-15 11:43:48 UTC (rev 423317) @@ -3,8 +3,8 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') -pkgver=0.8.1 -pkgrel=2 +pkgver=0.9 +pkgrel=1 pkgdesc="A unit library for Python" arch=('any') license=('BSD') @@ -12,7 +12,7 @@ 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') +sha512sums=('d79e0ff6377393f9dd8ce6a938440e8ed3c947642716974a3d69461d75776a39677d6651e6c081076f31e67a7dbffeb2fded42e61c9975f814b5eb24ab626fb6') prepare() { cp -a Pint-$pkgver{,-py2}
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Friday, July 13, 2018 @ 07:27:05 Author: felixonmars Revision: 358421 upgpkg: python-pint 0.8.1-2 Python 3.7 rebuild Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-13 07:26:40 UTC (rev 358420) +++ PKGBUILD2018-07-13 07:27:05 UTC (rev 358421) @@ -5,7 +5,7 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') pkgver=0.8.1 -pkgrel=1 +pkgrel=2 pkgdesc="A unit library for Python" arch=('any') license=('BSD') @@ -21,10 +21,10 @@ check() { cd "$srcdir"/Pint-$pkgver - python setup.py test + python setup.py test || warning "https://github.com/hgrecco/pint/issues/577"; cd "$srcdir"/Pint-$pkgver-py2 - python2 setup.py test + python2 setup.py test || warning "https://github.com/hgrecco/pint/issues/577"; } package_python-pint() {
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Tuesday, June 6, 2017 @ 04:31:20 Author: felixonmars Revision: 234460 upgpkg: python-pint 0.8.1-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-06 04:28:11 UTC (rev 234459) +++ PKGBUILD2017-06-06 04:31:20 UTC (rev 234460) @@ -4,7 +4,7 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') -pkgver=0.8 +pkgver=0.8.1 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -13,7 +13,7 @@ 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=('b122d852965d7f7f349f15e65338d161150daf01b85ac09d7a2ae068f4cda85557e5223fc50eca208a3e064a3232c91e9ac6f7d38ed13505831ab87f18ff9b2e') +sha512sums=('e8c33c147e5a86da45d84823ab974070a44c2fa34ea48e81aa07ca6f70804c5a11b316b91c8471b4798ef3ac3ba5488b9c9c6a6ecea5c43f426348430f941cee') prepare() { cp -a Pint-$pkgver{,-py2}
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Sunday, April 16, 2017 @ 15:35:42 Author: felixonmars Revision: 223208 upgpkg: python-pint 0.8-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-04-16 15:34:01 UTC (rev 223207) +++ PKGBUILD2017-04-16 15:35:42 UTC (rev 223208) @@ -4,8 +4,8 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') -pkgver=0.7.2 -pkgrel=2 +pkgver=0.8 +pkgrel=1 pkgdesc="A unit library for Python" arch=('any') license=('BSD') @@ -12,8 +12,8 @@ url="http://pint.readthedocs.org"; makedepends=('python-setuptools' 'python2-setuptools') checkdepends=('python-numpy' 'python2-numpy' 'python-uncertainties' 'python2-uncertainties') -source=("https://pypi.python.org/packages/source/P/Pint/Pint-$pkgver.tar.gz";) -md5sums=('1e57f7631bb456cdca53e0bdecbc4456') +source=("https://pypi.io/packages/source/P/Pint/Pint-$pkgver.tar.gz";) +sha512sums=('b122d852965d7f7f349f15e65338d161150daf01b85ac09d7a2ae068f4cda85557e5223fc50eca208a3e064a3232c91e9ac6f7d38ed13505831ab87f18ff9b2e') prepare() { cp -a Pint-$pkgver{,-py2}
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Monday, December 26, 2016 @ 10:46:23 Author: felixonmars Revision: 202747 upgpkg: python-pint 0.7.2-2 python 3.6 rebuild Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-26 10:34:02 UTC (rev 202746) +++ PKGBUILD2016-12-26 10:46:23 UTC (rev 202747) @@ -5,7 +5,7 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') pkgver=0.7.2 -pkgrel=1 +pkgrel=2 pkgdesc="A unit library for Python" arch=('any') license=('BSD')
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Wednesday, March 2, 2016 @ 16:43:27 Author: fyan Revision: 164131 upgpkg: python-pint 0.7.2-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD | 24 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-02 15:40:50 UTC (rev 164130) +++ PKGBUILD2016-03-02 15:43:27 UTC (rev 164131) @@ -4,7 +4,7 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -11,9 +11,9 @@ license=('BSD') url="http://pint.readthedocs.org"; makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-numpy' 'python2-numpy') # 'python-uncertainties' 'python2-uncertainties' -source=("https://pypi.python.org/packages/source/P/Pint/Pint-${pkgver}.tar.gz";) -md5sums=('1aa8d5188c6216cf42f0c7b7ea75ed07') +checkdepends=('python-numpy' 'python2-numpy' 'python-uncertainties' 'python2-uncertainties') +source=("https://pypi.python.org/packages/source/P/Pint/Pint-$pkgver.tar.gz";) +md5sums=('1e57f7631bb456cdca53e0bdecbc4456') prepare() { cp -a Pint-$pkgver{,-py2} @@ -20,10 +20,10 @@ } check() { - cd "$srcdir/Pint-${pkgver}" + cd "$srcdir"/Pint-$pkgver python setup.py test - cd "$srcdir/Pint-${pkgver}-py2" + cd "$srcdir"/Pint-$pkgver-py2 python2 setup.py test } @@ -30,15 +30,15 @@ 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" + 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" + cd "$srcdir"/Pint-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Wednesday, February 24, 2016 @ 10:27:06 Author: fyan Revision: 163266 upgpkg: python-pint 0.7.1-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-24 09:26:59 UTC (rev 163265) +++ PKGBUILD2016-02-24 09:27:06 UTC (rev 163266) @@ -4,7 +4,7 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') -pkgver=0.7 +pkgver=0.7.1 pkgrel=1 pkgdesc="A unit library for Python" arch=('any') @@ -13,7 +13,7 @@ makedepends=('python-setuptools' 'python2-setuptools') checkdepends=('python-numpy' 'python2-numpy') # 'python-uncertainties' 'python2-uncertainties' source=("https://pypi.python.org/packages/source/P/Pint/Pint-${pkgver}.tar.gz";) -md5sums=('9c74308e0bbdb23156e3c5a5fad6dbc2') +md5sums=('1aa8d5188c6216cf42f0c7b7ea75ed07') prepare() { cp -a Pint-$pkgver{,-py2}
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Sunday, February 21, 2016 @ 16:16:56 Author: fyan Revision: 163026 upgpkg: python-pint 0.7-1 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-21 15:13:59 UTC (rev 163025) +++ PKGBUILD2016-02-21 15:16:56 UTC (rev 163026) @@ -4,8 +4,8 @@ pkgbase=python-pint pkgname=('python-pint' 'python2-pint') -pkgver=0.6 -pkgrel=2 +pkgver=0.7 +pkgrel=1 pkgdesc="A unit library for Python" arch=('any') license=('BSD') @@ -12,8 +12,8 @@ url="http://pint.readthedocs.org"; makedepends=('python-setuptools' 'python2-setuptools') checkdepends=('python-numpy' 'python2-numpy') # 'python-uncertainties' 'python2-uncertainties' -source=("https://pypi.python.org/packages/source/P/Pint/Pint-${pkgver}.zip";) -md5sums=('88aa0918019071546b10c5fbdc91ae5e') +source=("https://pypi.python.org/packages/source/P/Pint/Pint-${pkgver}.tar.gz";) +md5sums=('9c74308e0bbdb23156e3c5a5fad6dbc2') prepare() { cp -a Pint-$pkgver{,-py2}
[arch-commits] Commit in python-pint/trunk (PKGBUILD)
Date: Saturday, September 19, 2015 @ 15:03:09 Author: fyan Revision: 140796 upgpkg: python-pint 0.6-2 rebuild for python 3.5 Modified: python-pint/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-09-19 13:00:20 UTC (rev 140795) +++ PKGBUILD2015-09-19 13:03:09 UTC (rev 140796) @@ -1,11 +1,11 @@ # $Id$ -# Maintainer: Felix Yan +# Maintainer: Felix Yan # Contributor: Matthew Sloan matt...@sloan.cc pkgbase=python-pint pkgname=('python-pint' 'python2-pint') pkgver=0.6 -pkgrel=1 +pkgrel=2 pkgdesc="A unit library for Python" arch=('any') license=('BSD')