Date: Tuesday, September 6, 2022 @ 05:19:19
  Author: polyzen
Revision: 1294175

archrelease: copy trunk to community-any

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

----------+
 LICENSE  |   48 ++++++++++++++++++++--------------------
 PKGBUILD |   73 +++++++++++++++++++++++++++++++++----------------------------
 2 files changed, 64 insertions(+), 57 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE     2022-09-06 05:18:51 UTC (rev 1294174)
+++ LICENSE     2022-09-06 05:19:19 UTC (rev 1294175)
@@ -1,24 +0,0 @@
-Copyright © 2006-2009 Johann C. Rocholl <joh...@rocholl.net>
-Copyright © 2009-2013 Florent Xicluna <florent.xicl...@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 1294174, 
python-pycodestyle/trunk/LICENSE)
===================================================================
--- LICENSE                             (rev 0)
+++ LICENSE     2022-09-06 05:19:19 UTC (rev 1294175)
@@ -0,0 +1,24 @@
+Copyright © 2006-2009 Johann C. Rocholl <joh...@rocholl.net>
+Copyright © 2009-2013 Florent Xicluna <florent.xicl...@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    2022-09-06 05:18:51 UTC (rev 1294174)
+++ PKGBUILD    2022-09-06 05:19:19 UTC (rev 1294175)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Ismael Carnales <icarnales at gmail dot com>
-# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
-
-pkgname=python-pycodestyle
-pkgver=2.9.1
-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=('420248fa90b67a625acc7cca0bde4e8a0f69e0de9e2798ddd3b3c6ee8c9917b0c8c970dde2f01881ac446354d75131a84bbe7c207754190343f6df5d3b125ab7')
-
-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:

Copied: python-pycodestyle/repos/community-any/PKGBUILD (from rev 1294174, 
python-pycodestyle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-06 05:19:19 UTC (rev 1294175)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Daniel M. cape...@archlinux.org>
+# Contributor: Ismael Carnales <icarnales at gmail dot com>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python-pycodestyle
+pkgver=2.9.1
+pkgrel=2
+pkgdesc="Python style guide checker"
+arch=('any')
+url="https://pycodestyle.pycqa.org";
+license=('custom:Expat')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+             'python-wheel')
+source=("https://github.com/PyCQA/pycodestyle/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('420248fa90b67a625acc7cca0bde4e8a0f69e0de9e2798ddd3b3c6ee8c9917b0c8c970dde2f01881ac446354d75131a84bbe7c207754190343f6df5d3b125ab7')
+
+build() {
+  cd pycodestyle-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd pycodestyle-$pkgver
+  python -m unittest discover
+}
+
+package() {
+  cd pycodestyle-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/pycodestyle-$pkgver.dist-info/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to