[arch-commits] Commit in python-pytest-black/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 28 17:07:48 UTC 2019
Date: Tuesday, May 28, 2019 @ 17:07:47
Author: felixonmars
Revision: 472778
archrelease: copy trunk to community-any
Added:
python-pytest-black/repos/community-any/PKGBUILD
(from rev 472777, 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 2019-05-28 17:07:33 UTC (rev 472777)
+++ PKGBUILD 2019-05-28 17:07:47 UTC (rev 472778)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-black
-pkgver=0.3.5
-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=('a1ab8d7db5fa01539d308d77619284708c206c92174349c60a8fd74f345fb9934566800c0fb0344fb8a5628cffcdb9cdaad5531f03914a8031a8b3d290188b89')
-
-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.7/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 472777, python-pytest-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-28 17:07:47 UTC (rev 472778)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-black
+pkgver=0.3.6
+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=('0f10951fcfdaff4612dbea20215328f78dd43945698cf99b6714e39bc195cd2e08616f189ee9081932a12271f81f4f3d847beadc1bb1a3ebed60d7c6edd1ab37')
+
+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.7/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