Date: Tuesday, October 25, 2022 @ 08:44:30
  Author: alerque
Revision: 1334706

archrelease: copy trunk to community-any

Added:
  python-cachy/repos/community-any/PKGBUILD
    (from rev 1334705, python-cachy/trunk/PKGBUILD)
  python-cachy/repos/community-any/fix-flexmock_teardown-import.patch
    (from rev 1334705, python-cachy/trunk/fix-flexmock_teardown-import.patch)
Deleted:
  python-cachy/repos/community-any/PKGBUILD
  python-cachy/repos/community-any/fix-flexmock_teardown-import.patch

------------------------------------+
 PKGBUILD                           |   95 ++++++++++-----------
 fix-flexmock_teardown-import.patch |  156 +++++++++++++++++------------------
 2 files changed, 126 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-25 08:44:20 UTC (rev 1334705)
+++ PKGBUILD    2022-10-25 08:44:30 UTC (rev 1334706)
@@ -1,47 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_pkgname=cachy
-pkgname=python-cachy
-pkgver=0.3.0
-pkgrel=7
-pkgdesc='simple yet effective caching library'
-arch=(any)
-url="https://github.com/sdispater/${_pkgname}";
-license=(MIT)
-depends=(python)
-makedepends=(python-{build,installer}
-             python-wheel # todo: make this go away
-             python-poetry)
-_checkdeps=(flexmock pytest-mock memcached fakeredis)
-checkdepends=("${_checkdeps[@]/#/python-}" pifpaf memcached)
-_archive="$_pkgname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_archive.tar.gz";
-        fix-flexmock_teardown-import.patch)
-sha256sums=('186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1'
-            'f00e7f140e30dac30953fe56132d4bcd9d782e534e300619f68309f4eb6385a9')
-b2sums=('df2d1356a309707af5aea9aa0e534130f21815da58988a5623feb3fff3d97de655c3977a80dcf8eaefe47d9d14d8e6e6a4bab0f8afd8d42668ed061172c0a1c7'
-        
'794944aecd2d395ec1e35cce8d7dd7b78080e7693768a3594f2dd2607fab951a4ac3bea7bb2e80a5dd399af65a6215ff0309a1df59861559b8975130b1ec00a8')
-
-prepare() {
-       cd "$_archive"
-       patch -Np1 -i ../fix-flexmock_teardown-import.patch
-}
-
-build(){
-       cd "$_archive"
-       python -m build -wn
-}
-
-check() {
-       cd "$_archive"
-       pifpaf run memcached --port 11211 -- pytest
-}
-
-package() {
-       cd "$_archive"
-       python -m installer -d "${pkgdir}" dist/*.whl
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-       local _py3_ver=$(python --version | cut -d " " -f2)
-       rm -rf "$pkgdir/usr/lib/python${_py3_ver%.*}/site-packages/tests"
-}

Copied: python-cachy/repos/community-any/PKGBUILD (from rev 1334705, 
python-cachy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-25 08:44:30 UTC (rev 1334706)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=cachy
+pkgname=python-cachy
+pkgver=0.3.0
+pkgrel=8
+pkgdesc='simple yet effective caching library'
+arch=(any)
+url="https://github.com/sdispater/${_pkgname}";
+license=(MIT)
+depends=(python)
+makedepends=(python-{build,installer,wheel}
+             python-poetry-core)
+_checkdeps=(flexmock pytest-mock memcached fakeredis)
+checkdepends=("${_checkdeps[@]/#/python-}"
+              pifpaf
+              memcached)
+_archive="$_pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_archive.tar.gz";
+        fix-flexmock_teardown-import.patch)
+sha256sums=('186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1'
+            'f00e7f140e30dac30953fe56132d4bcd9d782e534e300619f68309f4eb6385a9')
+b2sums=('df2d1356a309707af5aea9aa0e534130f21815da58988a5623feb3fff3d97de655c3977a80dcf8eaefe47d9d14d8e6e6a4bab0f8afd8d42668ed061172c0a1c7'
+        
'794944aecd2d395ec1e35cce8d7dd7b78080e7693768a3594f2dd2607fab951a4ac3bea7bb2e80a5dd399af65a6215ff0309a1df59861559b8975130b1ec00a8')
+
+prepare() {
+       cd "$_archive"
+       patch -Np1 -i ../fix-flexmock_teardown-import.patch
+}
+
+build(){
+       cd "$_archive"
+       python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       pifpaf run memcached --port 11211 -- pytest
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "${pkgdir}" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+       local _py3_ver=$(python --version | cut -d " " -f2)
+       rm -rf "$pkgdir/usr/lib/python${_py3_ver%.*}/site-packages/tests"
+}

Deleted: fix-flexmock_teardown-import.patch
===================================================================
--- fix-flexmock_teardown-import.patch  2022-10-25 08:44:20 UTC (rev 1334705)
+++ fix-flexmock_teardown-import.patch  2022-10-25 08:44:30 UTC (rev 1334706)
@@ -1,78 +0,0 @@
-diff -upr cachy-0.3.0.orig/tests/stores/test_dict_store.py 
cachy-0.3.0/tests/stores/test_dict_store.py
---- cachy-0.3.0.orig/tests/stores/test_dict_store.py   2019-08-06 
22:18:57.993954200 +0300
-+++ cachy-0.3.0/tests/stores/test_dict_store.py        2021-12-02 
23:24:31.936148644 +0200
-@@ -1,7 +1,8 @@
- # -*- coding: utf-8 -*-
- 
- from unittest import TestCase
--from flexmock import flexmock, flexmock_teardown
-+from flexmock import flexmock
-+from flexmock._api import flexmock_teardown
- 
- from cachy.stores import DictStore
- 
-diff -upr cachy-0.3.0.orig/tests/stores/test_file_store.py 
cachy-0.3.0/tests/stores/test_file_store.py
---- cachy-0.3.0.orig/tests/stores/test_file_store.py   2019-08-06 
22:18:57.994094000 +0300
-+++ cachy-0.3.0/tests/stores/test_file_store.py        2021-12-02 
23:24:32.446162662 +0200
-@@ -7,7 +7,8 @@ import hashlib
- import shutil
- 
- from unittest import TestCase
--from flexmock import flexmock, flexmock_teardown
-+from flexmock import flexmock
-+from flexmock._api import flexmock_teardown
- 
- from cachy.serializers import JsonSerializer
- from cachy.stores import FileStore
-diff -upr cachy-0.3.0.orig/tests/stores/test_redis_store.py 
cachy-0.3.0/tests/stores/test_redis_store.py
---- cachy-0.3.0.orig/tests/stores/test_redis_store.py  2019-08-06 
22:57:58.550268400 +0300
-+++ cachy-0.3.0/tests/stores/test_redis_store.py       2021-12-02 
23:24:32.446162662 +0200
-@@ -4,7 +4,8 @@ import math
- 
- import redis
- from unittest import TestCase
--from flexmock import flexmock, flexmock_teardown
-+from flexmock import flexmock
-+from flexmock._api import flexmock_teardown
- from fakeredis import FakeServer
- from fakeredis import FakeStrictRedis
- from cachy.stores import RedisStore
-diff -upr cachy-0.3.0.orig/tests/test_cache_manager.py 
cachy-0.3.0/tests/test_cache_manager.py
---- cachy-0.3.0.orig/tests/test_cache_manager.py       2019-08-06 
22:18:57.994549300 +0300
-+++ cachy-0.3.0/tests/test_cache_manager.py    2021-12-02 23:24:32.446162662 
+0200
-@@ -3,7 +3,8 @@
- import os
- import tempfile
- from unittest import TestCase
--from flexmock import flexmock, flexmock_teardown
-+from flexmock import flexmock
-+from flexmock._api import flexmock_teardown
- 
- from cachy import CacheManager, Repository
- from cachy.stores import DictStore, FileStore
-diff -upr cachy-0.3.0.orig/tests/test_repository.py 
cachy-0.3.0/tests/test_repository.py
---- cachy-0.3.0.orig/tests/test_repository.py  2019-08-06 22:18:57.994738000 
+0300
-+++ cachy-0.3.0/tests/test_repository.py       2021-12-02 23:24:32.446162662 
+0200
-@@ -2,7 +2,8 @@
- 
- import datetime
- from unittest import TestCase
--from flexmock import flexmock, flexmock_teardown
-+from flexmock import flexmock
-+from flexmock._api import flexmock_teardown
- 
- from cachy import Repository
- from cachy.contracts.store import Store
-diff -upr cachy-0.3.0.orig/tests/test_tagged_cache.py 
cachy-0.3.0/tests/test_tagged_cache.py
---- cachy-0.3.0.orig/tests/test_tagged_cache.py        2019-08-06 
22:18:57.994858300 +0300
-+++ cachy-0.3.0/tests/test_tagged_cache.py     2021-12-02 23:24:32.446162662 
+0200
-@@ -7,7 +7,8 @@ from cachy.stores import DictStore, Redi
- from cachy.tag_set import TagSet
- from cachy.redis_tagged_cache import RedisTaggedCache
- from datetime import datetime, timedelta
--from flexmock import flexmock, flexmock_teardown
-+from flexmock import flexmock
-+from flexmock._api import flexmock_teardown
- 
- 
- class TaggedCacheTestCase(TestCase):

Copied: python-cachy/repos/community-any/fix-flexmock_teardown-import.patch 
(from rev 1334705, python-cachy/trunk/fix-flexmock_teardown-import.patch)
===================================================================
--- fix-flexmock_teardown-import.patch                          (rev 0)
+++ fix-flexmock_teardown-import.patch  2022-10-25 08:44:30 UTC (rev 1334706)
@@ -0,0 +1,78 @@
+diff -upr cachy-0.3.0.orig/tests/stores/test_dict_store.py 
cachy-0.3.0/tests/stores/test_dict_store.py
+--- cachy-0.3.0.orig/tests/stores/test_dict_store.py   2019-08-06 
22:18:57.993954200 +0300
++++ cachy-0.3.0/tests/stores/test_dict_store.py        2021-12-02 
23:24:31.936148644 +0200
+@@ -1,7 +1,8 @@
+ # -*- coding: utf-8 -*-
+ 
+ from unittest import TestCase
+-from flexmock import flexmock, flexmock_teardown
++from flexmock import flexmock
++from flexmock._api import flexmock_teardown
+ 
+ from cachy.stores import DictStore
+ 
+diff -upr cachy-0.3.0.orig/tests/stores/test_file_store.py 
cachy-0.3.0/tests/stores/test_file_store.py
+--- cachy-0.3.0.orig/tests/stores/test_file_store.py   2019-08-06 
22:18:57.994094000 +0300
++++ cachy-0.3.0/tests/stores/test_file_store.py        2021-12-02 
23:24:32.446162662 +0200
+@@ -7,7 +7,8 @@ import hashlib
+ import shutil
+ 
+ from unittest import TestCase
+-from flexmock import flexmock, flexmock_teardown
++from flexmock import flexmock
++from flexmock._api import flexmock_teardown
+ 
+ from cachy.serializers import JsonSerializer
+ from cachy.stores import FileStore
+diff -upr cachy-0.3.0.orig/tests/stores/test_redis_store.py 
cachy-0.3.0/tests/stores/test_redis_store.py
+--- cachy-0.3.0.orig/tests/stores/test_redis_store.py  2019-08-06 
22:57:58.550268400 +0300
++++ cachy-0.3.0/tests/stores/test_redis_store.py       2021-12-02 
23:24:32.446162662 +0200
+@@ -4,7 +4,8 @@ import math
+ 
+ import redis
+ from unittest import TestCase
+-from flexmock import flexmock, flexmock_teardown
++from flexmock import flexmock
++from flexmock._api import flexmock_teardown
+ from fakeredis import FakeServer
+ from fakeredis import FakeStrictRedis
+ from cachy.stores import RedisStore
+diff -upr cachy-0.3.0.orig/tests/test_cache_manager.py 
cachy-0.3.0/tests/test_cache_manager.py
+--- cachy-0.3.0.orig/tests/test_cache_manager.py       2019-08-06 
22:18:57.994549300 +0300
++++ cachy-0.3.0/tests/test_cache_manager.py    2021-12-02 23:24:32.446162662 
+0200
+@@ -3,7 +3,8 @@
+ import os
+ import tempfile
+ from unittest import TestCase
+-from flexmock import flexmock, flexmock_teardown
++from flexmock import flexmock
++from flexmock._api import flexmock_teardown
+ 
+ from cachy import CacheManager, Repository
+ from cachy.stores import DictStore, FileStore
+diff -upr cachy-0.3.0.orig/tests/test_repository.py 
cachy-0.3.0/tests/test_repository.py
+--- cachy-0.3.0.orig/tests/test_repository.py  2019-08-06 22:18:57.994738000 
+0300
++++ cachy-0.3.0/tests/test_repository.py       2021-12-02 23:24:32.446162662 
+0200
+@@ -2,7 +2,8 @@
+ 
+ import datetime
+ from unittest import TestCase
+-from flexmock import flexmock, flexmock_teardown
++from flexmock import flexmock
++from flexmock._api import flexmock_teardown
+ 
+ from cachy import Repository
+ from cachy.contracts.store import Store
+diff -upr cachy-0.3.0.orig/tests/test_tagged_cache.py 
cachy-0.3.0/tests/test_tagged_cache.py
+--- cachy-0.3.0.orig/tests/test_tagged_cache.py        2019-08-06 
22:18:57.994858300 +0300
++++ cachy-0.3.0/tests/test_tagged_cache.py     2021-12-02 23:24:32.446162662 
+0200
+@@ -7,7 +7,8 @@ from cachy.stores import DictStore, Redi
+ from cachy.tag_set import TagSet
+ from cachy.redis_tagged_cache import RedisTaggedCache
+ from datetime import datetime, timedelta
+-from flexmock import flexmock, flexmock_teardown
++from flexmock import flexmock
++from flexmock._api import flexmock_teardown
+ 
+ 
+ class TaggedCacheTestCase(TestCase):

Reply via email to