[arch-commits] Commit in python-intervals/repos/community-any (4 files)

Jelle van der Waa jelle at gemini.archlinux.org
Mon Aug 2 17:46:48 UTC 2021


    Date: Monday, August 2, 2021 @ 17:46:48
  Author: jelle
Revision: 992846

archrelease: copy trunk to community-any

Added:
  python-intervals/repos/community-any/PKGBUILD
    (from rev 992845, python-intervals/trunk/PKGBUILD)
  python-intervals/repos/community-any/pytest5.patch
    (from rev 992845, python-intervals/trunk/pytest5.patch)
Deleted:
  python-intervals/repos/community-any/PKGBUILD
  python-intervals/repos/community-any/pytest5.patch

---------------+
 PKGBUILD      |   76 ++++++++++++++++++++++++++++----------------------------
 pytest5.patch |   42 +++++++++++++++---------------
 2 files changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-02 17:46:43 UTC (rev 992845)
+++ PKGBUILD	2021-08-02 17:46:48 UTC (rev 992846)
@@ -1,38 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Husam Bilal <husam212 AT gmail DOT com>
-
-_name=intervals
-pkgname="python-${_name}"
-pkgver=0.9.1
-pkgrel=1
-pkgdesc='Python tools for handling intervals (ranges of comparable objects).'
-url='https://github.com/kvesteri/intervals'
-depends=('python' 'python-infinity')
-checkdepends=('python-pytest')
-makedepends=('python' 'python-setuptools')
-license=('BSD')
-arch=('any')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
-        'pytest5.patch')
-sha512sums=('8b7030ac37a0e59c00c9bd43bc043dcbdf9bd92d82b701c1ec05089bde93bf1e1c89c59e1ede2abb0c3889b1d7b8fb9aa3b5d331a79d7794337371448d16762e'
-            'af545bec7d8157259197e045396d69ac1791b5e0420056fca69bea444cceacaa208ae568fd80792f614e1c775611ea22c48521bdd47dbdd976a699c150835f96')
-
-prepare() {
-  cd "${srcdir}/${_name}-${pkgver}"
-  patch -Np1 -i ../pytest5.patch
-}
-build() {
-  cd "${srcdir}/${_name}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${srcdir}/${_name}-${pkgver}"
-  py.test
-}
-
-package() {
-  cd "${srcdir}/${_name}-${pkgver}"
-  python setup.py install --root="${pkgdir}/" --optimize=1
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-intervals/repos/community-any/PKGBUILD (from rev 992845, python-intervals/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-02 17:46:48 UTC (rev 992846)
@@ -0,0 +1,38 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Husam Bilal <husam212 AT gmail DOT com>
+
+_name=intervals
+pkgname="python-${_name}"
+pkgver=0.9.2
+pkgrel=1
+pkgdesc='Python tools for handling intervals (ranges of comparable objects).'
+url='https://github.com/kvesteri/intervals'
+depends=('python' 'python-infinity')
+checkdepends=('python-pytest')
+makedepends=('python' 'python-setuptools')
+license=('BSD')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+        'pytest5.patch')
+sha512sums=('40da5f7630bc84dbd47196e7e84f94701730b4f2ee71294edfaecfc9187f5c05333fc79502c315d5962c29c9c2a50c8e471980c98764d7c0581d33383a487e4a'
+            'af545bec7d8157259197e045396d69ac1791b5e0420056fca69bea444cceacaa208ae568fd80792f614e1c775611ea22c48521bdd47dbdd976a699c150835f96')
+
+prepare() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  patch -Np1 -i ../pytest5.patch
+}
+build() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  py.test
+}
+
+package() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  python setup.py install --root="${pkgdir}/" --optimize=1
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: pytest5.patch
===================================================================
--- pytest5.patch	2021-08-02 17:46:43 UTC (rev 992845)
+++ pytest5.patch	2021-08-02 17:46:48 UTC (rev 992846)
@@ -1,21 +0,0 @@
-diff -upr intervals-0.8.1.orig/tests/interval/test_initialization.py intervals-0.8.1/tests/interval/test_initialization.py
---- intervals-0.8.1.orig/tests/interval/test_initialization.py	2016-07-10 21:14:03.000000000 +0300
-+++ intervals-0.8.1/tests/interval/test_initialization.py	2019-11-01 17:26:19.862962549 +0200
-@@ -23,7 +23,7 @@ class TestIntervalInit(object):
-             'First argument should be a list or tuple. If you wish to '
-             'initialize an interval from string, use from_string factory '
-             'method.'
--        ) in str(e)
-+        ) in str(e.value)
- 
-     def test_invalid_argument(self):
-         with raises(IllegalArgument) as e:
-@@ -31,7 +31,7 @@ class TestIntervalInit(object):
-         assert (
-             'The bounds may be equal only if at least one of the bounds is '
-             'closed.'
--        ) in str(e)
-+        ) in str(e.value)
- 
-     def test_floats(self):
-         interval = FloatInterval((0.2, 0.5))

Copied: python-intervals/repos/community-any/pytest5.patch (from rev 992845, python-intervals/trunk/pytest5.patch)
===================================================================
--- pytest5.patch	                        (rev 0)
+++ pytest5.patch	2021-08-02 17:46:48 UTC (rev 992846)
@@ -0,0 +1,21 @@
+diff -upr intervals-0.8.1.orig/tests/interval/test_initialization.py intervals-0.8.1/tests/interval/test_initialization.py
+--- intervals-0.8.1.orig/tests/interval/test_initialization.py	2016-07-10 21:14:03.000000000 +0300
++++ intervals-0.8.1/tests/interval/test_initialization.py	2019-11-01 17:26:19.862962549 +0200
+@@ -23,7 +23,7 @@ class TestIntervalInit(object):
+             'First argument should be a list or tuple. If you wish to '
+             'initialize an interval from string, use from_string factory '
+             'method.'
+-        ) in str(e)
++        ) in str(e.value)
+ 
+     def test_invalid_argument(self):
+         with raises(IllegalArgument) as e:
+@@ -31,7 +31,7 @@ class TestIntervalInit(object):
+         assert (
+             'The bounds may be equal only if at least one of the bounds is '
+             'closed.'
+-        ) in str(e)
++        ) in str(e.value)
+ 
+     def test_floats(self):
+         interval = FloatInterval((0.2, 0.5))



More information about the arch-commits mailing list