[arch-commits] Commit in python-flake8-black/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Mon Dec 14 05:08:23 UTC 2020


    Date: Monday, December 14, 2020 @ 05:08:22
  Author: polyzen
Revision: 774831

archrelease: copy trunk to community-any

Added:
  python-flake8-black/repos/community-any/PKGBUILD
    (from rev 774830, python-flake8-black/trunk/PKGBUILD)
Deleted:
  python-flake8-black/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-14 05:07:48 UTC (rev 774830)
+++ PKGBUILD	2020-12-14 05:08:22 UTC (rev 774831)
@@ -1,33 +0,0 @@
-# Maintainer: George Rawlinson <george at rawlinson.net.nz>
-
-_name=flake8-black
-pkgname=python-flake8-black
-pkgver=0.2.1
-pkgrel=3
-pkgdesc='Flake8 plugin to call black as a code style validator'
-arch=('any')
-url=https://github.com/peterjc/flake8-black
-license=('MIT')
-depends=('flake8' 'python-black' 'python-setuptools')
-source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz")
-b2sums=('46cf95349f683d3c4f411425c1e6e70dc0a0036036eccb736362b9888b4b0cb4c6d215fdb78bf59bbe8d9f3edca24959121c628426570dc1917f6ef9ad5ffbca')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  mkdir -p temp
-  local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
-  python setup.py install --skip-build --root=temp
-  cd tests
-  PATH="${PWD%/tests}/temp/usr/bin:$PATH" PYTHONPATH="${PWD%/tests}/temp/$sitepackages" ./run_tests.sh
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
-}

Copied: python-flake8-black/repos/community-any/PKGBUILD (from rev 774830, python-flake8-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-14 05:08:22 UTC (rev 774831)
@@ -0,0 +1,34 @@
+# Maintainer: George Rawlinson <george at rawlinson.net.nz>
+
+_name=flake8-black
+pkgname=python-flake8-black
+pkgver=0.2.1
+pkgrel=4
+pkgdesc='Flake8 plugin to call black as a code style validator'
+arch=('any')
+url=https://github.com/peterjc/flake8-black
+license=('MIT')
+depends=('flake8' 'python-black' 'python-setuptools')
+source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz")
+b2sums=('46cf95349f683d3c4f411425c1e6e70dc0a0036036eccb736362b9888b4b0cb4c6d215fdb78bf59bbe8d9f3edca24959121c628426570dc1917f6ef9ad5ffbca')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  mkdir -p temp
+  local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
+  python setup.py install --skip-build --root=temp
+  cd tests
+  PATH="${PWD%/tests}/temp/usr/bin:$PATH" PYTHONPATH="${PWD%/tests}/temp/$sitepackages" ./run_tests.sh
+}
+
+package() {
+  cd $_name-$pkgver
+  export PYTHONHASHSEED=0
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
+}



More information about the arch-commits mailing list