summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-02-02 15:36:23 +0800
committerUniversebenzene2018-02-02 15:36:23 +0800
commite2b9c6166e5bd6fd4921d3505cec546dcc1a3a58 (patch)
tree7975920b5fadd95b3b348ebeb81ffe967d279d8b
downloadaur-e2b9c6166e5bd6fd4921d3505cec546dcc1a3a58.tar.gz
Initial import 0.9
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD20
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..953fd3fa704
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Fri Feb 2 07:36:11 UTC 2018
+pkgbase = python-pytest-mpl
+ pkgdesc = Pytest plugin to help with testing figures output from Matplotlib
+ pkgver = 0.9
+ pkgrel = 1
+ url = https://github.com/matplotlib/pytest-mpl
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = python-setuptools
+ depends = python>=3.3
+ depends = python-pytest
+ depends = python-matplotlib
+ depends = python-nose
+ source = https://files.pythonhosted.org/packages/source/p/pytest-mpl/pytest-mpl-0.9.tar.gz
+ md5sums = c13853b85dbe5c50ba9b7e8f9dc96439
+
+pkgname = python-pytest-mpl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2aa720e585
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Astro Benzene <universebenzene at sina dot com>
+pkgname=python-pytest-mpl
+pkgver=0.9
+pkgrel=1
+pkgdesc="Pytest plugin to help with testing figures output from Matplotlib"
+arch=('i686' 'x86_64')
+url="https://github.com/matplotlib/pytest-mpl"
+license=('BSD')
+depends=('python>=3.3' 'python-pytest' 'python-matplotlib' 'python-nose')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/p/pytest-mpl/pytest-mpl-${pkgver}.tar.gz")
+md5sums=('c13853b85dbe5c50ba9b7e8f9dc96439')
+
+package() {
+ cd ${srcdir}/pytest-mpl-${pkgver}
+
+ install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+}