[arch-commits] Commit in python-pycodestyle/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Thu May 14 05:26:12 UTC 2020


    Date: Thursday, May 14, 2020 @ 05:26:10
  Author: felixonmars
Revision: 627834

archrelease: copy trunk to community-any

Added:
  python-pycodestyle/repos/community-any/LICENSE
    (from rev 627833, python-pycodestyle/trunk/LICENSE)
  python-pycodestyle/repos/community-any/PKGBUILD
    (from rev 627833, python-pycodestyle/trunk/PKGBUILD)
Deleted:
  python-pycodestyle/repos/community-any/LICENSE
  python-pycodestyle/repos/community-any/PKGBUILD

----------+
 LICENSE  |   48 ++++++++++++------------
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 84 insertions(+), 84 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-05-14 05:25:51 UTC (rev 627833)
+++ LICENSE	2020-05-14 05:26:10 UTC (rev 627834)
@@ -1,24 +0,0 @@
-Copyright © 2006-2009 Johann C. Rocholl <johann at rocholl.net>
-Copyright © 2009-2013 Florent Xicluna <florent.xicluna at gmail.com>
-
-Licensed under the terms of the Expat License
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation files
-(the "Software"), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge,
-publish, distribute, sublicense, and/or sell copies of the Software,
-and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

Copied: python-pycodestyle/repos/community-any/LICENSE (from rev 627833, python-pycodestyle/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-05-14 05:26:10 UTC (rev 627834)
@@ -0,0 +1,24 @@
+Copyright © 2006-2009 Johann C. Rocholl <johann at rocholl.net>
+Copyright © 2009-2013 Florent Xicluna <florent.xicluna at gmail.com>
+
+Licensed under the terms of the Expat License
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-14 05:25:51 UTC (rev 627833)
+++ PKGBUILD	2020-05-14 05:26:10 UTC (rev 627834)
@@ -1,60 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ismael Carnales <icarnales at gmail dot com>
-# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
-
-pkgbase=python-pycodestyle
-pkgname=('python-pycodestyle' 'python2-pycodestyle')
-pkgver=2.5.0
-pkgrel=3
-pkgdesc="Python style guide checker"
-arch=('any')
-url="https://github.com/PyCQA/pycodestyle"
-license=('custom:Expat')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pycodestyle/archive/$pkgver.tar.gz")
-sha512sums=('b40d2b4fd6673f4115cb0fa056056ef39f4705ba8826bb2a4b91c98e542132951471e1226d697daeb6fac9a5520df5f8dde0931462e540ee2eb8b5f275eb2288')
-
-prepare() {
-  cp -a pycodestyle-$pkgver{,-py2}
-
-  sed -i '1s/env python$/python2/' pycodestyle-$pkgver-py2/pycodestyle.py
-}
-
-build() {
-  cd "$srcdir"/pycodestyle-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pycodestyle-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pycodestyle-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/pycodestyle-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-pycodestyle() {
-  depends=('python-setuptools')
-  replaces=('pep8-python3' 'pep8')
-
-  cd pycodestyle-$pkgver
-  python setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pycodestyle() {
-  depends=('python2-setuptools')
-  replaces=('pep8-python2' 'python2-pep8')
-
-  cd pycodestyle-$pkgver-py2
-  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-  mv "$pkgdir"/usr/bin/pycodestyle{,2}
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pycodestyle/repos/community-any/PKGBUILD (from rev 627833, python-pycodestyle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-14 05:26:10 UTC (rev 627834)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ismael Carnales <icarnales at gmail dot com>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgbase=python-pycodestyle
+pkgname=('python-pycodestyle' 'python2-pycodestyle')
+pkgver=2.6.0
+pkgrel=1
+pkgdesc="Python style guide checker"
+arch=('any')
+url="https://github.com/PyCQA/pycodestyle"
+license=('custom:Expat')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pycodestyle/archive/$pkgver.tar.gz")
+sha512sums=('251b2526edc9759aa07b43c23c2785ebf2b7c4cca7e70444b8f79ff72cfb842ca49b929c01faba307534e4f213247597739ba777181fca6048d6cfae67cd25b6')
+
+prepare() {
+  cp -a pycodestyle-$pkgver{,-py2}
+
+  sed -i '1s/env python$/python2/' pycodestyle-$pkgver-py2/pycodestyle.py
+}
+
+build() {
+  cd "$srcdir"/pycodestyle-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pycodestyle-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pycodestyle-$pkgver
+  python -m unittest discover
+
+  cd "$srcdir"/pycodestyle-$pkgver-py2
+  python2 -m unittest discover
+}
+
+package_python-pycodestyle() {
+  depends=('python-setuptools')
+  replaces=('pep8-python3' 'pep8')
+
+  cd pycodestyle-$pkgver
+  python setup.py install -O1 --prefix=/usr --root="$pkgdir/"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pycodestyle() {
+  depends=('python2-setuptools')
+  replaces=('pep8-python2' 'python2-pep8')
+
+  cd pycodestyle-$pkgver-py2
+  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
+  mv "$pkgdir"/usr/bin/pycodestyle{,2}
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list