Date: Friday, September 11, 2020 @ 17:42:34 Author: felixonmars Revision: 702826
archrelease: copy trunk to community-any Added: python-mocket/repos/community-any/PKGBUILD (from rev 702824, python-mocket/trunk/PKGBUILD) Deleted: python-mocket/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-11 17:42:34 UTC (rev 702825) +++ PKGBUILD 2020-09-11 17:42:34 UTC (rev 702826) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-mocket -pkgver=3.8.8 -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-magic' 'python-urllib3' 'python-six') -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=('f694070dea476a48da904ae954a846aa8f9a7c546b1d452e92a61ac6d034b217f50fb2874d10b99105bac27215dcd2380dcab18ec6eb5092de311fce363ebf9c') - -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/ -} Copied: python-mocket/repos/community-any/PKGBUILD (from rev 702824, python-mocket/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-11 17:42:34 UTC (rev 702826) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-mocket +pkgver=3.8.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-magic' 'python-urllib3' 'python-six') +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=('1c2de9ab532e363ad25fffe4d1906ce9546b78d5396d1f3f3bfc309375b54e44e644a60066df071f6ecfc7b39d845f43992a71794d16752ebad8e16638c299d7') + +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/ +}