Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-pytest-tornado
Commits:
ab79fef5 by Felix Yan at 2026-03-04T05:16:26+08:00
upgpkg: 0.8.1-11
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,19 +1,21 @@
pkgbase = python-pytest-tornado
pkgdesc = A py.test plugin providing fixtures and markers to simplify
testing of asynchronous tornado applications.
pkgver = 0.8.1
- pkgrel = 10
+ pkgrel = 11
url = https://github.com/eugeniy/pytest-tornado
arch = any
license = Apache-2.0
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python-pytest
depends = python-tornado
depends = python-setuptools
- source =
https://github.com/eugeniy/pytest-tornado/archive/v0.8.1/python-pytest-tornado-0.8.1.tar.gz
+ depends = python-packaging
+ source = git+https://github.com/eugeniy/pytest-tornado#tag=v0.8.1
source = python-pytest-tornado-0.8.1-remove-pkg_resources.patch
- sha512sums =
e655ee9e28461c68b6cc642dbbb203a31154305a603951641e795c605f55970243bb9f7a8858a44bf70faba3d647bea6cf1525f2f9655a968cabbea43beec3d6
+ sha512sums =
a49353c8224020995e86eed1c0aec04fe6999255611ebed5b864b9d5d015629c50f13cf21f7c2b84a813a249dc2becfda903673604dec57a2c131301e78fad27
sha512sums =
a3574b9a90e6fc6b48c5ff0a742e549cf368496b6e02557bd6f1592aec4b38b2bd05066bad468a78295fa8bf803f9f550ed2f2dc6f52b3ef6f28045bb76fb289
pkgname = python-pytest-tornado
=====================================
PKGBUILD
=====================================
@@ -2,38 +2,39 @@
pkgname=python-pytest-tornado
pkgver=0.8.1
-pkgrel=10
+pkgrel=11
pkgdesc='A py.test plugin providing fixtures and markers to simplify testing
of asynchronous tornado applications.'
arch=('any')
license=('Apache-2.0')
url='https://github.com/eugeniy/pytest-tornado'
-depends=('python-pytest' 'python-tornado' 'python-setuptools')
-makedepends=('python-build' 'python-installer' 'python-wheel')
-source=("https://github.com/eugeniy/pytest-tornado/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+depends=('python-pytest' 'python-tornado' 'python-setuptools'
'python-packaging')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
+source=("git+https://github.com/eugeniy/pytest-tornado#tag=v$pkgver"
"python-pytest-tornado-0.8.1-remove-pkg_resources.patch")
-sha512sums=('e655ee9e28461c68b6cc642dbbb203a31154305a603951641e795c605f55970243bb9f7a8858a44bf70faba3d647bea6cf1525f2f9655a968cabbea43beec3d6'
+sha512sums=('a49353c8224020995e86eed1c0aec04fe6999255611ebed5b864b9d5d015629c50f13cf21f7c2b84a813a249dc2becfda903673604dec57a2c131301e78fad27'
'a3574b9a90e6fc6b48c5ff0a742e549cf368496b6e02557bd6f1592aec4b38b2bd05066bad468a78295fa8bf803f9f550ed2f2dc6f52b3ef6f28045bb76fb289')
prepare() {
- patch -Np1 -i ../python-pytest-tornado-0.8.1-remove-pkg_resources.patch -d
pytest-tornado-$pkgver
+ cd pytest-tornado
+ patch -Np1 -i ../python-pytest-tornado-0.8.1-remove-pkg_resources.patch
}
build() {
- cd pytest-tornado-$pkgver
+ cd pytest-tornado
python -m build --wheel --no-isolation
}
check() {
# Hack entry points by installing it
- cd pytest-tornado-$pkgver
+ cd pytest-tornado
python -m venv --system-site-packages test-env
test-env/bin/python -m installer dist/*.whl
test-env/bin/python -m pytest
}
package() {
- cd pytest-tornado-$pkgver
+ cd pytest-tornado
python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-tornado/-/commit/ab79fef5f7ad461b0bc90cb5f13eb2ef3e9d861f
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-tornado/-/commit/ab79fef5f7ad461b0bc90cb5f13eb2ef3e9d861f
You're receiving this email because of your account on gitlab.archlinux.org.