Jaroslav Lichtblau pushed to branch main at Arch Linux / Packaging / Packages / 
python-daemon


Commits:
b61a7174 by Jaroslav Lichtblau at 2023-08-06T14:05:48+02:00
upgpkg: 2.3.2-1 - upstream release

- - - - -


3 changed files:

- PKGBUILD
- − python310.patch
- − testtools-2.5.0.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
 # Contributor: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
 
 pkgname=python-daemon
-pkgver=2.3.0
-pkgrel=5
+pkgver=2.3.2
+pkgrel=1
 pkgdesc='Library to implement a well-behaved Unix daemon process'
 arch=('any')
 url='https://pypi.python.org/pypi/python-daemon'
@@ -12,20 +12,12 @@ license=('Apache')
 depends=('python' 'python-lockfile' 'python-setuptools')
 makedepends=('python-build' 'python-docutils' 'python-installer' 
'python-wheel')
 checkdepends=('python-testscenarios' 'python-testtools')
-source=(https://files.pythonhosted.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz
-        testtools-2.5.0.patch
-        python310.patch)
-sha256sums=('bda993f1623b1197699716d68d983bb580043cf2b8a66a01274d9b8297b0aeaf'
-            '7f8dfbe9e01edcb19ebede5580d448a995b721ee3b56ca1d353f58c36416c980'
-            '1777e34936ed5d45001e9994f563fdf8c9e2045b667223f1eebf896031627ddc')
-b2sums=('6e7fa082a513827283f46044347dfd445633db0d1781a33aa1bc5b14c340da784310ae6bd07d6cf3673cd05cb14a9d090ab51857d26cca52d09bc8c3b195360f'
-        
'f794167aca806f608846e610b12a310f3e5a3ad9b426ab0b9069c92a552ea8817404f6ebfd6878257df6d346432c377471b377794948c3e341b40c296ab9dacb'
-        
'ffdf203815713a346ed0e35048aa8da886966625e1698b5362447e4733e68034efb078c150d698c7a253931aec930162f722e96ccaaa3fa84b2be0a8fee82341')
+source=(https://files.pythonhosted.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('3deeb808e72b6b89f98611889e11cc33754f5b2c1517ecfa1aaf25f402051fb5')
+b2sums=('bce00867850e8451bcaf5a51864bdd751fa3b5e7be8ae1d36d724a915680713fc66c0fc6c8499bce03e0eb86465f5806fb8645376e600b8eac579fee3c24a087')
 
 prepare() {
   cd $pkgname-$pkgver
-  patch -Np1 -i ../testtools-2.5.0.patch
-  patch -Np1 -i ../python310.patch
 
   # NOTE: twine is *not* required for building this package
   sed -e '/twine/d' -i setup.py


=====================================
python310.patch deleted
=====================================
@@ -1,31 +0,0 @@
-From 0c67a3c6407fbf4483ccfc94a7a0d78cf3379296 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <m...@hroncok.cz>
-Date: Wed, 29 Sep 2021 19:59:30 +1000
-Subject: [PATCH] Remove incorrect double-patch of objects in test cases.
-
-The specific test cases relying on the patches, already are decorated
-to patch the specific attributes needed. We don't need a general patch
-of the attributes in the test case setup.
-
-Signed-off-by: Ben Finney <ben+pyt...@benfinney.id.au>
----
- test/test_pidfile.py | 6 ------
- 1 file changed, 6 deletions(-)
-
-diff --git a/test/test_pidfile.py b/test/test_pidfile.py
-index 2448855..1d0dd93 100644
---- a/test/test_pidfile.py
-+++ b/test/test_pidfile.py
-@@ -367,12 +367,6 @@ class TimeoutPIDLockFile_TestCase(scaffold.TestCase):
-         pidlockfile_scenarios = make_pidlockfile_scenarios()
-         self.pidlockfile_scenario = pidlockfile_scenarios['simple']
- 
--        for func_name in ['__init__', 'acquire']:
--            func_patcher = unittest.mock.patch.object(
--                    lockfile.pidlockfile.PIDLockFile, func_name)
--            func_patcher.start()
--            self.addCleanup(func_patcher.stop)
--
-         self.scenario = {
-                 'pidfile_path': self.pidlockfile_scenario['pidfile_path'],
-                 'acquire_timeout': self.getUniqueInteger(),


=====================================
testtools-2.5.0.patch deleted
=====================================
@@ -1,22 +0,0 @@
-From bacc1774e8ff7504092a0612197c36153731cd70 Mon Sep 17 00:00:00 2001
-From: Ben Finney <ben+pyt...@benfinney.id.au>
-Date: Mon, 27 Sep 2021 21:17:57 +1000
-Subject: [PATCH] Drop a helper for obsolete bugs in `hasattr`.
-
----
- test/test_metadata.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/test_metadata.py b/test/test_metadata.py
-index 3bb1e3a..77e6464 100644
---- a/test/test_metadata.py
-+++ b/test/test_metadata.py
-@@ -39,7 +39,7 @@ class HasAttribute(testtools.matchers.Matcher):
-     def match(self, instance):
-         """ Assert the object `instance` has an attribute named `name`. """
-         result = None
--        if not testtools.helpers.safe_hasattr(instance, self.attribute_name):
-+        if not hasattr(instance, self.attribute_name):
-             result = AttributeNotFoundMismatch(instance, self.attribute_name)
-         return result
- 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-daemon/-/commit/b61a7174ebe2d14d4a3770608ad7ab66f63c9cc2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-daemon/-/commit/b61a7174ebe2d14d4a3770608ad7ab66f63c9cc2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to