[arch-commits] Commit in autopep8/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Oct 23 16:18:58 UTC 2018
Date: Tuesday, October 23, 2018 @ 16:18:57
Author: felixonmars
Revision: 398673
archrelease: copy trunk to community-any
Added:
autopep8/repos/community-any/PKGBUILD
(from rev 398672, autopep8/trunk/PKGBUILD)
Deleted:
autopep8/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-23 16:18:37 UTC (rev 398672)
+++ PKGBUILD 2018-10-23 16:18:57 UTC (rev 398673)
@@ -1,59 +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=autopep8
-pkgname=(autopep8 python2-autopep8)
-pkgver=1.4.1
-pkgrel=1
-epoch=1
-pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
-arch=('any')
-url="https://github.com/hhatto/autopep8"
-license=('MIT')
-makedepends=('python-pycodestyle' 'python2-pycodestyle')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/hhatto/autopep8/archive/v$pkgver.tar.gz")
-sha512sums=('7dd940b20db1d54385843033d875c7f2554e7eefd2c04e9d7aab23835ade34b3417e2fbe30c65f9905cf04750187da098b3d1bd24c107423ce7774ebe60164de')
-
-prepare() {
- cp -a autopep8-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/autopep8-$pkgver
- python setup.py build
-
- cd "$srcdir"/autopep8-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- export LC_CTYPE=en_US.UTF-8
-
- cd "$srcdir"/autopep8-$pkgver
- python setup.py test
-
- cd "$srcdir"/autopep8-$pkgver-py2
- python2 setup.py test
-}
-
-package_autopep8() {
- depends=('python-pycodestyle')
-
- cd autopep8-$pkgver
- python3 setup.py install -O1 --prefix=/usr --root="$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-autopep8() {
- depends=('python2-pycodestyle')
-
- cd autopep8-$pkgver-py2
- python2 setup.py install -O1 --prefix=/usr --root="$pkgdir"
- mv "$pkgdir"/usr/bin/autopep8{,-python2}
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: autopep8/repos/community-any/PKGBUILD (from rev 398672, autopep8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-23 16:18:57 UTC (rev 398673)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ismael Carnales <icarnales at gmail dot com>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgbase=autopep8
+pkgname=(autopep8 python2-autopep8)
+pkgver=1.4.2
+pkgrel=1
+epoch=1
+pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
+arch=('any')
+url="https://github.com/hhatto/autopep8"
+license=('MIT')
+makedepends=('python-pycodestyle' 'python2-pycodestyle')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/hhatto/autopep8/archive/v$pkgver.tar.gz")
+sha512sums=('5949d2d3617c490ec44f4835bee407943fda3b6cd11ae8354c3f6450ba3fddf24d15ab57b732195100f8384fe5c7d6b871aa202ff54d93bf5bf81787fc94db6e')
+
+prepare() {
+ cp -a autopep8-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/autopep8-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/autopep8-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ export LC_CTYPE=en_US.UTF-8
+
+ cd "$srcdir"/autopep8-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/autopep8-$pkgver-py2
+ python2 setup.py test
+}
+
+package_autopep8() {
+ depends=('python-pycodestyle')
+
+ cd autopep8-$pkgver
+ python3 setup.py install -O1 --prefix=/usr --root="$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-autopep8() {
+ depends=('python2-pycodestyle')
+
+ cd autopep8-$pkgver-py2
+ python2 setup.py install -O1 --prefix=/usr --root="$pkgdir"
+ mv "$pkgdir"/usr/bin/autopep8{,-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