summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Victor2015-07-28 20:24:11 +0700
committerSerge Victor2015-07-28 20:24:11 +0700
commit60ddecb5c5624243d112e9426e0ecaa80f542f5c (patch)
tree8bb3127ea4b6bc916ecc84edc6167b36ec79bf17
downloadaur-60ddecb5c5624243d112e9426e0ecaa80f542f5c.tar.gz
- split package as new in Arch.
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD34
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2ed7a94554e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = python-flask-debugtoolbar
+ pkgdesc = A toolbar overlay for debugging Flask applications
+ pkgver = 0.10.0
+ pkgrel = 1
+ url = http://flask-debugtoolbar.rtfd.org/
+ arch = any
+ license = BSD
+ makedepends = python2-setuptools
+ makedepends = python-setuptools
+ source = https://pypi.python.org/packages/source/F/Flask-DebugToolbar/Flask-DebugToolbar-0.10.0.tar.gz
+ md5sums = df4f79eaeec4045ab48727e619b7fa55
+
+pkgname = python2-flask-debugtoolbar
+ depends = python2-flask
+ depends = python2-visitor
+ depends = python2-dominate
+
+pkgname = python-flask-debugtoolbar
+ depends = python-flask
+ depends = python-visitor
+ depends = python-dominate
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f19e7cfe295
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# First Linux Arch packager: Serge Victor <arch@random.re>
+
+_pipname=Flask-DebugToolbar
+pkgbase=python-flask-debugtoolbar
+pkgname=('python2-flask-debugtoolbar' 'python-flask-debugtoolbar')
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="A toolbar overlay for debugging Flask applications"
+arch=('any')
+url="http://flask-debugtoolbar.rtfd.org/"
+license=('BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+md5sums=('df4f79eaeec4045ab48727e619b7fa55')
+
+
+prepare() {
+ cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-flask-debugtoolbar() {
+depends=('python2-flask' 'python2-visitor' 'python2-dominate')
+
+ cd python2-$_pipname-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python-flask-debugtoolbar() {
+depends=('python-flask' 'python-visitor' 'python-dominate')
+
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+