Date: Thursday, April 13, 2023 @ 05:42:54
Author: felixonmars
Revision: 1445481
archrelease: copy trunk to community-staging-any
Added:
python-mocket/repos/community-staging-any/PKGBUILD
(from rev 1445480, python-mocket/trunk/PKGBUILD)
Deleted:
python-mocket/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-13 05:41:06 UTC (rev 1445480)
+++ PKGBUILD 2023-04-13 05:42:54 UTC (rev 1445481)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-mocket
-pkgver=3.10.9
-pkgrel=2
-pkgdesc="Socket Mock Framework - for all kinds of socket animals, web-clients
included - with gevent/asyncio/SSL support"
-url="https://github.com/mindflayer/python-mocket"
-license=('BSD')
-arch=('any')
-depends=('python-decorator' 'python-http-parser' 'python-magic'
'python-urllib3')
-makedepends=('python-pipenv-to-requirements' 'python-setuptools')
-checkdepends=('pifpaf' 'python-pytest' 'python-pytest-asyncio'
'python-aiohttp' 'python-fastapi'
- 'python-gevent' 'python-httpx' 'python-pook' 'python-redis'
- 'python-requests' 'python-sure' 'python-xxhash' 'redis')
-source=("https://github.com/mindflayer/python-mocket/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('713ac111a88f0e629949baac098a9a80fca0ccb7f797d27a332b3634219c4a230e593d1c1a9a8d07a206f12662ad1d6cdbb1c0f33b69d828376147d9bbac2d48')
-
-prepare() {
- cd python-mocket-$pkgver
- sed -i 's/--cov=mocket --cov-report=term-missing//' pytest.ini
- pipenv_to_requirements
-}
-
-build() {
- cd python-mocket-$pkgver
- python setup.py build
-}
-
-check() {
- cd python-mocket-$pkgver
- pifpaf run redis pytest
-}
-
-package() {
- cd python-mocket-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-mocket/repos/community-staging-any/PKGBUILD (from rev 1445480,
python-mocket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-13 05:42:54 UTC (rev 1445481)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-mocket
+pkgver=3.11.0
+pkgrel=1
+pkgdesc="Socket Mock Framework - for all kinds of socket animals, web-clients
included - with gevent/asyncio/SSL support"
+url="https://github.com/mindflayer/python-mocket"
+license=('BSD')
+arch=('any')
+depends=('python-decorator' 'python-httptools' 'python-magic' 'python-urllib3')
+makedepends=('python-pipenv-to-requirements' 'python-setuptools')
+checkdepends=('pifpaf' 'python-pytest' 'python-pytest-asyncio'
'python-aiohttp' 'python-fastapi'
+ 'python-gevent' 'python-httpx' 'python-pook' 'python-redis'
'python-asgiref'
+ 'python-requests' 'python-sure' 'python-xxhash' 'redis')
+source=("https://github.com/mindflayer/python-mocket/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('31212d9c62241cf1e347c182e3fbd6adf1d2d6476da139c7b12a9c24299f95ce4a5e2573776732c1f4361140b0f751b21e83695c1509ce6ba5f7db2ec531d7e5')
+
+prepare() {
+ cd python-mocket-$pkgver
+ sed -i 's/--cov=mocket --cov-report=term-missing//' pytest.ini
+ pipenv_to_requirements
+}
+
+build() {
+ cd python-mocket-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-mocket-$pkgver
+ pifpaf run redis pytest
+}
+
+package() {
+ cd python-mocket-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}