Package Details: python-flake8-formatter-abspath 1.0.1-1

Git Clone URL: https://aur.archlinux.org/python-flake8-formatter-abspath.git (read-only, click to copy)
Package Base: python-flake8-formatter-abspath
Description: A flake8 formatter plugin that shows the absolute path of files with warnings.
Upstream URL: https://github.com/jarshwah/flake8_formatter_abspath
Licenses: MIT
Submitter: adamatom
Maintainer: adamatom
Last Packager: adamatom
Votes: 1
Popularity: 0.000000
First Submitted: 2018-07-26 15:35 (UTC)
Last Updated: 2018-07-26 15:35 (UTC)

Latest Comments

RubenKelevra commented on 2023-02-13 15:03 (UTC)

This changes work fine for me

diff --git a/PKGBUILD b/PKGBUILD
index 4072fff..158a6d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,27 +2,21 @@
 # Maintainer: Adam Labbe <adamlabbe@gmail.com>

 pkgbase=python-flake8-formatter-abspath
-pkgname=('python-flake8-formatter-abspath' 'python2-flake8-formatter-abspath')
+pkgname='python-flake8-formatter-abspath'
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A flake8 formatter plugin that shows the absolute path of files with warnings.'
 arch=('any')
 license=('MIT')
 url='https://github.com/jarshwah/flake8_formatter_abspath'
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
+makedepends=('python-setuptools' 'git')
 source=("git+https://github.com/jarshwah/flake8_formatter_abspath.git#tag=v$pkgver")
 md5sums=('SKIP')

-prepare() {
-  cp -a flake8_formatter_abspath{,-py2}
-}
-
 build() {
   cd "$srcdir"/flake8_formatter_abspath
   python setup.py build

-  cd "$srcdir"/flake8_formatter_abspath-py2
-  python2 setup.py build
 }

 package_python-flake8-formatter-abspath() {
@@ -33,12 +27,4 @@ package_python-flake8-formatter-abspath() {
   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }

-package_python2-flake8-formatter-abspath() {
-  depends=('python2-setuptools')
-
-  cd "$srcdir"/flake8_formatter_abspath-py2
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
 # vim:set ts=2 sw=2 et:

RubenKelevra commented on 2023-02-13 13:53 (UTC)

Please remove the python2 dependencies, thanks!