[arch-commits] Commit in python-pytest-twisted/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Jul 22 17:52:13 UTC 2021
Date: Thursday, July 22, 2021 @ 17:52:13
Author: felixonmars
Revision: 983230
archrelease: copy trunk to community-any
Added:
python-pytest-twisted/repos/community-any/PKGBUILD
(from rev 983229, python-pytest-twisted/trunk/PKGBUILD)
Deleted:
python-pytest-twisted/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-22 17:51:59 UTC (rev 983229)
+++ PKGBUILD 2021-07-22 17:52:13 UTC (rev 983230)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-twisted
-pkgver=1.13.2
-pkgrel=3
-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')
-
-build() {
- cd "$srcdir"/pytest-twisted-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/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
-}
-
-package() {
- cd pytest-twisted-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-pytest-twisted/repos/community-any/PKGBUILD (from rev 983229, python-pytest-twisted/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-22 17:52:13 UTC (rev 983230)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-twisted
+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')
+makedepends=('python-setuptools')
+source=("https://github.com/pytest-dev/pytest-twisted/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('60400bc5598c129cfeb25c9fc9bded5e5b6a79079364b2445a276a07119229d94c59ed9c07e34d68f66a067ca68d85fbb423e012b2bac090d2d676948311284b')
+
+build() {
+ cd pytest-twisted-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ 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
+}
+
+package() {
+ cd pytest-twisted-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list