[arch-commits] Commit in python-pytest-localserver/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Aug 31 20:16:03 UTC 2022
Date: Wednesday, August 31, 2022 @ 20:16:03
Author: felixonmars
Revision: 1289327
archrelease: copy trunk to community-any
Added:
python-pytest-localserver/repos/community-any/PKGBUILD
(from rev 1289326, python-pytest-localserver/trunk/PKGBUILD)
Deleted:
python-pytest-localserver/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-31 20:15:47 UTC (rev 1289326)
+++ PKGBUILD 2022-08-31 20:16:03 UTC (rev 1289327)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-localserver
-pkgver=0.6.0
-pkgrel=1
-pkgdesc='py.test plugin to test server connections locally'
-arch=('any')
-license=('MIT')
-url='https://bitbucket.org/pytest-dev/pytest-localserver'
-depends=('python-aiosmtpd' 'python-pytest' 'python-werkzeug')
-makedepends=('python-setuptools')
-checkdepends=('python-requests')
-source=(https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-$pkgver.tar.gz)
-sha512sums=('149796393af260fa5d69560852e9d11b569515b8486859302af2ed369a93bbb7cad11f54210851bd4030d8f7f5936a0306fe9599bc8477bdfc61d3d0a83cb205')
-
-build() {
- cd pytest-localserver-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-localserver-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test
-}
-
-package() {
- cd pytest-localserver-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-localserver/repos/community-any/PKGBUILD (from rev 1289326, python-pytest-localserver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-31 20:16:03 UTC (rev 1289327)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-localserver
+pkgver=0.7.0
+pkgrel=1
+pkgdesc='py.test plugin to test server connections locally'
+arch=('any')
+license=('MIT')
+url='https://bitbucket.org/pytest-dev/pytest-localserver'
+depends=('python-pytest' 'python-werkzeug')
+optdepends=('python-aiosmtpd: for smtp')
+makedepends=('python-setuptools')
+checkdepends=('python-requests')
+source=(https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-$pkgver.tar.gz)
+sha512sums=('1fb1acaeb190d35ebd05cdd63ce15e4a9138802901cef8c25c1fa6dd177d8af2b6b2749f5a052942bf655ffd2ff6105de8a652d73faab369ce6dcf3219bb2394')
+
+build() {
+ cd pytest-localserver-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-localserver-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
+}
+
+package() {
+ cd pytest-localserver-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list