[arch-commits] Commit in python-setuptools-markdown/repos (2 files)

Felix Yan fyan at archlinux.org
Thu Jan 7 03:08:15 UTC 2016


    Date: Thursday, January 7, 2016 @ 04:08:15
  Author: fyan
Revision: 155619

archrelease: copy trunk to community-any

Added:
  python-setuptools-markdown/repos/community-any/
  python-setuptools-markdown/repos/community-any/PKGBUILD
    (from rev 155618, python-setuptools-markdown/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: python-setuptools-markdown/repos/community-any/PKGBUILD (from rev 155618, python-setuptools-markdown/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-01-07 03:08:15 UTC (rev 155619)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-setuptools-markdown
+pkgname=(python-setuptools-markdown python2-setuptools-markdown)
+pkgver=0.2
+pkgrel=1
+pkgdesc="Use Markdown for your project description"
+arch=('any')
+url="https://github.com/msabramo/setuptools-markdown"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pypandoc' 'python2-pypandoc' 'git')
+source=("git+https://github.com/msabramo/setuptools-markdown.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a setuptools-markdown{,-py2}
+}
+
+build() {
+  cd "${srcdir}/setuptools-markdown"
+  python setup.py build
+
+  cd "${srcdir}/setuptools-markdown-py2"
+  python2 setup.py build
+}
+
+package_python-setuptools-markdown() {
+  depends=('python-setuptools' 'python-pypandoc')
+
+  cd "${srcdir}/setuptools-markdown"
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-setuptools-markdown() {
+  depends=('python2-setuptools' 'python2-pypandoc')
+
+  cd "${srcdir}/setuptools-markdown-py2"
+  python2 setup.py install --root "$pkgdir"
+}



More information about the arch-commits mailing list