summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Kaspar Rudert (mortzu)2021-09-01 06:57:47 +0200
committerMoritz Kaspar Rudert (mortzu)2021-09-01 06:57:47 +0200
commit2da17517e30e810fca048abf0124415e0bba1737 (patch)
treea97401e2aa09eb489b5e83875f9ba4041b8b2781
parent21d0a6589ae15240938c60a0e15edf30e7655b6f (diff)
downloadaur-2da17517e30e810fca048abf0124415e0bba1737.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD31
2 files changed, 22 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a82f7626ba..2b52ed220bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = python-flake8-formatter-abspath
- pkgdesc = A flake8 formatter plugin that shows the absolute path of files with warnings.
- pkgver = 1.0.1
+pkgbase = python-flake8-formatter-junit-xml
+ pkgdesc = JUnit XML Formatter for flake8
+ pkgver = 0.0.6
pkgrel = 1
url = https://github.com/jarshwah/flake8_formatter_abspath
arch = any
@@ -8,12 +8,13 @@ pkgbase = python-flake8-formatter-abspath
makedepends = python-setuptools
makedepends = python2-setuptools
makedepends = git
- source = git+https://github.com/jarshwah/flake8_formatter_abspath.git#tag=v1.0.1
+ source = git+https://github.com/astj/flake8-formatter-junit-xml.git#tag=v0.0.6
md5sums = SKIP
-pkgname = python-flake8-formatter-abspath
+pkgname = python-flake8-formatter-junit-xml
depends = python-setuptools
+ depends = python-junit-xml
-pkgname = python2-flake8-formatter-abspath
+pkgname = python2-flake8-formatter-junit-xml
depends = python2-setuptools
-
+ depends = python2-junit-xml
diff --git a/PKGBUILD b/PKGBUILD
index 4072fff50ed..37f2a850130 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,39 @@
-# $Id$
-# Maintainer: Adam Labbe <adamlabbe@gmail.com>
-
-pkgbase=python-flake8-formatter-abspath
-pkgname=('python-flake8-formatter-abspath' 'python2-flake8-formatter-abspath')
-pkgver=1.0.1
+pkgbase=python-flake8-formatter-junit-xml
+pkgname=('python-flake8-formatter-junit-xml' 'python2-flake8-formatter-junit-xml')
+pkgver=0.0.6
pkgrel=1
-pkgdesc='A flake8 formatter plugin that shows the absolute path of files with warnings.'
+pkgdesc='JUnit XML Formatter for flake8'
arch=('any')
license=('MIT')
url='https://github.com/jarshwah/flake8_formatter_abspath'
makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/jarshwah/flake8_formatter_abspath.git#tag=v$pkgver")
+source=("git+https://github.com/astj/flake8-formatter-junit-xml.git#tag=v$pkgver")
md5sums=('SKIP')
prepare() {
- cp -a flake8_formatter_abspath{,-py2}
+ cp -a flake8-formatter-junit-xml{,-py2}
}
build() {
- cd "$srcdir"/flake8_formatter_abspath
+ cd "$srcdir"/flake8-formatter-junit-xml
python setup.py build
- cd "$srcdir"/flake8_formatter_abspath-py2
+ cd "$srcdir"/flake8-formatter-junit-xml-py2
python2 setup.py build
}
-package_python-flake8-formatter-abspath() {
- depends=('python-setuptools')
+package_python-flake8-formatter-junit-xml() {
+ depends=('python-setuptools' 'python-junit-xml')
- cd "$srcdir"/flake8_formatter_abspath
+ cd "$srcdir"/flake8-formatter-junit-xml
python setup.py install --root="$pkgdir"/ --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-package_python2-flake8-formatter-abspath() {
- depends=('python2-setuptools')
+package_python2-flake8-formatter-junit-xml() {
+ depends=('python2-setuptools' 'python2-junit-xml')
- cd "$srcdir"/flake8_formatter_abspath-py2
+ cd "$srcdir"/flake8-formatter-junit-xml-py2
python2 setup.py install --root="$pkgdir"/ --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}