[arch-commits] Commit in python-pytest-socket/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jul 30 22:30:53 UTC 2022
Date: Saturday, July 30, 2022 @ 22:30:52
Author: arojas
Revision: 1259230
archrelease: copy trunk to community-any
Added:
python-pytest-socket/repos/community-any/PKGBUILD
(from rev 1259229, python-pytest-socket/trunk/PKGBUILD)
Deleted:
python-pytest-socket/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-30 22:30:44 UTC (rev 1259229)
+++ PKGBUILD 2022-07-30 22:30:52 UTC (rev 1259230)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-socket
-pkgver=0.5.0
-pkgrel=1
-pkgdesc='Pytest Plugin to disable socket calls during tests'
-arch=('any')
-license=('MIT')
-url='https://github.com/miketheman/pytest-socket'
-depends=('python-pytest')
-makedepends=('python-pyproject2setuppy')
-checkdepends=('python-asynctest' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-httpbin'
- 'python-httpx' 'python-requests' 'python-starlette')
-source=("https://github.com/miketheman/pytest-socket/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('1a5479af9d920bee7d2b55e184e58b9510c29e98d697b008e7530b01d771ca9f61aeec1d573fc46383ab6f5b1675f1d19159dca0aaab43d560cb3d8592c4b02d')
-
-build() {
- cd pytest-socket-$pkgver
- python -m pyproject2setuppy build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-socket-$pkgver
- python -m pyproject2setuppy install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
-}
-
-package() {
- cd pytest-socket-$pkgver
- python -m pyproject2setuppy install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-socket/repos/community-any/PKGBUILD (from rev 1259229, python-pytest-socket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-30 22:30:52 UTC (rev 1259230)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-socket
+pkgver=0.5.1
+pkgrel=1
+pkgdesc='Pytest Plugin to disable socket calls during tests'
+arch=('any')
+license=('MIT')
+url='https://github.com/miketheman/pytest-socket'
+depends=('python-pytest')
+makedepends=('python-pyproject2setuppy')
+checkdepends=('python-asynctest' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-httpbin'
+ 'python-httpx' 'python-requests' 'python-starlette')
+source=("https://github.com/miketheman/pytest-socket/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f43a99419056086aaee52206bc2816452919da617e54535285ce9e6c59b8bc39edc3326a5c629cf25f1677bd2152d300a6191464671298888c7683d3c2181eff')
+
+build() {
+ cd pytest-socket-$pkgver
+ python -m pyproject2setuppy build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-socket-$pkgver
+ python -m pyproject2setuppy install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
+}
+
+package() {
+ cd pytest-socket-$pkgver
+ python -m pyproject2setuppy install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list