[arch-commits] Commit in python-pytest-qt/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Dec 15 21:40:22 UTC 2019
Date: Sunday, December 15, 2019 @ 21:40:22
Author: jelle
Revision: 371551
archrelease: copy trunk to community-any
Added:
python-pytest-qt/repos/community-any/PKGBUILD
(from rev 371550, python-pytest-qt/trunk/PKGBUILD)
Deleted:
python-pytest-qt/repos/community-any/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 31 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-15 21:40:14 UTC (rev 371550)
+++ PKGBUILD 2019-12-15 21:40:22 UTC (rev 371551)
@@ -1,30 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-_name=pytest-qt
-pkgname=python-pytest-qt
-pkgver=3.3.0
-pkgrel=1
-pkgdesc='pytest support for PyQt and PySide applications'
-arch=(any)
-license=('MIT')
-url='https://github.com/pytest-dev/pytest-qt'
-depends=('python-pytest')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pyqt5' 'pyside2' 'xorg-server-xvfb')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983')
-
-build() {
- cd ${_name}-$pkgver
- python setup.py build
-}
-
-check() {
- cd ${_name}-$pkgver
- PYTHONPATH=. PYTEST_QT_API=pyqt5 xvfb-run pytest --fixtures pytestqt .
-}
-
-package() {
- cd ${_name}-$pkgver
- python setup.py install -O1 --root="${pkgdir}" --skip-build
-}
Copied: python-pytest-qt/repos/community-any/PKGBUILD (from rev 371550, python-pytest-qt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-15 21:40:22 UTC (rev 371551)
@@ -0,0 +1,31 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+_name=pytest-qt
+pkgname=python-pytest-qt
+pkgver=3.3.0
+pkgrel=2
+pkgdesc='pytest support for PyQt and PySide applications'
+arch=(any)
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-qt'
+depends=('python-pytest')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pyqt5' 'pyside2' 'xorg-server-xvfb')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983')
+
+build() {
+ cd ${_name}-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd ${_name}-$pkgver
+ PYTHONPATH=. PYTEST_QT_API=pyqt5 xvfb-run pytest --fixtures pytestqt .
+}
+
+package() {
+ cd ${_name}-$pkgver
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list