[arch-commits] Commit in python-pytest-black/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:50:48 UTC 2019


    Date: Monday, November 4, 2019 @ 07:50:48
  Author: felixonmars
Revision: 523585

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-black/repos/community-staging-any/PKGBUILD
    (from rev 523584, python-pytest-black/trunk/PKGBUILD)
Deleted:
  python-pytest-black/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 07:50:32 UTC (rev 523584)
+++ PKGBUILD	2019-11-04 07:50:48 UTC (rev 523585)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-black
-pkgver=0.3.7
-pkgrel=2
-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=('2dfd4fb020c29eddcb21a2311f3e0b2ca8b6f2406de057d48cf574aa108136d9a59e252f7e364892fdaf83e2a326d94d718278208b312bbaf46e3033d19b1af7')
-
-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-staging-any/PKGBUILD (from rev 523584, python-pytest-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-04 07:50:48 UTC (rev 523585)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-black
+pkgver=0.3.7
+pkgrel=3
+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=('2dfd4fb020c29eddcb21a2311f3e0b2ca8b6f2406de057d48cf574aa108136d9a59e252f7e364892fdaf83e2a326d94d718278208b312bbaf46e3033d19b1af7')
+
+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