[arch-commits] Commit in python-pytest-tornasync/repos/community-any (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Nov 23 07:43:25 UTC 2021
Date: Tuesday, November 23, 2021 @ 07:43:25
Author: arojas
Revision: 1054421
archrelease: copy trunk to community-any
Added:
python-pytest-tornasync/repos/community-any/PKGBUILD
(from rev 1054420, python-pytest-tornasync/trunk/PKGBUILD)
Deleted:
python-pytest-tornasync/repos/community-any/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 26 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-23 07:43:09 UTC (rev 1054420)
+++ PKGBUILD 2021-11-23 07:43:25 UTC (rev 1054421)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-httpx
-pkgver=0.13.0
-pkgrel=1
-pkgdesc='Send responses to httpx'
-arch=('any')
-license=('MIT')
-url='https://colin-b.github.io/pytest_httpx'
-depends=('python-httpx' 'python-pytest')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-asyncio')
-source=("https://github.com/Colin-b/pytest_httpx/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('514d9acacdfd60d13b5ce2c5ebe46d0e4d16c1b06fd359b0b9515ae2fa9091296537f369882a78bdfad48e9a0aad0b2f8c172c2e54f4ae9e23ba03220c7c17fb')
-
-build() {
- cd pytest_httpx-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest_httpx-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest
-}
-
-package() {
- cd pytest_httpx-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-tornasync/repos/community-any/PKGBUILD (from rev 1054420, python-pytest-tornasync/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-23 07:43:25 UTC (rev 1054421)
@@ -0,0 +1,26 @@
+# Maintainer:
+
+pkgname=python-pytest-tornasync
+pkgver=0.6.0.post2
+pkgrel=1
+pkgdesc='py.test plugin for testing Python 3.5+ Tornado code'
+arch=(any)
+license=(MIT)
+url='https://github.com/eukaryote/pytest-tornasync'
+depends=(python-tornado python-pytest)
+makedepends=(python-setuptools)
+checkdepends=('python-pytest-asyncio')
+source=(https://pypi.python.org/packages/source/p/pytest-tornasync/pytest-tornasync-$pkgver.tar.gz)
+sha512sums=('2e258913b17a5442d18928833ee7e9771b6dbd148dbf251a7661432a54d4b9f9f3a7c396134eb544c0e3ce0af48c99d2d632399ac6ebdcf148187a7a523f4974')
+
+build() {
+ cd pytest-tornasync-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd pytest-tornasync-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ rm "$pkgdir"/usr/LICENSE
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list