[arch-commits] Commit in python-mocket/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jan 11 17:19:20 UTC 2021
Date: Monday, January 11, 2021 @ 17:19:19
Author: felixonmars
Revision: 817945
archrelease: copy trunk to community-any
Added:
python-mocket/repos/community-any/PKGBUILD
(from rev 817944, python-mocket/trunk/PKGBUILD)
Deleted:
python-mocket/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-11 17:19:09 UTC (rev 817944)
+++ PKGBUILD 2021-01-11 17:19:19 UTC (rev 817945)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-mocket
-pkgver=3.9.35
-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=('b38b808fdc2cbbe740cd0da5bf66e522fc4de6374ddee92f702326df25162139353e30e512b2a25fd26a3134bb342a037b442199c1534257554c9a0ded44ee73')
-
-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 817944, python-mocket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-11 17:19:19 UTC (rev 817945)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mocket
+pkgver=3.9.36
+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=('80c4fc41c29aa15fd3c380919b04afe78450306b0af808883e120ee06b2cd330d79c3d46c9de1eec6eb4c7e8554de5deaaf750680c9ef1a8b26083156eaa4b28')
+
+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/
+}
More information about the arch-commits
mailing list