summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck Lucien Duriez2017-10-24 11:42:40 +0200
committerFranck Lucien Duriez2017-10-24 11:43:24 +0200
commitdebb184232e2d445b9b7d1431dd50cd0ddc8add2 (patch)
tree7b9ff185dbe7a30a1130cfa8e61f60caa6f34951
downloadaur-debb184232e2d445b9b7d1431dd50cd0ddc8add2.tar.gz
First commit.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f30405ffd7e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Tue Oct 24 09:43:12 UTC 2017
+pkgbase = python2-junit-xml
+ pkgdesc = Creates JUnit XML test result documents that can be read by tools such as Jenkins.
+ pkgver = 1.0
+ pkgrel = 1
+ arch = any
+ license = LGPL
+ makedepends = python2-setuptools
+ depends = python2
+ source = https://pypi.python.org/packages/63/34/995c6f062e813f52ba42e82f3d21a8f25fbdf375cede1bfbf36112636ca0/junit-xml-1.0.tar.gz
+ md5sums = b4b6f2d9a247bd50bd0246ce014ef8f3
+
+pkgname = python2-junit-xml
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..88d59fb0e00
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Franck Lucien Duriez <franck.lucien.duriez@gmail.com>
+pkgname="python2-junit-xml"
+_srcname="python-junit-xml"
+pkgver="1.0"
+pkgrel="1"
+pkgdesc="Creates JUnit XML test result documents that can be read by tools such as Jenkins."
+arch=('any')
+license=('LGPL')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/63/34/995c6f062e813f52ba42e82f3d21a8f25fbdf375cede1bfbf36112636ca0/junit-xml-1.0.tar.gz")
+md5sums=('b4b6f2d9a247bd50bd0246ce014ef8f3')
+
+prepare() {
+ #cd "${srcdir}/${_srcname}-${pkgver}"
+ echo ""
+
+ # No need for enum-compat if depend on enum34
+ #sed -i "s/'enum-compat',//" setup.py
+}
+
+package() {
+ cd "${srcdir}/junit-xml-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+