Date: Wednesday, January 4, 2023 @ 12:34:46
Author: felixonmars
Revision: 1375131
archrelease: copy trunk to community-any
Added:
python-mocket/repos/community-any/PKGBUILD
(from rev 1375130, python-mocket/trunk/PKGBUILD)
Deleted:
python-mocket/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-04 12:34:33 UTC (rev 1375130)
+++ PKGBUILD 2023-01-04 12:34:46 UTC (rev 1375131)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-mocket
-pkgver=3.10.8
-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=('d89e09e7656e46ea21ab0963e3ff64b5058c90f4c360af32a25e728035a1ddb1ebf450e7585ee60aa8ba587e1b2266718fb9e0bc6851ad03bcbea7a45336dbf1')
-
-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-any/PKGBUILD (from rev 1375130,
python-mocket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-04 12:34:46 UTC (rev 1375131)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-mocket
+pkgver=3.10.9
+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-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/
+}