[arch-commits] Commit in pep8/repos/community-any (LICENSE LICENSE PKGBUILD PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Fri Apr 4 07:20:11 UTC 2014


    Date: Friday, April 4, 2014 @ 09:20:11
  Author: fyan
Revision: 108795

archrelease: copy trunk to community-any

Added:
  pep8/repos/community-any/LICENSE
    (from rev 108794, pep8/trunk/LICENSE)
  pep8/repos/community-any/PKGBUILD
    (from rev 108794, pep8/trunk/PKGBUILD)
Deleted:
  pep8/repos/community-any/LICENSE
  pep8/repos/community-any/PKGBUILD

----------+
 LICENSE  |   48 +++++++++++-----------
 PKGBUILD |  131 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 89 insertions(+), 90 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2014-04-04 07:19:32 UTC (rev 108794)
+++ LICENSE	2014-04-04 07:20:11 UTC (rev 108795)
@@ -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: pep8/repos/community-any/LICENSE (from rev 108794, pep8/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2014-04-04 07:20:11 UTC (rev 108795)
@@ -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	2014-04-04 07:19:32 UTC (rev 108794)
+++ PKGBUILD	2014-04-04 07:20:11 UTC (rev 108795)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Ismael Carnales <icarnales at gmail dot com>
-# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
-
-pkgbase=pep8
-pkgname=("$pkgbase" "$pkgbase-python2")
-pkgver=1.5.1
-pkgrel=2
-pkgdesc="Python style guide checker"
-arch=('any')
-url="http://github.com/jcrocholl/pep8/"
-license=('custom:Expat')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-${pkgver}.tar.gz"
-        LICENSE)
-sha256sums=('818ac9c3b31b2ab63265fb421727025e48f3b6447260632acee43270f172b450'
-            '4a18840b7c132952f3f3d42c355289018ea263cbe75b25db31c9feb1b61e9b40')
-
-prepare() {
-  cp -r $pkgbase-$pkgver{,-py2}
-
-  sed -i '1s/env python$/python2/' $pkgbase-$pkgver-py2/pep8.py
-}
-
-build() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python setup.py build
-
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  # Not passing tests for 1.5.1
-  #python setup.py test
-
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  # Not passing tests for 1.5.1
-  #python2 setup.py test
-}
-
-package_pep8() {
-  depends=('python' 'python-setuptools')
-  provides=('pep8-python3')
-  conflicts=('pep8-python3')
-  replaces=('pep8-python3')
-
-  cd $pkgbase-$pkgver
-  python3 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-
-  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_pep8-python2() {
-  depends=('python2' 'python2-setuptools')
-  
-  cd $pkgbase-$pkgver-py2
-  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-  mv "$pkgdir/usr/bin/pep8" "$pkgdir/usr/bin/pep8-python2"
-
-  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pep8/repos/community-any/PKGBUILD (from rev 108794, pep8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-04-04 07:20:11 UTC (rev 108795)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Ismael Carnales <icarnales at gmail dot com>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgbase=pep8
+pkgname=("$pkgbase" "$pkgbase-python2")
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="Python style guide checker"
+arch=('any')
+url="http://github.com/jcrocholl/pep8/"
+license=('custom:Expat')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-${pkgver}.tar.gz"
+        LICENSE)
+sha256sums=('4e0e74c0e3f06ad301fb66a9a24c2d07b5dc324c96a9a139d924a5e102177cf7'
+            '4a18840b7c132952f3f3d42c355289018ea263cbe75b25db31c9feb1b61e9b40')
+
+prepare() {
+  cp -r $pkgbase-$pkgver{,-py2}
+
+  sed -i '1s/env python$/python2/' $pkgbase-$pkgver-py2/pep8.py
+}
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py build
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  # Failure in tests: https://github.com/jcrocholl/pep8/issues/267
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  #python setup.py test
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  #python2 setup.py test
+}
+
+package_pep8() {
+  depends=('python' 'python-setuptools')
+  provides=('pep8-python3')
+  conflicts=('pep8-python3')
+  replaces=('pep8-python3')
+
+  cd $pkgbase-$pkgver
+  python3 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
+
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_pep8-python2() {
+  depends=('python2' 'python2-setuptools')
+  
+  cd $pkgbase-$pkgver-py2
+  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
+  mv "$pkgdir/usr/bin/pep8" "$pkgdir/usr/bin/pep8-python2"
+
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list