[arch-commits] Commit in python-mocket/repos (2 files)
Date: Tuesday, July 12, 2022 @ 17:00:14 Author: dvzrv Revision: 1250726 archrelease: copy trunk to community-staging-any Added: python-mocket/repos/community-staging-any/ python-mocket/repos/community-staging-any/PKGBUILD (from rev 1250725, python-mocket/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: python-mocket/repos/community-staging-any/PKGBUILD (from rev 1250725, python-mocket/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2022-07-12 17:00:14 UTC (rev 1250726) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +pkgname=python-mocket +pkgver=3.10.6 +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-pytest-cov' 'python-setuptools') +checkdepends=('pifpaf' 'python-aiohttp' 'python-gevent' 'python-mock' 'python-pook' 'python-redis' + 'python-sure' 'python-xxhash' 'redis') +source=("https://github.com/mindflayer/python-mocket/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('d2f5acb1e57bd708b7c1be72a873f8bfb57ed0ab38e24b9fcb2651bb20fd96de16f9279acbf210cb9fd72dae5f382d249d1fbdb46f70c02920137336b9d6ff5f') + +prepare() { + cd python-mocket-$pkgver + 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/ +}
[arch-commits] Commit in python-mocket/repos (2 files)
Date: Wednesday, December 1, 2021 @ 14:56:45 Author: foutrelis Revision: 1059578 archrelease: copy trunk to community-staging-any Added: python-mocket/repos/community-staging-any/ python-mocket/repos/community-staging-any/PKGBUILD (from rev 1059575, python-mocket/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: python-mocket/repos/community-staging-any/PKGBUILD (from rev 1059575, python-mocket/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-12-01 14:56:45 UTC (rev 1059578) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan + +pkgname=python-mocket +pkgver=3.10.0 +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-pytest-cov' 'python-setuptools') +checkdepends=('pifpaf' 'python-aiohttp' 'python-gevent' 'python-mock' 'python-pook' 'python-redis' + 'python-sure' 'python-xxhash' 'redis') +source=("https://github.com/mindflayer/python-mocket/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('c6a07ea520ca895b4be0c86be030aa894a7ff29dd648433c41636ff63fdc90bf9b98ffde438a292da45e1e04600131314a8abbed41abcc1d86a01a34c57bf2f4') + +prepare() { + cd python-mocket-$pkgver + pipenv_to_requirements + + sed -i 's/^python-magic.*/file_magic/' requirements.txt +} + +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/ +}
[arch-commits] Commit in python-mocket/repos (2 files)
Date: Saturday, October 30, 2021 @ 15:13:38 Author: yan12125 Revision: 1034985 archrelease: copy trunk to community-testing-any Added: python-mocket/repos/community-testing-any/ python-mocket/repos/community-testing-any/PKGBUILD (from rev 1034984, python-mocket/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: python-mocket/repos/community-testing-any/PKGBUILD (from rev 1034984, python-mocket/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-10-30 15:13:38 UTC (rev 1034985) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan + +pkgname=python-mocket +pkgver=3.10.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-http-parser' 'python-magic' 'python-urllib3') +makedepends=('python-pipenv-to-requirements' 'python-pytest-cov' 'python-setuptools') +checkdepends=('pifpaf' 'python-aiohttp' 'python-gevent' 'python-mock' 'python-pook' 'python-redis' + 'python-sure' 'python-xxhash' 'redis') +source=("https://github.com/mindflayer/python-mocket/archive/$pkgver/$pkgname-$pkgver.tar.gz;) +sha512sums=('c6a07ea520ca895b4be0c86be030aa894a7ff29dd648433c41636ff63fdc90bf9b98ffde438a292da45e1e04600131314a8abbed41abcc1d86a01a34c57bf2f4') + +prepare() { + cd python-mocket-$pkgver + pipenv_to_requirements + + sed -i 's/^python-magic.*/file_magic/' requirements.txt +} + +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/ +}