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

Felix Yan felixonmars at archlinux.org
Thu Apr 16 08:44:09 UTC 2020


    Date: Thursday, April 16, 2020 @ 08:44:09
  Author: felixonmars
Revision: 615281

archrelease: copy trunk to community-any

Added:
  python-parameterized/repos/community-any/PKGBUILD
    (from rev 615280, python-parameterized/trunk/PKGBUILD)
  python-parameterized/repos/community-any/skip_Documentation_tests.patch
    (from rev 615280, python-parameterized/trunk/skip_Documentation_tests.patch)
Deleted:
  python-parameterized/repos/community-any/PKGBUILD
  python-parameterized/repos/community-any/skip_Documentation_tests.patch

--------------------------------+
 PKGBUILD                       |   78 +++++++++++++++++++--------------------
 skip_Documentation_tests.patch |   40 ++++++++++----------
 2 files changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-16 08:43:59 UTC (rev 615280)
+++ PKGBUILD	2020-04-16 08:44:09 UTC (rev 615281)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-parameterized
-pkgver=0.7.1
-pkgrel=1
-pkgdesc="Parameterized testing with any Python test framework"
-url="https://github.com/wolever/parameterized"
-license=('BSD')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-mock')
-source=("https://pypi.io/packages/source/p/parameterized/parameterized-$pkgver.tar.gz"
-        skip_Documentation_tests.patch)
-sha512sums=('331752b6bf27f88921d39567a58900c0e78f1740056d93755fc7e4528a032207f81e4938302c27cdfd82fe2ad455c01100d91da5f222a11e4bcf0210de68d9c2'
-            '70a2408e954c8d19dc80b8de472f0d83d8ae44a7360f72855236ce2c239dde417c9e1bad2ad09855c1538e99e228a4cc1a2e81c6d2edf9fa1718f7cb400f2d54')
-
-prepare() {
-  cd parameterized-$pkgver
-  # https://github.com/wolever/parameterized/issues/84
-  patch -p1 -i ../skip_Documentation_tests.patch
-}
-
-build() {
-  cd parameterized-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd parameterized-$pkgver
-  python setup.py nosetests
-}
-
-package() {
-  cd parameterized-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-parameterized/repos/community-any/PKGBUILD (from rev 615280, python-parameterized/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-16 08:44:09 UTC (rev 615281)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-parameterized
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="Parameterized testing with any Python test framework"
+url="https://github.com/wolever/parameterized"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock')
+source=("https://pypi.io/packages/source/p/parameterized/parameterized-$pkgver.tar.gz"
+        skip_Documentation_tests.patch)
+sha512sums=('861b85365902fd6fe6a4744828bbd7b0afad760e660f2e7b3fc3bf21c876b0eeb2bdc00b74854b4852776df4f12bda9d4dc715a8a73bf603cf1d61bfd42eb1a2'
+            '70a2408e954c8d19dc80b8de472f0d83d8ae44a7360f72855236ce2c239dde417c9e1bad2ad09855c1538e99e228a4cc1a2e81c6d2edf9fa1718f7cb400f2d54')
+
+prepare() {
+  cd parameterized-$pkgver
+  # https://github.com/wolever/parameterized/issues/84
+  patch -p1 -i ../skip_Documentation_tests.patch
+}
+
+build() {
+  cd parameterized-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd parameterized-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd parameterized-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}

Deleted: skip_Documentation_tests.patch
===================================================================
--- skip_Documentation_tests.patch	2020-04-16 08:43:59 UTC (rev 615280)
+++ skip_Documentation_tests.patch	2020-04-16 08:44:09 UTC (rev 615281)
@@ -1,20 +0,0 @@
---- a/parameterized/test.py
-+++ b/parameterized/test.py
-@@ -2,7 +2,8 @@
- 
- import inspect
- import mock
--from unittest import TestCase
-+import sys
-+from unittest import TestCase, skipIf
- from nose.tools import assert_equal, assert_raises
- 
- from .parameterized import (
-@@ -241,6 +242,7 @@ class TestParamerizedOnTestCase(TestCase
-         missing_tests.remove("%s(%r, bar=%r)" %(expected_name, foo, bar))
- 
- 
-+ at skipIf(sys.version_info[:2] >= (3, 8), "Doesn't work with Python 3.8")
- class TestParameterizedExpandDocstring(TestCase):
-     def _assert_docstring(self, expected_docstring, rstrip=False):
-         """ Checks the current test method's docstring. Must be called directly

Copied: python-parameterized/repos/community-any/skip_Documentation_tests.patch (from rev 615280, python-parameterized/trunk/skip_Documentation_tests.patch)
===================================================================
--- skip_Documentation_tests.patch	                        (rev 0)
+++ skip_Documentation_tests.patch	2020-04-16 08:44:09 UTC (rev 615281)
@@ -0,0 +1,20 @@
+--- a/parameterized/test.py
++++ b/parameterized/test.py
+@@ -2,7 +2,8 @@
+ 
+ import inspect
+ import mock
+-from unittest import TestCase
++import sys
++from unittest import TestCase, skipIf
+ from nose.tools import assert_equal, assert_raises
+ 
+ from .parameterized import (
+@@ -241,6 +242,7 @@ class TestParamerizedOnTestCase(TestCase
+         missing_tests.remove("%s(%r, bar=%r)" %(expected_name, foo, bar))
+ 
+ 
++ at skipIf(sys.version_info[:2] >= (3, 8), "Doesn't work with Python 3.8")
+ class TestParameterizedExpandDocstring(TestCase):
+     def _assert_docstring(self, expected_docstring, rstrip=False):
+         """ Checks the current test method's docstring. Must be called directly



More information about the arch-commits mailing list