summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-06-09 11:41:58 -0700
committerAndy Weidenbaum2015-06-09 11:41:58 -0700
commit7ae9694502991f61486b1114324448668b748fee (patch)
tree527dc3028d4e433174e1cca40501f84e0c0272a2
downloadaur-python2-preview-markup.tar.gz
Initial import
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD38
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8476fdb9ec6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = python2-preview-markup
+ pkgdesc = Live preview Markdown and reStructuredText files as HTML in a web browser
+ pkgver = 0.3
+ pkgrel = 1
+ url = https://github.com/xolox/python-preview-markup
+ arch = any
+ license = MIT
+ makedepends = python2-setuptools
+ depends = python2
+ depends = python2-beautifulsoup4
+ depends = python2-coloredlogs
+ depends = python2-docutils
+ depends = python2-flask
+ depends = python2-humanfriendly
+ depends = python2-misaka
+ depends = python2-pygments
+ provides = preview-markup
+ provides = python2-preview-markup
+ conflicts = preview-markup
+ options = !emptydirs
+ source = https://pypi.python.org/packages/source/p/preview-markup/preview-markup-0.3.tar.gz
+ md5sums = a250a7d2bbf299d51d62d799e63e57e5
+ sha256sums = f5ce90f6407e8b6d0deeea5c8130df6508b3f69ef2157454c0ebf09b624a3c39
+
+pkgname = python2-preview-markup
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0db9d27499f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=python2-preview-markup
+pkgver=0.3
+pkgrel=1
+pkgdesc="Live preview Markdown and reStructuredText files as HTML in a web browser"
+arch=('any')
+depends=('python2'
+ 'python2-beautifulsoup4'
+ 'python2-coloredlogs'
+ 'python2-docutils'
+ 'python2-flask'
+ 'python2-humanfriendly'
+ 'python2-misaka'
+ 'python2-pygments')
+makedepends=('python2-setuptools')
+url="https://github.com/xolox/python-preview-markup"
+license=('MIT')
+options=(!emptydirs)
+source=(https://pypi.python.org/packages/source/p/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz)
+md5sums=('a250a7d2bbf299d51d62d799e63e57e5')
+sha256sums=('f5ce90f6407e8b6d0deeea5c8130df6508b3f69ef2157454c0ebf09b624a3c39')
+provides=('preview-markup' 'python2-preview-markup')
+conflicts=('preview-markup')
+
+build() {
+ cd "$srcdir/${pkgname#python2-}-$pkgver"
+
+ msg2 'Building...'
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/${pkgname#python2-}-$pkgver"
+
+ msg2 'Installing...'
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}