Date: Thursday, November 3, 2022 @ 16:35:36
Author: alucryd
Revision: 1341648
archrelease: copy trunk to community-any
Added:
python-pytest-trio/repos/community-any/PKGBUILD
(from rev 1341647, python-pytest-trio/trunk/PKGBUILD)
Deleted:
python-pytest-trio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 113 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 54 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-03 16:35:26 UTC (rev 1341647)
+++ PKGBUILD 2022-11-03 16:35:36 UTC (rev 1341648)
@@ -1,59 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-
-pkgname=python-pytest-trio
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='Pytest plugin for Trio'
-arch=(any)
-url=https://github.com/python-trio/pytest-trio
-license=(
- APACHE
- MIT
-)
-depends=(
- python
- python-async_generator
- python-pytest
- python-trio
-)
-makedepends=(
- git
- python-setuptools
-)
-checkdepends=(
- python-hypothesis
- python-pytest-cov
- python-trio-asyncio
-)
-_tag=250ec45f5d72eca78ab0ea2d1571667d2c51f8b5
-source=(git+https://github.com/python-trio/pytest-trio.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd pytest-trio
-
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd pytest-trio
- sed -i '/pytest.RemovedInPytest4Warning/d' pytest_trio/_tests/conftest.py
-
- python setup.py build
-}
-
-check() {
- cd pytest-trio
-
- python setup.py test
-}
-
-package() {
- cd pytest-trio
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-pytest-trio/
- install -Dm 644 LICENSE.MIT -t
"${pkgdir}"/usr/share/licenses/python-pytest-trio/
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pytest-trio/repos/community-any/PKGBUILD (from rev 1341647,
python-pytest-trio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-03 16:35:36 UTC (rev 1341648)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-pytest-trio
+pkgver=0.8.0
+pkgrel=2
+pkgdesc='Pytest plugin for Trio'
+arch=(any)
+url=https://github.com/python-trio/pytest-trio
+license=(
+ APACHE
+ MIT
+)
+depends=(
+ python
+ python-async_generator
+ python-hypothesis
+ python-pytest
+ python-trio
+)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-pytest-cov
+ python-trio-asyncio
+)
+_tag=250ec45f5d72eca78ab0ea2d1571667d2c51f8b5
+source=(git+https://github.com/python-trio/pytest-trio.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd pytest-trio
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd pytest-trio
+ python setup.py build
+}
+
+check() {
+ cd pytest-trio
+ PYTHONPATH="." PYTEST_PLUGINS="pytest_trio.plugin" python -m pytest
+}
+
+package() {
+ cd pytest-trio
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-pytest-trio/
+ install -Dm 644 LICENSE.MIT -t
"${pkgdir}"/usr/share/licenses/python-pytest-trio/
+}
+
+# vim: ts=2 sw=2 et: