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

Felix Yan felixonmars at archlinux.org
Sun Dec 25 18:47:32 UTC 2016


    Date: Sunday, December 25, 2016 @ 18:47:31
  Author: felixonmars
Revision: 202268

archrelease: copy trunk to community-staging-any

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

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

Copied: python-setuptools-markdown/repos/community-staging-any/PKGBUILD (from rev 202267, python-setuptools-markdown/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-25 18:47:31 UTC (rev 202268)
@@ -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=2
+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