Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-pytest-twisted
Commits:
bbbd3ce3 by Felix Yan at 2024-08-26T18:45:27+03:00
upgpkg: 1.14.2-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
pkgbase = python-pytest-twisted
pkgdesc = A twisted plugin for py.test
- pkgver = 1.14.1
- pkgrel = 2
+ pkgver = 1.14.2
+ pkgrel = 1
url = https://github.com/pytest-dev/pytest-twisted
arch = any
license = BSD
+ makedepends = git
makedepends = python-setuptools
depends = python-pytest
depends = python-greenlet
depends = python-decorator
depends = python-twisted
- source =
https://github.com/pytest-dev/pytest-twisted/archive/v1.14.1/python-pytest-twisted-1.14.1.tar.gz
- sha512sums =
d5b6d629ed3cf7ae1537e76494fa7eb4bbb9767cbc50d97a5657c668b381f39236acc6224b3754d62e2cccd4dff7e6161265ddc6a939f0488cef53eeade0eae9
+ source =
git+https://github.com/pytest-dev/pytest-twisted.git#tag=v1.14.2
+ sha512sums =
d653dbb131fc904ff1e76580731fc43672a60a0e1ee461638975bacc6227d74b00d2897be44c3659aef2e65c6d398e044bff4cfdeaf032fde82166fcc2637572
pkgname = python-pytest-twisted
=====================================
PKGBUILD
=====================================
@@ -1,32 +1,32 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-pytest-twisted
-pkgver=1.14.1
-pkgrel=2
+pkgver=1.14.2
+pkgrel=1
pkgdesc='A twisted plugin for py.test'
arch=('any')
license=('BSD')
url='https://github.com/pytest-dev/pytest-twisted'
depends=('python-pytest' 'python-greenlet' 'python-decorator' 'python-twisted')
-makedepends=('python-setuptools')
-source=("https://github.com/pytest-dev/pytest-twisted/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('d5b6d629ed3cf7ae1537e76494fa7eb4bbb9767cbc50d97a5657c668b381f39236acc6224b3754d62e2cccd4dff7e6161265ddc6a939f0488cef53eeade0eae9')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/pytest-dev/pytest-twisted.git#tag=v$pkgver")
+sha512sums=('d653dbb131fc904ff1e76580731fc43672a60a0e1ee461638975bacc6227d74b00d2897be44c3659aef2e65c6d398e044bff4cfdeaf032fde82166fcc2637572')
build() {
- cd pytest-twisted-$pkgver
+ cd pytest-twisted
python setup.py build
}
check() {
# Hack entry points by installing it
- cd pytest-twisted-$pkgver
+ cd pytest-twisted
python setup.py install --root="$PWD/tmp_install" --optimize=1
local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
PYTHONPATH="$PWD/tmp_install/${site_packages}:$PYTHONPATH" py.test
}
package() {
- cd pytest-twisted-$pkgver
+ cd pytest-twisted
python setup.py install --root="$pkgdir" --optimize=1
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-twisted/-/commit/bbbd3ce36bb986f03e14a16e796b3386c81702b7
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-twisted/-/commit/bbbd3ce36bb986f03e14a16e796b3386c81702b7
You're receiving this email because of your account on gitlab.archlinux.org.