[arch-commits] Commit in python-pytest-twisted/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Jul 22 17:51:59 UTC 2021


    Date: Thursday, July 22, 2021 @ 17:51:59
  Author: felixonmars
Revision: 983229

upgpkg: python-pytest-twisted 1.13.3-1

Modified:
  python-pytest-twisted/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-22 17:49:44 UTC (rev 983228)
+++ PKGBUILD	2021-07-22 17:51:59 UTC (rev 983229)
@@ -1,18 +1,19 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-pytest-twisted
-pkgver=1.13.2
-pkgrel=3
+pkgver=1.13.3
+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')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-twisted/archive/v$pkgver.tar.gz")
-sha512sums=('8682cd4c457a4c1447089b80e9f24f75642f019d070060a3ee898276564b5506f0c88257c51cac02447fda717d598b661b1d220c997a1e0bccaa884dfa313433')
+makedepends=('python-setuptools')
+source=("https://github.com/pytest-dev/pytest-twisted/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('60400bc5598c129cfeb25c9fc9bded5e5b6a79079364b2445a276a07119229d94c59ed9c07e34d68f66a067ca68d85fbb423e012b2bac090d2d676948311284b')
 
 build() {
-  cd "$srcdir"/pytest-twisted-$pkgver
+  cd pytest-twisted-$pkgver
   python setup.py build
 }
 
@@ -19,7 +20,7 @@
 check() {
   # Hack entry points by installing it
 
-  cd "$srcdir"/pytest-twisted-$pkgver
+  cd pytest-twisted-$pkgver
   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




More information about the arch-commits mailing list