[arch-commits] Commit in python-pytest-black/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 29 19:23:34 UTC 2020
Date: Monday, June 29, 2020 @ 19:23:33
Author: felixonmars
Revision: 656442
archrelease: copy trunk to community-any
Added:
python-pytest-black/repos/community-any/PKGBUILD
(from rev 656441, python-pytest-black/trunk/PKGBUILD)
Deleted:
python-pytest-black/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-29 19:23:23 UTC (rev 656441)
+++ PKGBUILD 2020-06-29 19:23:33 UTC (rev 656442)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-black
-pkgver=0.3.9
-pkgrel=1
-pkgdesc="A pytest plugin to enable format checking with black"
-arch=('any')
-license=('MIT')
-url="https://github.com/shopkeep/pytest-black/"
-depends=('python-black' 'python-pytest')
-makedepends=('python-setuptools-scm')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/shopkeep/pytest-black/archive/$pkgver.tar.gz")
-sha512sums=('b8c4d459b325ff2f46b25311d5fbd8f5bf3ff63d1529591f603e16f04c357af31e5d5004f922abcf287533c67fbec7b8330097cb52f2f6a289ec42b6170adc10')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd pytest-black-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-black-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH:$PWD/tests" py.test
-}
-
-package() {
- cd pytest-black-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-pytest-black/repos/community-any/PKGBUILD (from rev 656441, python-pytest-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-29 19:23:33 UTC (rev 656442)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-black
+pkgver=0.3.10
+pkgrel=1
+pkgdesc="A pytest plugin to enable format checking with black"
+arch=('any')
+license=('MIT')
+url="https://github.com/shopkeep/pytest-black/"
+depends=('python-black' 'python-pytest')
+makedepends=('python-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shopkeep/pytest-black/archive/$pkgver.tar.gz")
+sha512sums=('87d3d54d6dfb44585ae4aba78e1b49e168a94ae01e6f12050c9d07a40d2587e1a7fd323de6c9f28264f21ce447563df38ac8a2159938a4e68ced47859798fe23')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd pytest-black-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-black-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH:$PWD/tests" py.test
+}
+
+package() {
+ cd pytest-black-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list