[arch-commits] Commit in python-pycodestyle/repos (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 26 09:15:58 UTC 2022


    Date: Friday, August 26, 2022 @ 09:15:58
  Author: felixonmars
Revision: 1281469

archrelease: copy trunk to community-testing-any

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

----------+
 LICENSE  |   24 ++++++++++++++++++++++++
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: python-pycodestyle/repos/community-testing-any/LICENSE (from rev 1281468, python-pycodestyle/trunk/LICENSE)
===================================================================
--- community-testing-any/LICENSE	                        (rev 0)
+++ community-testing-any/LICENSE	2022-08-26 09:15:58 UTC (rev 1281469)
@@ -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.

Copied: python-pycodestyle/repos/community-testing-any/PKGBUILD (from rev 1281468, python-pycodestyle/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-08-26 09:15:58 UTC (rev 1281469)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ismael Carnales <icarnales at gmail dot com>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python-pycodestyle
+pkgver=2.9.0
+pkgrel=1
+pkgdesc="Python style guide checker"
+arch=('any')
+url="https://pycodestyle.pycqa.org"
+license=('custom:Expat')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/PyCQA/pycodestyle/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('1550dfb353ecbe2e01c06f2865c7fb56c03f422a5fb31fdca468fb3d651122915bed3a36dce88a81ce585a32015cc158953d0e453bac9a0a4193096aa7c6a809')
+
+build() {
+  cd pycodestyle-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pycodestyle-$pkgver
+  python -m unittest discover
+}
+
+package() {
+  cd pycodestyle-$pkgver
+  python setup.py install -O1 --prefix=/usr --root="$pkgdir/"
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list