[arch-commits] Commit in python-mocket/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu May 13 08:21:39 UTC 2021


    Date: Thursday, May 13, 2021 @ 08:21:39
  Author: felixonmars
Revision: 932940

archrelease: copy trunk to community-any

Added:
  python-mocket/repos/community-any/PKGBUILD
    (from rev 932939, python-mocket/trunk/PKGBUILD)
Deleted:
  python-mocket/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-13 08:21:24 UTC (rev 932939)
+++ PKGBUILD	2021-05-13 08:21:39 UTC (rev 932940)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-mocket
-pkgver=3.9.40
-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=('d3f1b9c60d10cc8f803da3e465cd84bc954b885cf8cb400f85eabe8da0f144542f9992849ea86c44bc29d13e6ed3da7f61e472eac2ce81b1d9d2753539653d40')
-
-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 932939, python-mocket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-13 08:21:39 UTC (rev 932940)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mocket
+pkgver=3.9.40
+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=('d3f1b9c60d10cc8f803da3e465cd84bc954b885cf8cb400f85eabe8da0f144542f9992849ea86c44bc29d13e6ed3da7f61e472eac2ce81b1d9d2753539653d40')
+
+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